Changeset 8650
- Timestamp:
- May 28, 2011, 9:57:45 PM (13 years ago)
- Location:
- code/branches/unity_build
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/cmake/tools/GenerateToluaBindings.cmake
r8363 r8650 58 58 ) 59 59 60 # Disable annoying GCC warnings61 60 IF(CMAKE_COMPILER_IS_GNU) 61 # Disable annoying GCC warnings 62 62 SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES COMPILE_FLAGS "-w") 63 ENDIF() 64 65 IF(MSVC) 66 # Including the file in a build unit is impossible because CMAKE_CFG_INTDIR 67 # exands to an expression that the compiler doesn't understand 68 SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES EXCLUDE_FROM_BUILD_UNITS TRUE) 63 69 ENDIF() 64 70 -
code/branches/unity_build/cmake/tools/TargetUtilities.cmake
r8649 r8650 182 182 LIST(REMOVE_DUPLICATES _${_target_name}_files) 183 183 184 # Mark files to be excluded from build units185 IF(_arg_EXCLUDE_FROM_BUILD_UNITS)186 SET_SOURCE_FILES_PROPERTIES(${_arg_EXCLUDE_FROM_BUILD_UNITS}187 PROPERTIES EXCLUDE_FROM_BUILD_UNITS TRUE)188 ENDIF()189 190 # Full build units191 IF(NOT _arg_ORXONOX_EXTERNAL AND ENABLE_BUILD_UNITS MATCHES "full")192 GENERATE_BUILD_UNITS(${_target_name} _${_target_name}_files)193 ENDIF()194 195 184 # TOLUA_FILES 196 185 IF(_arg_TOLUA_FILES) … … 204 193 ENDFOREACH(_dir) 205 194 ENDIF() 195 ENDIF() 196 197 # Mark files to be excluded from build units 198 IF(_arg_EXCLUDE_FROM_BUILD_UNITS) 199 SET_SOURCE_FILES_PROPERTIES(${_arg_EXCLUDE_FROM_BUILD_UNITS} 200 PROPERTIES EXCLUDE_FROM_BUILD_UNITS TRUE) 201 ENDIF() 202 203 # Full build units 204 IF(NOT _arg_ORXONOX_EXTERNAL AND ENABLE_BUILD_UNITS MATCHES "full") 205 GENERATE_BUILD_UNITS(${_target_name} _${_target_name}_files) 206 206 ENDIF() 207 207 -
code/branches/unity_build/src/libraries/core/CMakeLists.txt
r8558 r8650 19 19 20 20 SET_SOURCE_FILES(CORE_SRC_FILES 21 22 #BUILD_UNIT CoreStableBuildUnit.cc 23 ClassTreeMask.cc 21 24 CommandLineParser.cc 22 25 ConfigValueContainer.cc 23 Core.cc24 26 DynLib.cc 25 27 DynLibManager.cc … … 28 30 GameMode.cc 29 31 GameState.cc 30 GraphicsManager.cc 31 GUIManager.cc 32 Identifier.cc 32 33 Language.cc 34 Loader.cc 33 35 LuaState.cc 36 MetaObjectList.cc 37 Namespace.cc 38 NamespaceNode.cc 34 39 ObjectListBase.cc 35 40 OrxonoxClass.cc 36 Resource.cc37 38 # hierarchy39 Identifier.cc40 MetaObjectList.cc41 42 # level43 BaseObject.cc44 ClassTreeMask.cc45 Loader.cc46 Namespace.cc47 NamespaceNode.cc48 41 Template.cc 49 XMLPort.cc50 51 BUILD_UNIT ListenerBuildUnit.cc52 42 ViewportEventListener.cc 53 43 WindowEventListener.cc 54 44 XMLNameListener.cc 45 XMLPort.cc 46 #END_BUILD_UNIT 47 48 BaseObject.cc 49 Core.cc 50 51 BUILD_UNIT OgreBuildUnit.cc 52 GraphicsManager.cc 53 GUIManager.cc 54 Resource.cc 55 55 END_BUILD_UNIT 56 56 … … 61 61 END_BUILD_UNIT 62 62 63 # multithreading64 ThreadPool.cc65 63 BUILD_UNIT ThreadBuildUnit.cc 66 64 command/TclThreadManager.cc 67 65 Thread.cc 66 ThreadPool.cc 68 67 END_BUILD_UNIT 69 68 )
Note: See TracChangeset
for help on using the changeset viewer.