source: flair-src/trunk/tools/Controller/DualShock3/CMakeLists.txt @ 35

Last change on this file since 35 was 35, checked in by Bayard Gildas, 5 years ago

Renommage dualshock3.xml

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