Changeset 2640 for code/branches/buildsystem2
- Timestamp:
- Feb 8, 2009, 10:02:58 PM (16 years ago)
- Location:
- code/branches/buildsystem2
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/CMakeLists.txt
r2633 r2640 23 23 24 24 SET(ORXONOX_VERSION_MAJOR 0) 25 SET(ORXONOX_VERSION_MINOR 1) 26 SET(ORXONOX_VERSION_PATCH 0) 27 SET(ORXONOX_VERSION 0.1.0) 25 SET(ORXONOX_VERSION_MINOR 0) 26 SET(ORXONOX_VERSION_PATCH 3) 27 SET(ORXONOX_VERSION 0.0.3) 28 SET(ORXONOX_VERSION_NAME "Castor") 28 29 29 30 # Keep devs from using the root directory as binary directory (messes up the source tree) -
code/branches/buildsystem2/cmake/BuildConfigGCC.cmake
r2638 r2640 36 36 INCLUDE(CompareVersionStrings) 37 37 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.0.0" _compare_result) 38 IF( NOT_compare_result LESS 0)39 SET(GCC_ SYSTEM_HEADER_SUPPORT TRUE)38 IF(_compare_result LESS 0) 39 SET(GCC_NO_SYSTEM_HEADER_SUPPORT) 40 40 ENDIF() 41 41 -
code/branches/buildsystem2/cmake/GenerateToluaBindings.cmake
r2626 r2640 38 38 39 39 SET(_tolua_pkgfile "${CMAKE_CURRENT_BINARY_DIR}/tolua.pkg") 40 SET(_tolua_cxxfile "${CMAKE_CURRENT_BINARY_DIR}/ ToluaBind${_tolua_package}.cc")41 SET(_tolua_hfile "${CMAKE_CURRENT_BINARY_DIR}/ ToluaBind${_tolua_package}.h")40 SET(_tolua_cxxfile "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/ToluaBind${_tolua_package}.cc") 41 SET(_tolua_hfile "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/ToluaBind${_tolua_package}.h") 42 42 43 43 SET(${_target_source_files} -
code/branches/buildsystem2/src/CMakeLists.txt
r2639 r2640 93 93 ${ZLIB_INCLUDE_DIR} 94 94 95 # Internal 96 . 97 orxonox 98 # Required for tolua bind and config files that are in the binary folder 95 # All library includes are prefixed with the path to avoid conflicts 96 ${CMAKE_CURRENT_SOURCE_DIR} 97 # Convenience directory 98 ${CMAKE_CURRENT_SOURCE_DIR}/orxonox 99 # OrxonoxConfig.h 99 100 ${CMAKE_CURRENT_BINARY_DIR} 100 ${CMAKE_CURRENT_BINARY_DIR}/orxonox 101 # Tolua bind files for Core 102 ${CMAKE_CURRENT_BINARY_DIR}/core/${CMAKE_CFG_INTDIR} 103 # Tolua bind files for Orxonox 104 ${CMAKE_CURRENT_BINARY_DIR}/orxonox/${CMAKE_CFG_INTDIR} 101 105 ) 102 106 -
code/branches/buildsystem2/src/ceguilua/CMakeLists.txt
r2634 r2640 50 50 # Create the tolua bind file. We could use the orignal file though, but it is 1.6MB... 51 51 ADD_CUSTOM_COMMAND( 52 OUTPUT ${CEGUILUA_BINARY_DIR}/ lua_CEGUI.cpp52 OUTPUT ${CEGUILUA_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lua_CEGUI.cpp 53 53 COMMAND tolua++app_orxonox -n CEGUI 54 54 -w ${CEGUILUA_BINARY_DIR} 55 -o lua_CEGUI.cpp55 -o ${CMAKE_CFG_INTDIR}/lua_CEGUI.cpp 56 56 -L exceptions.lua 57 57 -s ${TOLUA_PARSER_SOURCE} -
code/branches/buildsystem2/src/core/CMakeLists.txt
r2638 r2640 68 68 GENERATE_TOLUA_BINDINGS(Core CORE_FILES INPUTFILES LuaBind.h CommandExecutor.h) 69 69 70 IF( NOT GCC_SYSTEM_HEADER_SUPPORT)70 IF(GCC_NO_SYSTEM_HEADER_SUPPORT) 71 71 # Get around displaying a few hundred lines of warning code 72 72 SET_SOURCE_FILES_PROPERTIES(ArgumentCompletionFunctions.cc PROPERTIES COMPILE_FLAGS "-w") -
code/branches/buildsystem2/src/orxonox/CMakeLists.txt
r2638 r2640 40 40 INCLUDE_DIRECTORIES(pch/nopch) 41 41 42 IF( NOT GCC_SYSTEM_HEADER_SUPPORT)42 IF(GCC_NO_SYSTEM_HEADER_SUPPORT) 43 43 # Get around displaying a few hundred lines of warning code 44 44 SET_SOURCE_FILES_PROPERTIES(gamestates/GSGraphics.cc PROPERTIES COMPILE_FLAGS "-w") -
code/branches/buildsystem2/src/util/CMakeLists.txt
r2639 r2640 63 63 ) 64 64 65 IF( NOT GCC_SYSTEM_HEADER_SUPPORT)65 IF(GCC_NO_SYSTEM_HEADER_SUPPORT) 66 66 # Get around displaying a few hundred lines of warning code 67 67 SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w")
Note: See TracChangeset
for help on using the changeset viewer.