Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / source / gameengine / Converter / CMakeLists.txt
index 7b05d1b8fd67732a0ff93fee2b491134928143f1..e02b3d8f08a809bb9f3a2a9eb4a22f649ccf1093 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC
+set(INC
        .
-       ../../../source/kernel/gen_system
-       ../../../intern/string
+       ../BlenderRoutines
+       ../Expressions
+       ../GameLogic
+       ../Ketsji
+       ../Ketsji/KXNetwork
+       ../Network
+       ../Network/LoopBackNetwork
+       ../Physics/Bullet
+       ../Physics/Dummy
+       ../Physics/common
+       ../Rasterizer
+       ../Rasterizer/RAS_OpenGLRasterizer
+       ../Rasterizer/RAS_OpenGLRasterizer
+       ../SceneGraph
+       ../../blender
+       ../../blender/blenkernel
+       ../../blender/blenlib
+       ../../blender/blenloader
+       ../../blender/gpu
+       ../../blender/ikplugin
+       ../../blender/imbuf
+       ../../blender/makesdna
+       ../../blender/makesrna
+       ../../blender/windowmanager
+       ../../../extern/bullet2/src
+       ../../../extern/Eigen2
+       ../../../intern/container
        ../../../intern/guardedalloc
-       ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer
-       ../../../intern/audaspace/intern
-       ../../../source/gameengine/Converter
-       ../../../source/gameengine/BlenderRoutines
-       ../../../source/blender/imbuf
        ../../../intern/moto/include
-       ../../../source/gameengine/Ketsji
-       ../../../source/gameengine/Ketsji/KXNetwork
-       ../../../source/blender/blenlib
-       ../../../source/blender/blenkernel
-       ../../../source/blender/windowmanager
-       ../../../source/blender
-       ../../../source/blender/makesdna
-       ../../../source/blender/makesrna
-       ../../../source/gameengine/Rasterizer
-       ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer
-       ../../../source/gameengine/GameLogic
-       ../../../source/gameengine/Expressions
-       ../../../source/gameengine/Network
-       ../../../source/gameengine/SceneGraph
-       ../../../source/gameengine/Physics/common
-       ../../../source/gameengine/Physics/Bullet
-       ../../../source/gameengine/Physics/Dummy
-       ../../../source/gameengine/Network/LoopBackNetwork
-       ../../../source/blender/blenloader
-       ../../../source/blender/gpu
-       ../../../source/blender/ikplugin
-       ../../../extern/bullet2/src
+       ../../../intern/string
+       ../../../extern/recastnavigation/Detour/Include
+)
+
+set(INC_SYS
+
 )
 
-SET(SRC
+set(SRC
        BL_ActionActuator.cpp
        BL_ArmatureActuator.cpp
        BL_ArmatureChannel.cpp
@@ -105,13 +108,15 @@ SET(SRC
        KX_SoftBodyDeformer.h
 )
 
-IF(WITH_PYTHON)
-       LIST(APPEND INC ${PYTHON_INC})
-       ADD_DEFINITIONS(-DWITH_PYTHON)
-ENDIF(WITH_PYTHON)
+if(WITH_BULLET)
+       add_definitions(-DUSE_BULLET)
+endif()
 
-IF(WITH_BULLET)
-       ADD_DEFINITIONS(-DUSE_BULLET)
-ENDIF(WITH_BULLET)
+if(WITH_AUDASPACE)
+       list(APPEND INC
+               ../../../intern/audaspace/intern
+       )
+       add_definitions(-DWITH_AUDASPACE)
+endif()
 
-BLENDERLIB(ge_converter "${SRC}" "${INC}")
+blender_add_lib(ge_converter "${SRC}" "${INC}" "${INC_SYS}")