Ignore:
Timestamp:
Sep 8, 2016, 3:53:58 PM (8 years ago)
Author:
Thomas Fuhrmann
Message:

Modify CMakeList for new files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mavlink/tools/Controller/Mavlink/CMakeLists.txt

    r46 r73  
    1 PROJECT(mavlink_test)
     1PROJECT(MavPlanner)
    22cmake_minimum_required(VERSION 2.8)
    3 
    4 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
    53
    64include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
     
    1513)
    1614
    17 #~/dev/mavlink/generated_messages/common
    18 
    19 LINK_DIRECTORIES (
    20         ${FLAIR_LIBRARY_DIR}
    21 )
     15FILE(GLOB MAVPLANNER_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
    2216
    2317ADD_EXECUTABLE(${PROJECT_NAME}
    24         src/Mavlink_test.cpp
    25         src/main.cpp
     18        ${MAVPLANNER_SRC}
    2619)
    2720
Note: See TracChangeset for help on using the changeset viewer.