Changeset 297 in flair-src for trunk/lib/FlairSimulator
- Timestamp:
- Jan 28, 2019, 5:22:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/CMakeLists.txt
r273 r297 31 31 FILE(GLOB SIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp") 32 32 33 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)34 35 33 add_custom_target( 36 compile_info34 ${PROJECT_NAME}_compile_info 37 35 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 38 36 ) 39 37 40 38 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/no_gl) 41 add_dependencies(FlairSimulator_nogl compile_info)39 add_dependencies(FlairSimulator_nogl ${PROJECT_NAME}_compile_info) 42 40 if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64") 43 41 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl) 44 add_dependencies(FlairSimulator_gl compile_info)42 add_dependencies(FlairSimulator_gl ${PROJECT_NAME}_compile_info) 45 43 endif()
Note:
See TracChangeset
for help on using the changeset viewer.