Line | |
---|
1 | PROJECT(dualshock3)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 |
|
---|
4 | SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
|
---|
5 |
|
---|
6 | include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
7 | include(${FLAIR_USE_FILE})
|
---|
8 |
|
---|
9 | ADD_DEFINITIONS(-fpermissive)
|
---|
10 |
|
---|
11 | INCLUDE_DIRECTORIES(
|
---|
12 | ${FLAIR_INCLUDE_DIR}
|
---|
13 | ${CMAKE_SOURCE_DIR}/src
|
---|
14 | )
|
---|
15 |
|
---|
16 | LINK_DIRECTORIES (
|
---|
17 | ${FLAIR_LIBRARY_DIR}
|
---|
18 | )
|
---|
19 |
|
---|
20 | ADD_EXECUTABLE(${PROJECT_NAME}
|
---|
21 | src/DualShock3.cpp
|
---|
22 | src/main.cpp
|
---|
23 | )
|
---|
24 |
|
---|
25 | TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${FLAIR_LIBRARIES_NRT} bluetooth usb)
|
---|
26 |
|
---|
27 | INSTALL(
|
---|
28 | TARGETS ${PROJECT_NAME}
|
---|
29 | RUNTIME DESTINATION $ENV{FLAIR_ROOT}/flair-bin/tools/${ARCH_DIR}
|
---|
30 | )
|
---|
31 |
|
---|
32 | SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.