[Orxonox-commit 3884] r8558 - in code/branches/unity_build: cmake/tools src src/external/bullet/BulletCollision src/external/bullet/BulletDynamics src/external/bullet/LinearMath src/external/enet src/external/ogreceguirenderer src/external/ois src/external/ois/linux src/external/ois/mac src/external/ois/win32 src/external/tinyxml src/libraries/core src/libraries/network/packet src/libraries/tools src/libraries/util src/modules/pong src/orxonox src/orxonox/graphics

rgrieder at orxonox.net rgrieder at orxonox.net
Tue May 24 04:15:19 CEST 2011


Author: rgrieder
Date: 2011-05-24 04:15:19 +0200 (Tue, 24 May 2011)
New Revision: 8558

Modified:
   code/branches/unity_build/cmake/tools/SourceFileUtilities.cmake
   code/branches/unity_build/cmake/tools/TargetUtilities.cmake
   code/branches/unity_build/src/CMakeLists.txt
   code/branches/unity_build/src/OrxonoxConfig.cmake
   code/branches/unity_build/src/external/bullet/BulletCollision/CMakeLists.txt
   code/branches/unity_build/src/external/bullet/BulletDynamics/CMakeLists.txt
   code/branches/unity_build/src/external/bullet/LinearMath/CMakeLists.txt
   code/branches/unity_build/src/external/enet/CMakeLists.txt
   code/branches/unity_build/src/external/ogreceguirenderer/CMakeLists.txt
   code/branches/unity_build/src/external/ois/CMakeLists.txt
   code/branches/unity_build/src/external/ois/linux/CMakeLists.txt
   code/branches/unity_build/src/external/ois/mac/CMakeLists.txt
   code/branches/unity_build/src/external/ois/win32/CMakeLists.txt
   code/branches/unity_build/src/external/tinyxml/CMakeLists.txt
   code/branches/unity_build/src/libraries/core/CMakeLists.txt
   code/branches/unity_build/src/libraries/network/packet/CMakeLists.txt
   code/branches/unity_build/src/libraries/tools/CMakeLists.txt
   code/branches/unity_build/src/libraries/util/CMakeLists.txt
   code/branches/unity_build/src/modules/pong/CMakeLists.txt
   code/branches/unity_build/src/orxonox/CMakeLists.txt
   code/branches/unity_build/src/orxonox/graphics/CMakeLists.txt
Log:
Renamed the infamous 'Compilation' to 'BuildUnit' which definitely suits better and avoids much of the general confusion.
There are no actual changes, just the renaming.

Modified: code/branches/unity_build/cmake/tools/SourceFileUtilities.cmake
===================================================================
--- code/branches/unity_build/cmake/tools/SourceFileUtilities.cmake	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/cmake/tools/SourceFileUtilities.cmake	2011-05-24 02:15:19 UTC (rev 8558)
@@ -24,10 +24,10 @@
  #    [ADD/SET]_SOURCE_FILES - Writes source files to the cache by force and
  #                             adds the current directory.
  #                             Also compiles multiple source files into a single
- #                             one by including them
- #                             Use COMPILATION_[BEGIN|END] in
+ #                             translation unit (faster)
+ #                             Use [END_]BUILD_UNIT in
  #                             [ADD|SET]_SOURCE_FILES and specify the name of
- #                             the new source file after COMPILATION_BEGIN
+ #                             the new source file after BUILD_UNIT
  #    GET_ALL_HEADER_FILES   - Finds all header files recursively.
  #    GENERATE_SOURCE_GROUPS - Set Visual Studio source groups.
  #
@@ -35,7 +35,7 @@
 FUNCTION(PREPARE_SOURCE_FILES)
   SET(_source_files)
   FOREACH(_file ${ARGN})
-    IF(_file MATCHES "^(COMPILATION_BEGIN|COMPILATION_END)$")
+    IF(_file MATCHES "^(BUILD_UNIT|END_BUILD_UNIT)$")
       # Append keywords verbatim
       LIST(APPEND _source_files ${_file})
     ELSE()

Modified: code/branches/unity_build/cmake/tools/TargetUtilities.cmake
===================================================================
--- code/branches/unity_build/cmake/tools/TargetUtilities.cmake	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/cmake/tools/TargetUtilities.cmake	2011-05-24 02:15:19 UTC (rev 8558)
@@ -94,38 +94,38 @@
 
   PARSE_MACRO_ARGUMENTS("${_switches}" "${_list_names}" ${ARGN})
 
