diff options
Diffstat (limited to 'source/gameengine/Converter/CMakeLists.txt')
-rw-r--r-- | source/gameengine/Converter/CMakeLists.txt | 62 |
1 files changed, 51 insertions, 11 deletions
diff --git a/source/gameengine/Converter/CMakeLists.txt b/source/gameengine/Converter/CMakeLists.txt index 97c367dd1f1..147c8b791ee 100644 --- a/source/gameengine/Converter/CMakeLists.txt +++ b/source/gameengine/Converter/CMakeLists.txt @@ -24,9 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -FILE(GLOB SRC *.cpp) - -SET(INC +set(INC . ../../../source/kernel/gen_system ../../../intern/string @@ -43,7 +41,6 @@ SET(INC ../../../source/blender/blenkernel ../../../source/blender/windowmanager ../../../source/blender - ../../../source/blender/include ../../../source/blender/makesdna ../../../source/blender/makesrna ../../../source/gameengine/Rasterizer @@ -56,17 +53,60 @@ SET(INC ../../../source/gameengine/Physics/Bullet ../../../source/gameengine/Physics/Dummy ../../../source/gameengine/Network/LoopBackNetwork - ../../../source/blender/misc ../../../source/blender/blenloader ../../../source/blender/gpu ../../../source/blender/ikplugin ../../../extern/bullet2/src ) -IF(WITH_PYTHON) - SET(INC ${INC} ${PYTHON_INC}) -ELSE(WITH_PYTHON) - ADD_DEFINITIONS(-DDISABLE_PYTHON) -ENDIF(WITH_PYTHON) +set(SRC + BL_ActionActuator.cpp + BL_ArmatureActuator.cpp + BL_ArmatureChannel.cpp + BL_ArmatureConstraint.cpp + BL_ArmatureObject.cpp + BL_BlenderDataConversion.cpp + BL_DeformableGameObject.cpp + BL_MeshDeformer.cpp + BL_ModifierDeformer.cpp + BL_ShapeActionActuator.cpp + BL_ShapeDeformer.cpp + BL_SkinDeformer.cpp + BlenderWorldInfo.cpp + KX_BlenderScalarInterpolator.cpp + KX_BlenderSceneConverter.cpp + KX_ConvertActuators.cpp + KX_ConvertControllers.cpp + KX_ConvertProperties.cpp + KX_ConvertSensors.cpp + KX_IpoConvert.cpp + KX_SoftBodyDeformer.cpp + + BL_ActionActuator.h + BL_ArmatureActuator.h + BL_ArmatureChannel.h + BL_ArmatureConstraint.h + BL_ArmatureObject.h + BL_BlenderDataConversion.h + BL_DeformableGameObject.h + BL_MeshDeformer.h + BL_ModifierDeformer.h + BL_ShapeActionActuator.h + BL_ShapeDeformer.h + BL_SkinDeformer.h + BlenderWorldInfo.h + KX_BlenderScalarInterpolator.h + KX_BlenderSceneConverter.h + KX_ConvertActuators.h + KX_ConvertControllers.h + KX_ConvertProperties.h + KX_ConvertSensors.h + KX_IpoConvert.h + KX_SoftBodyDeformer.h +) + +if(WITH_BULLET) + add_definitions(-DUSE_BULLET) +endif() -BLENDERLIB(bf_converter "${SRC}" "${INC}") +blender_add_lib(ge_converter "${SRC}" "${INC}") |