- Timestamp:
- Jan 28, 2019, 5:22:21 PM (6 years ago)
- Location:
- trunk/lib
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/CMakeLists.txt
r273 r297 28 28 ) 29 29 30 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)31 32 30 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/nrt) 33 31 if(NOT WIN32) … … 36 34 37 35 add_custom_target( 38 compile_info36 ${PROJECT_NAME}_compile_info 39 37 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 40 38 ) 41 39 42 add_dependencies(FlairCore_rt compile_info)43 add_dependencies(FlairCore_nrt compile_info)40 add_dependencies(FlairCore_rt ${PROJECT_NAME}_compile_info) 41 add_dependencies(FlairCore_nrt ${PROJECT_NAME}_compile_info) -
trunk/lib/FlairFilter/CMakeLists.txt
r273 r297 43 43 INSTALL(FILES ${HEADER_FILES} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/${PROJECT_NAME}) 44 44 45 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)46 47 45 add_custom_target( 48 compile_info46 ${PROJECT_NAME}_compile_info 49 47 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 50 48 ) 51 49 52 add_dependencies(${PROJECT_NAME} compile_info)50 add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info) -
trunk/lib/FlairMeta/CMakeLists.txt
r273 r297 43 43 INSTALL(FILES ${HEADER_FILES} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/${PROJECT_NAME}) 44 44 45 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)46 47 45 add_custom_target( 48 compile_info46 ${PROJECT_NAME}_compile_info 49 47 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 50 48 ) 51 49 52 add_dependencies(${PROJECT_NAME} compile_info)50 add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info) -
trunk/lib/FlairSensorActuator/CMakeLists.txt
r273 r297 30 30 FILE(GLOB SENSOR_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp") 31 31 32 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)33 34 32 ADD_LIBRARY(${PROJECT_NAME} 35 33 ${SENSOR_SRC} … … 45 43 46 44 add_custom_target( 47 compile_info45 ${PROJECT_NAME}_compile_info 48 46 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 49 47 ) 50 48 51 add_dependencies(${PROJECT_NAME} compile_info)49 add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info) -
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() -
trunk/lib/FlairVisionFilter/CMakeLists.txt
r273 r297 31 31 FILE(GLOB SRC_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp") 32 32 33 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)34 35 33 ADD_LIBRARY(${PROJECT_NAME} 36 34 ${SRC_SRC} … … 46 44 47 45 add_custom_target( 48 compile_info46 ${PROJECT_NAME}_compile_info 49 47 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 50 48 ) 51 49 52 add_dependencies(${PROJECT_NAME} compile_info)50 add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info) 53 51 54 52 else()
Note:
See TracChangeset
for help on using the changeset viewer.