-  # Process source files with support for compilations
+  # Process source files with support for build units
   # Note: All file paths are relative to the root source directory, even the
-  #       name of the compilation file.
+  #       name of the build unit.
   SET(_${_target_name}_source_files)
-  SET(_get_compilation_file FALSE)
-  SET(_add_to_compilation FALSE)
+  SET(_get_build_unit_file FALSE)
+  SET(_add_to_build_unit FALSE)
   FOREACH(_file ${_arg_SOURCE_FILES})
-    IF(_file STREQUAL "COMPILATION_BEGIN")
-      # Next file is the name of the compilation
-      SET(_get_compilation_file TRUE)
-    ELSEIF(_file STREQUAL "COMPILATION_END")
-      IF(NOT _compilation_file)
-        MESSAGE(FATAL_ERROR "No name provided for source file compilation")
+    IF(_file STREQUAL "BUILD_UNIT")
+      # Next file is the name of the build unit
+      SET(_get_build_unit_file TRUE)
+    ELSEIF(_file STREQUAL "END_BUILD_UNIT")
+      IF(NOT _build_unit_file)
+        MESSAGE(FATAL_ERROR "No name provided for build unit")
       ENDIF()
-      IF(NOT DISABLE_COMPILATIONS)
-        IF(NOT _compilation_include_string)
-          MESSAGE(STATUS "Warning: Empty source file compilation!")
+      IF(NOT DISABLE_BUILD_UNITS)
+        IF(NOT _build_unit_include_string)
+          MESSAGE(STATUS "Warning: Empty build unit!")
         ENDIF()
-        IF(EXISTS ${_compilation_file})
-          FILE(READ ${_compilation_file} _include_string_file)
+        IF(EXISTS ${_build_unit_file})
+          FILE(READ ${_build_unit_file} _include_string_file)
         ENDIF()
-        IF(NOT _compilation_include_string STREQUAL "${_include_string_file}")
-          FILE(WRITE ${_compilation_file} "${_compilation_include_string}")
+        IF(NOT _build_unit_include_string STREQUAL "${_include_string_file}")
+          FILE(WRITE ${_build_unit_file} "${_build_unit_include_string}")
         ENDIF()
-        LIST(APPEND _${_target_name}_source_files ${_compilation_file})
+        LIST(APPEND _${_target_name}_source_files ${_build_unit_file})
       ENDIF()
-      SET(_add_to_compilation FALSE)
-    ELSEIF(_get_compilation_file)
-      SET(_compilation_file ${CMAKE_BINARY_DIR}/${_file})
-      SET(_get_compilation_file FALSE)
-      SET(_add_to_compilation TRUE)
-      SET(_compilation_include_string)
+      SET(_add_to_build_unit FALSE)
+    ELSEIF(_get_build_unit_file)
+      SET(_build_unit_file ${CMAKE_BINARY_DIR}/${_file})
+      SET(_get_build_unit_file FALSE)
+      SET(_add_to_build_unit TRUE)
+      SET(_build_unit_include_string)
     ELSE()
       # Default, add source file
 
@@ -145,10 +145,10 @@
 
       LIST(APPEND _${_target_name}_source_files ${_file})
 
-      # Handle compilations
-      IF(_add_to_compilation AND NOT DISABLE_COMPILATIONS)
+      # Handle build units
+      IF(_add_to_build_unit AND NOT DISABLE_BUILD_UNITS)
         IF(_file MATCHES "\\.(c|cc|cpp|cxx)$")
-          SET(_compilation_include_string "${_compilation_include_string}#include \"${_file}\"\n")
+          SET(_build_unit_include_string "${_build_unit_include_string}#include \"${_file}\"\n")
         ENDIF()
         # Don't compile these files, even if they are source files
         SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES HEADER_FILE_ONLY TRUE)

Modified: code/branches/unity_build/src/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -65,9 +65,9 @@
       REMOVE_LINKER_FLAGS("-INCREMENTAL:YES" Debug)
       ADD_LINKER_FLAGS   ("-INCREMENTAL:NO"  Debug)
     ENDIF()
-    IF(NOT DISABLE_COMPILATIONS)
-      # Compilations seem to generate 'memory leaks' with static variables
-      MESSAGE("Warning: You should disable Compilations when using VLD!")
+    IF(NOT DISABLE_BUILD_UNITS)
+      # Build units seem to generate 'memory leaks' with static variables
+      MESSAGE("Warning: You should disable build units when using VLD!")
     ENDIF()
   ENDIF()
 ENDIF()

