Changeset 297 in flair-src for trunk/lib/FlairSimulator


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/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()
Note: See TracChangeset for help on using the changeset viewer.