Changeset 3116 for code/branches/pch/src/util
- Timestamp:
- Jun 3, 2009, 8:28:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/util/CMakeLists.txt
r3089 r3116 52 52 SubString.cc 53 53 ) 54 #GET_ALL_HEADER_FILES(UTIL_HDR_FILES)55 #SET(UTIL_FILES ${UTIL_SRC_FILES} ${UTIL_HDR_FILES})56 GENERATE_SOURCE_GROUPS(${UTIL_FILES})57 # Also add OrxonoxConfig to have it least somewhere in the IDE58 LIST(APPEND UTIL_FILES59 ${CMAKE_BINARY_DIR}/src/OrxonoxConfig.h60 ${CMAKE_SOURCE_DIR}/src/OrxonoxConfig.h.in61 ${CMAKE_BINARY_DIR}/src/SpecialConfig.h62 ${CMAKE_SOURCE_DIR}/src/SpecialConfig.h.in63 )64 SOURCE_GROUP("" FILES65 ${CMAKE_BINARY_DIR}/src/OrxonoxConfig.h66 ${CMAKE_SOURCE_DIR}/src/OrxonoxConfig.h.in67 ${CMAKE_BINARY_DIR}/src/SpecialConfig.h68 ${CMAKE_SOURCE_DIR}/src/SpecialConfig.h.in69 )70 54 71 55 IF(GCC_NO_SYSTEM_HEADER_SUPPORT) … … 74 58 ENDIF() 75 59 76 ADD_LIBRARY(util SHARED ${UTIL_FILES}) 77 SET_TARGET_PROPERTIES(util PROPERTIES DEFINE_SYMBOL "UTIL_SHARED_BUILD") 78 TARGET_LINK_LIBRARIES(util ${OGRE_LIBRARY}) 79 80 ORXONOX_INSTALL(util) 60 ORXONOX_ADD_LIBRARY(util 61 #FIND_HEADER_FILES 62 DEFINE_SYMBOL 63 "UTIL_SHARED_BUILD" 64 LINK_LIBRARIES 65 ${OGRE_LIBRARY} 66 SOURCE_FILES 67 ${UTIL_FILES} 68 )
Note: See TracChangeset
for help on using the changeset viewer.