Modified: code/branches/unity_build/src/OrxonoxConfig.cmake
===================================================================
--- code/branches/unity_build/src/OrxonoxConfig.cmake	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/OrxonoxConfig.cmake	2011-05-24 02:15:19 UTC (rev 8558)
@@ -34,7 +34,7 @@
 ENDIF()
 
 # Global switch to disable multiple file compilations
-OPTION(DISABLE_COMPILATIONS "Global multi-file compilation switch" FALSE)
+OPTION(DISABLE_BUILD_UNITS "Disables building multiple source files as one." FALSE)
 
 # Use WinMain() or main()?
 IF(WIN32)

Modified: code/branches/unity_build/src/external/bullet/BulletCollision/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/bullet/BulletCollision/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/bullet/BulletCollision/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -1,6 +1,6 @@
 ADD_SOURCE_FILES(BULLET_FILES
 
-COMPILATION_BEGIN BulletCollisionCompilation.cpp
+BUILD_UNIT BulletCollisionBuildUnit.cpp
 
 	BroadphaseCollision/btAxisSweep3.cpp
 	BroadphaseCollision/btBroadphaseProxy.cpp
@@ -87,9 +87,9 @@
 	NarrowPhaseCollision/btSubSimplexConvexCast.cpp
 	NarrowPhaseCollision/btVoronoiSimplexSolver.cpp
 
-COMPILATION_END
+END_BUILD_UNIT
 
-    # Raises compiler errors when compiled inside the compilation
+    # Raises compiler errors when compiled inside the build unit
 	NarrowPhaseCollision/btPolyhedralContactClipping.cpp
 
 	# Headers

Modified: code/branches/unity_build/src/external/bullet/BulletDynamics/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/bullet/BulletDynamics/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/bullet/BulletDynamics/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -1,6 +1,6 @@
 ADD_SOURCE_FILES(BULLET_FILES
 
-COMPILATION_BEGIN BulletDynamicsCompilation.cpp
+BUILD_UNIT BulletDynamicsBuildUnit.cpp
 
 	Character/btKinematicCharacterController.cpp
 
@@ -25,7 +25,7 @@
 	Vehicle/btRaycastVehicle.cpp
 	Vehicle/btWheelInfo.cpp
 
-COMPILATION_END
+END_BUILD_UNIT
 
 	# Headers
 	ConstraintSolver/btConeTwistConstraint.h

Modified: code/branches/unity_build/src/external/bullet/LinearMath/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/bullet/LinearMath/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/bullet/LinearMath/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -1,20 +1,20 @@
 ADD_SOURCE_FILES(BULLET_FILES
 
-COMPILATION_BEGIN BulletLinearMathCompilation.cpp
+BUILD_UNIT BulletLinearMathBuildUnit.cpp
 	btAlignedAllocator.cpp
 	btConvexHull.cpp
-    btConvexHullComputer.cpp
+	btConvexHullComputer.cpp
 	btGeometryUtil.cpp
 	btQuickprof.cpp
 	btSerializer.cpp
-COMPILATION_END
+END_BUILD_UNIT
 
 	# Headers
 	btAabbUtil2.h
 	btAlignedAllocator.h
 	btAlignedObjectArray.h
 	btConvexHull.h
-    btConvexHullComputer.h
+	btConvexHullComputer.h
 	btDefaultMotionState.h
 	btGeometryUtil.h
 	btHashMap.h

Modified: code/branches/unity_build/src/external/enet/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/enet/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/enet/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -28,7 +28,7 @@
     utility.h
     win32.h
 
-COMPILATION_BEGIN ENetCompilation.c
+BUILD_UNIT ENetBuildUnit.c
     callbacks.c
     compress.c
     host.c
@@ -38,7 +38,7 @@
     protocol.c
     unix.c
     win32.c
-COMPILATION_END
+END_BUILD_UNIT
 )
 
 ADD_COMPILER_FLAGS("-DHAS_POLL -DHAS_FCNTL -DHAS_MSGHDR_FLAGS -DHAS_SOCKLEN_T")

Modified: code/branches/unity_build/src/external/ogreceguirenderer/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/ogreceguirenderer/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/ogreceguirenderer/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -22,11 +22,11 @@
   OgreCEGUIResourceProvider.h
   OgreCEGUITexture.h
 
-COMPILATION_BEGIN OgreCEGUIRendererCompilation.cpp
+BUILD_UNIT OgreCEGUIRendererBuildUnit.cpp
   OgreCEGUIRenderer.cpp
   OgreCEGUIResourceProvider.cpp
   OgreCEGUITexture.cpp
-COMPILATION_END
+END_BUILD_UNIT
 )
 
 ORXONOX_ADD_LIBRARY(ogreceguirenderer_orxonox

Modified: code/branches/unity_build/src/external/ois/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/ois/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/ois/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -34,7 +34,7 @@
   OISObject.h
   OISPrereqs.h
 
-#COMPILATION_BEGIN OISCompilation.cpp
+#BUILD_UNIT OISBuildUnit.cpp
   OISEffect.cpp
   OISException.cpp
   OISForceFeedback.cpp
@@ -42,7 +42,7 @@
   OISJoyStick.cpp
   OISKeyboard.cpp
   OISObject.cpp
-#COMPILATION_END
+#END_BUILD_UNIT
 )
 IF(WIN32)
   ADD_SUBDIRECTORY(win32)

Modified: code/branches/unity_build/src/external/ois/linux/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/ois/linux/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/ois/linux/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -7,12 +7,12 @@
   LinuxMouse.h
   LinuxPrereqs.h
 
-COMPILATION_BEGIN OISLinuxCompilation.cpp
+BUILD_UNIT OISLinuxBuildUnit.cpp
   EventHelpers.cpp
   LinuxForceFeedback.cpp
   LinuxInputManager.cpp
   LinuxJoyStickEvents.cpp
   LinuxKeyboard.cpp
   LinuxMouse.cpp
-COMPILATION_END
+END_BUILD_UNIT
 )

