source: flair-src/branches/mavlink/tools/Controller/Mavlink/CMakeLists.txt@ 88

Last change on this file since 88 was 73, checked in by Thomas Fuhrmann, 8 years ago

Modify CMakeList for new files

File size: 659 bytes
Line 
1PROJECT(MavPlanner)
2cmake_minimum_required(VERSION 2.8)
3
4include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
5include(${FLAIR_USE_FILE})
6
7ADD_DEFINITIONS(-fpermissive)
8
9INCLUDE_DIRECTORIES(
10 ${FLAIR_INCLUDE_DIR}
11 ${CMAKE_SOURCE_DIR}/src
12 ${CMAKE_SOURCE_DIR}/src/mavlink_generated_messages/common
13)
14
15FILE(GLOB MAVPLANNER_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
16
17ADD_EXECUTABLE(${PROJECT_NAME}
18 ${MAVPLANNER_SRC}
19)
20
21TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${FLAIR_LIBRARIES_NRT})
22
23INSTALL(
24 TARGETS ${PROJECT_NAME}
25 RUNTIME DESTINATION $ENV{FLAIR_ROOT}/flair-bin/tools/${ARCH_DIR}
26)
27
28SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
Note: See TracBrowser for help on using the repository browser.