source: flair-src/branches/mavlink/tools/Controller/DualShock3/CMakeLists.txt@ 70

Last change on this file since 70 was 39, checked in by Bayard Gildas, 8 years ago

Plop

File size: 643 bytes
Line 
1PROJECT(dualshock3)
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
32SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
Note: See TracBrowser for help on using the repository browser.