Changeset 297 in flair-src for trunk/lib/FlairCore/CMakeLists.txt


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

going to out of source build

File:
1 edited

Legend:

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