[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47499] branches/soc-2012-swiss_cheese/ source/gameengine/Ketsji/CMakeLists.txt: KX_ConvertPhysicsObjects. cpp does not contain any exported symbols when compiled without WITH_BULLET so do not include it in the build .

Jason Wilkins Jason.A.Wilkins at gmail.com
Wed Jun 6 08:52:55 CEST 2012


Revision: 47499
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47499
Author:   jwilkins
Date:     2012-06-06 06:52:46 +0000 (Wed, 06 Jun 2012)
Log Message:
-----------
KX_ConvertPhysicsObjects.cpp does not contain any exported symbols when compiled without WITH_BULLET so do not include it in the build.

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/CMakeLists.txt

Modified: branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/CMakeLists.txt
===================================================================
--- branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/CMakeLists.txt	2012-06-06 06:45:11 UTC (rev 47498)
+++ branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/CMakeLists.txt	2012-06-06 06:52:46 UTC (rev 47499)
@@ -76,7 +76,6 @@
 	KX_CameraIpoSGController.cpp
 	KX_ConstraintActuator.cpp
 	KX_ConstraintWrapper.cpp
-	KX_ConvertPhysicsObjects.cpp
 	KX_Dome.cpp
 	KX_EmptyObject.cpp
 	KX_FontObject.cpp
@@ -243,10 +242,15 @@
 endif()
 
 if(WITH_BULLET)
+	list(APPEND SRC
+		KX_ConvertPhysicsObjects.cpp
+	)
+
 	list(APPEND INC
 		../../../extern/bullet2/src
 		../Physics/Bullet
 	)
+
 	add_definitions(-DUSE_BULLET)
 endif()
 




More information about the Bf-blender-cvs mailing list