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

going to out of source build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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)
Note: See TracChangeset for help on using the changeset viewer.