Last change
on this file since 35 was 35, checked in by Bayard Gildas, 8 years ago |
Renommage dualshock3.xml
|
File size:
731 bytes
|
Rev | Line | |
---|
[32] | 1 | PROJECT(DualShock3)
|
---|
[11] | 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 |
|
---|
[35] | 32 | INSTALL(FILES src/dualshock3.xml DESTINATION $ENV{FLAIR_ROOT}/flair-bin/tools/scripts)
|
---|
[32] | 33 |
|
---|
[11] | 34 | SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.