Modified: code/branches/unity_build/src/external/ois/mac/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/ois/mac/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/ois/mac/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -7,12 +7,12 @@
   MacMouse.h
   MacPrereqs.h
 
-#COMPILATION_BEGIN OISMacCompilation.cpp
+#BUILD_UNIT OISMacBuildUnit.cpp
   MacHelpers.cpp
   MacHIDManager.cpp
   MacInputManager.cpp
   MacJoyStick.cpp
   MacKeyboard.cpp
   MacMouse.cpp
-#COMPILATION_END
+#END_BUILD_UNIT
 )

Modified: code/branches/unity_build/src/external/ois/win32/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/ois/win32/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/ois/win32/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -6,11 +6,11 @@
   Win32Mouse.h
   Win32Prereqs.h
 
-COMPILATION_BEGIN OISWin32Compilation.cpp
+BUILD_UNIT OISWin32BuildUnit.cpp
   Win32ForceFeedback.cpp
   Win32InputManager.cpp
   Win32JoyStick.cpp
   Win32KeyBoard.cpp
   Win32Mouse.cpp
-COMPILATION_END
+END_BUILD_UNIT
 )

Modified: code/branches/unity_build/src/external/tinyxml/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/external/tinyxml/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/external/tinyxml/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -23,13 +23,13 @@
   tinystr.h
   tinyxml.h
 
-COMPILATION_BEGIN TicppCompilation.cpp
+BUILD_UNIT TicppBuildUnit.cpp
   ticpp.cpp
   tinystr.cpp
   tinyxml.cpp
   tinyxmlerror.cpp
   tinyxmlparser.cpp
-COMPILATION_END
+END_BUILD_UNIT
 )
 
 ORXONOX_ADD_LIBRARY(tinyxml_orxonox

Modified: code/branches/unity_build/src/libraries/core/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/libraries/core/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/libraries/core/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -48,24 +48,24 @@
   Template.cc
   XMLPort.cc
 
-COMPILATION_BEGIN ListenerCompilation.cc
+BUILD_UNIT ListenerBuildUnit.cc
   ViewportEventListener.cc
   WindowEventListener.cc
   XMLNameListener.cc
-COMPILATION_END
+END_BUILD_UNIT
 
-COMPILATION_BEGIN FilesystemCompilation.cc
+BUILD_UNIT FilesystemBuildUnit.cc
   command/ArgumentCompletionFunctions.cc
   ConfigFileManager.cc
   PathConfig.cc
-COMPILATION_END
+END_BUILD_UNIT
 
   # multithreading
   ThreadPool.cc
-COMPILATION_BEGIN ThreadCompilation.cc
+BUILD_UNIT ThreadBuildUnit.cc
   command/TclThreadManager.cc
   Thread.cc
-COMPILATION_END
+END_BUILD_UNIT
 )
 
 ADD_SUBDIRECTORY(command)

