source: flair-src/trunk/demos/Skeletons/CustomReferenceAngles/CMakeLists.txt@ 122

Last change on this file since 122 was 122, checked in by Sanahuja Guillaume, 5 years ago

modifs uav vrpn i686

File size: 759 bytes
Line 
1PROJECT(CustomReferenceAngles)
2cmake_minimum_required(VERSION 2.8)
3
4SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
5SET(FLAIR_USE_FILTER TRUE)
6SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
7SET(FLAIR_USE_META TRUE)
8
9include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
10include(${FLAIR_USE_FILE})
11
12SET(SRC_FILES
13 ${CMAKE_SOURCE_DIR}/src/main.cpp
14 ${CMAKE_SOURCE_DIR}/src/MyApp.cpp
15)
16
17INCLUDE_DIRECTORIES(
18 ${FLAIR_INCLUDE_DIR}
19)
20
21#real time executable
22ADD_EXECUTABLE(${PROJECT_NAME}_rt
23 ${SRC_FILES}
24)
25
26TARGET_LINK_LIBRARIES(${PROJECT_NAME}_rt ${FLAIR_LIBRARIES_RT})
27
28#non real time executable
29ADD_EXECUTABLE(${PROJECT_NAME}_nrt
30 ${SRC_FILES}
31)
32
33TARGET_LINK_LIBRARIES(${PROJECT_NAME}_nrt ${FLAIR_LIBRARIES_NRT})
Note: See TracBrowser for help on using the repository browser.