Changeset 297 in flair-src for trunk


Ignore:
Timestamp:
Jan 28, 2019, 5:22:21 PM (6 years ago)
Author:
Sanahuja Guillaume
Message:

going to out of source build

Location:
trunk
Files:
4 added
2 deleted
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/CircleFollower/simulator/CMakeLists.txt

    r42 r297  
    1010
    1111SET(SRC_FILES
    12         ${CMAKE_SOURCE_DIR}/src/main.cpp
     12        ./src/main.cpp
    1313)
    1414
  • trunk/demos/CircleFollower/uav/CMakeLists.txt

    r123 r297  
    1313
    1414SET(SRC_FILES
    15         ${CMAKE_SOURCE_DIR}/src/main.cpp
    16         ${CMAKE_SOURCE_DIR}/src/CircleFollower.cpp
     15        src/main.cpp
     16        src/CircleFollower.cpp
    1717)
    1818
  • trunk/demos/Gps/simulator/CMakeLists.txt

    r185 r297  
    1010
    1111SET(SRC_FILES
    12         ${CMAKE_SOURCE_DIR}/src/main.cpp
     12        src/main.cpp
    1313)
    1414
  • trunk/demos/Gps/uav/CMakeLists.txt

    r185 r297  
    1212
    1313SET(SRC_FILES
    14         ${CMAKE_SOURCE_DIR}/src/main.cpp
    15         ${CMAKE_SOURCE_DIR}/src/DemoGps.cpp
     14        src/main.cpp
     15        src/DemoGps.cpp
    1616)
    1717
  • trunk/demos/MixedReality/real/simulator/CMakeLists.txt

    r293 r297  
    1212
    1313SET(SRC_FILES
    14         ${CMAKE_SOURCE_DIR}/src/main.cpp
     14        src/main.cpp
    1515)
    1616
  • trunk/demos/MixedReality/real/uav/CMakeLists.txt

    r292 r297  
    1313
    1414SET(SRC_FILES
    15         ${CMAKE_SOURCE_DIR}/src/main.cpp
    16         ${CMAKE_SOURCE_DIR}/src/CircleFollower.cpp
     15        src/main.cpp
     16        src/CircleFollower.cpp
    1717)
    1818
  • trunk/demos/MixedReality/virtual/simulator/CMakeLists.txt

    r293 r297  
    1313
    1414SET(SRC_FILES
    15         ${CMAKE_SOURCE_DIR}/src/main.cpp
     15        src/main.cpp
    1616)
    1717
  • trunk/demos/MixedReality/virtual/uav/CMakeLists.txt

    r293 r297  
    1313
    1414SET(SRC_FILES
    15         ${CMAKE_SOURCE_DIR}/src/main.cpp
    16         ${CMAKE_SOURCE_DIR}/src/App.cpp
     15        src/main.cpp
     16        src/App.cpp
    1717)
    1818
  • trunk/demos/OpticalFlow/simulator/CMakeLists.txt

    r224 r297  
    1111
    1212SET(SRC_FILES
    13         ${CMAKE_SOURCE_DIR}/src/main.cpp
     13        src/main.cpp
    1414)
    1515
  • trunk/demos/OpticalFlow/uav/CMakeLists.txt

    r224 r297  
    1414
    1515SET(SRC_FILES
    16         ${CMAKE_SOURCE_DIR}/src/main.cpp
    17         ${CMAKE_SOURCE_DIR}/src/DemoOpticalFlow.cpp
     16        src/main.cpp
     17        src/DemoOpticalFlow.cpp
    1818)
    1919
  • trunk/demos/PidStandalone/simulator/CMakeLists.txt

    r105 r297  
    1010
    1111SET(SRC_FILES
    12         ${CMAKE_SOURCE_DIR}/src/main.cpp
     12        src/main.cpp
    1313)
    1414
  • trunk/demos/PidStandalone/uav/CMakeLists.txt

    r236 r297  
    1212
    1313SET(SRC_FILES
    14         ${CMAKE_SOURCE_DIR}/src/main.cpp
    15         ${CMAKE_SOURCE_DIR}/src/PidUav.cpp
     14        src/main.cpp
     15        src/PidUav.cpp
    1616)
    1717
  • trunk/demos/SimpleFleet/simulator/CMakeLists.txt

    r42 r297  
    1010
    1111SET(SRC_FILES
    12         ${CMAKE_SOURCE_DIR}/src/main.cpp
     12        src/main.cpp
    1313)
    1414
  • trunk/demos/SimpleFleet/uav/CMakeLists.txt

    r123 r297  
    1313
    1414SET(SRC_FILES
    15         ${CMAKE_SOURCE_DIR}/src/main.cpp
    16         ${CMAKE_SOURCE_DIR}/src/SimpleFleet.cpp
     15        src/main.cpp
     16        src/SimpleFleet.cpp
    1717)
    1818
  • trunk/demos/Sinus/CMakeLists.txt

    r14 r297  
    99
    1010SET(SRC_FILES
    11         ${CMAKE_SOURCE_DIR}/src/main.cpp
    12         ${CMAKE_SOURCE_DIR}/src/Loop.cpp
    13         ${CMAKE_SOURCE_DIR}/src/Sinus.cpp
    14         ${CMAKE_SOURCE_DIR}/src/MeanFilter.cpp
     11        src/main.cpp
     12        src/Loop.cpp
     13        src/Sinus.cpp
     14        src/MeanFilter.cpp
    1515)
    1616
  • trunk/demos/Skeletons/CustomReferenceAngles/CMakeLists.txt

    r123 r297  
    1212
    1313SET(SRC_FILES
    14         ${CMAKE_SOURCE_DIR}/src/main.cpp
    15         ${CMAKE_SOURCE_DIR}/src/MyApp.cpp
     14        src/main.cpp
     15        src/MyApp.cpp
    1616)
    1717
  • trunk/demos/Skeletons/CustomTorques/CMakeLists.txt

    r123 r297  
    1212
    1313SET(SRC_FILES
    14         ${CMAKE_SOURCE_DIR}/src/main.cpp
    15         ${CMAKE_SOURCE_DIR}/src/MyApp.cpp
     14        src/main.cpp
     15        src/MyApp.cpp
    1616)
    1717
  • trunk/lib/FlairCore/CMakeLists.txt

    r273 r297  
    2828)
    2929
    30 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    31 
    3230add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/nrt)
    3331if(NOT WIN32)
     
    3634
    3735add_custom_target(
    38         compile_info
     36        ${PROJECT_NAME}_compile_info
    3937        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    4038)
    4139
    42 add_dependencies(FlairCore_rt compile_info)
    43 add_dependencies(FlairCore_nrt compile_info)
     40add_dependencies(FlairCore_rt ${PROJECT_NAME}_compile_info)
     41add_dependencies(FlairCore_nrt ${PROJECT_NAME}_compile_info)
  • trunk/lib/FlairFilter/CMakeLists.txt

    r273 r297  
    4343INSTALL(FILES ${HEADER_FILES} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/${PROJECT_NAME})
    4444
    45 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    46 
    4745add_custom_target(
    48         compile_info
     46        ${PROJECT_NAME}_compile_info
    4947        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    5048)
    5149
    52 add_dependencies(${PROJECT_NAME} compile_info)
     50add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
  • trunk/lib/FlairMeta/CMakeLists.txt

    r273 r297  
    4343INSTALL(FILES ${HEADER_FILES} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/${PROJECT_NAME})
    4444
    45 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    46 
    4745add_custom_target(
    48         compile_info
     46        ${PROJECT_NAME}_compile_info
    4947        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    5048)
    5149
    52 add_dependencies(${PROJECT_NAME} compile_info)
     50add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
  • trunk/lib/FlairSensorActuator/CMakeLists.txt

    r273 r297  
    3030FILE(GLOB SENSOR_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
    3131
    32 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    33 
    3432ADD_LIBRARY(${PROJECT_NAME}
    3533        ${SENSOR_SRC}
     
    4543
    4644add_custom_target(
    47         compile_info
     45        ${PROJECT_NAME}_compile_info
    4846        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    4947)
    5048
    51 add_dependencies(${PROJECT_NAME} compile_info)
     49add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
  • trunk/lib/FlairSimulator/CMakeLists.txt

    r273 r297  
    3131FILE(GLOB SIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
    3232
    33 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    34 
    3533add_custom_target(
    36         compile_info
     34        ${PROJECT_NAME}_compile_info
    3735        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    3836)
    3937
    4038add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/no_gl)
    41 add_dependencies(FlairSimulator_nogl compile_info)
     39add_dependencies(FlairSimulator_nogl ${PROJECT_NAME}_compile_info)
    4240if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
    4341add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl)
    44 add_dependencies(FlairSimulator_gl compile_info)
     42add_dependencies(FlairSimulator_gl ${PROJECT_NAME}_compile_info)
    4543endif()
  • trunk/lib/FlairVisionFilter/CMakeLists.txt

    r273 r297  
    3131FILE(GLOB SRC_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
    3232
    33 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    34 
    3533ADD_LIBRARY(${PROJECT_NAME}
    3634        ${SRC_SRC}
     
    4644
    4745add_custom_target(
    48         compile_info
     46        ${PROJECT_NAME}_compile_info
    4947        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    5048)
    5149
    52 add_dependencies(${PROJECT_NAME} compile_info)
     50add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
    5351
    5452else()
  • trunk/tools/FlairGCS/CMakeLists.txt

    r221 r297  
    5858include_directories(
    5959        ${CMAKE_SOURCE_DIR}/src
    60         ${CMAKE_SOURCE_DIR}/../../lib/FlairCore/src/unexported
     60        ${CMAKE_CURRENT_SOURCE_DIR}/../../lib/FlairCore/src/unexported
    6161        ${QT_INCLUDE_DIR}
    6262        ${CMAKE_SYSROOT}/usr/include/udt
     
    8080
    8181add_custom_target(
    82         compile_info
     82        ${PROJECT_NAME}_compile_info
    8383        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    8484)
    8585
    86 add_dependencies(${PROJECT_NAME} compile_info)
    87 
     86add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
    8887
    8988SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
Note: See TracChangeset for help on using the changeset viewer.