Modified: code/branches/unity_build/src/libraries/network/packet/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/libraries/network/packet/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/libraries/network/packet/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -1,5 +1,6 @@
 ADD_SOURCE_FILES(NETWORK_SRC_FILES
-COMPILATION_BEGIN PacketCompilation.cc
+
+BUILD_UNIT PacketBuildUnit.cc
   Acknowledgement.cc
   Chat.cc
   ClassID.cc
@@ -9,7 +10,8 @@
   Gamestate.cc
   Packet.cc
   Welcome.cc
-COMPILATION_END
+END_BUILD_UNIT
+
   ServerInformation.cc
 )
 

Modified: code/branches/unity_build/src/libraries/tools/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/libraries/tools/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/libraries/tools/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -1,19 +1,23 @@
 SET_SOURCE_FILES(TOOLS_SRC_FILES
-COMPILATION_BEGIN ResourceCompilation.cc
+
+BUILD_UNIT ResourceBuildUnit.cc
   ResourceCollection.cc
   ResourceLocation.cc
-COMPILATION_END
+END_BUILD_UNIT
+
   TextureGenerator.cc
   Timer.cc
-COMPILATION_BEGIN OgreCompilation.cc
+
+BUILD_UNIT OgreBuildUnit.cc
   BillboardSet.cc
   DynamicLines.cc
   DynamicRenderable.cc
   Mesh.cc
   ParticleInterface.cc
   Shader.cc
-COMPILATION_END
+END_BUILD_UNIT
 )
+
 #ADD_SUBDIRECTORY(bsp)
 ADD_SUBDIRECTORY(interfaces)
 

Modified: code/branches/unity_build/src/libraries/util/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/libraries/util/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/libraries/util/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -18,7 +18,8 @@
  #
 
 SET_SOURCE_FILES(UTIL_SRC_FILES
-COMPILATION_BEGIN StableCompilation.cc
+
+BUILD_UNIT StableBuildUnit.cc
   Clipboard.cc
   Clock.cc
   Convert.cc
@@ -31,7 +32,7 @@
   Sleep.cc
   SmallObjectAllocator.cc
   SubString.cc
-COMPILATION_END
+END_BUILD_UNIT
 
   MultiType.cc
   Exception.cc

Modified: code/branches/unity_build/src/modules/pong/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/modules/pong/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/modules/pong/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -1,5 +1,5 @@
 SET_SOURCE_FILES(PONG_SRC_FILES
-COMPILATION_BEGIN PongCompilation.cc
+BUILD_UNIT PongBuildUnit.cc
   Pong.cc
   PongAI.cc
   PongBall.cc
@@ -7,7 +7,7 @@
   PongBot.cc
   PongCenterpoint.cc
   PongScore.cc
-COMPILATION_END
+END_BUILD_UNIT
 )
 
 ORXONOX_ADD_LIBRARY(pong

Modified: code/branches/unity_build/src/orxonox/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/orxonox/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/orxonox/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -34,10 +34,11 @@
   ChatHistory.cc
   ChatInputHandler.cc
 #  Test.cc
-COMPILATION_BEGIN SceneCompilation.cc
+
+BUILD_UNIT SceneBuildUnit.cc
   CameraManager.cc
   Scene.cc
-COMPILATION_END
+END_BUILD_UNIT
 )
 
 ADD_SUBDIRECTORY(collisionshapes)

Modified: code/branches/unity_build/src/orxonox/graphics/CMakeLists.txt
===================================================================
--- code/branches/unity_build/src/orxonox/graphics/CMakeLists.txt	2011-05-23 22:28:31 UTC (rev 8557)
+++ code/branches/unity_build/src/orxonox/graphics/CMakeLists.txt	2011-05-24 02:15:19 UTC (rev 8558)
@@ -8,9 +8,10 @@
   AnimatedModel.cc
   ParticleEmitter.cc
   ParticleSpawner.cc
-COMPILATION_BEGIN GraphicsCompilation.cc
+
+BUILD_UNIT GraphicsBuildUnit.cc
   Backlight.cc
   Camera.cc
   Light.cc
-COMPILATION_END
+END_BUILD_UNIT
 )




More information about the Orxonox-commit mailing list