cmake cleanup (remove unused includes, make some within IF checks)
[blender.git] / source / gameengine / BlenderRoutines / CMakeLists.txt
1
2 FILE(GLOB SRC *.cpp)
3
4 SET(INC
5   .
6   ../../../source/kernel/gen_system
7   ../../../intern/string
8   ../../../intern/guardedalloc
9   ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer 
10   ../../../source/gameengine/Converter
11   ../../../source/blender/imbuf
12   ../../../intern/ghost/include
13   ../../../intern/moto/include
14   ../../../source/gameengine/Ketsji 
15   ../../../source/blender/blenlib
16   ../../../source/blender/blenkernel 
17   ../../../source/blender/blenfont
18   ../../../source/blender/editors/include
19   ../../../source/blender/windowmanager
20   ../../../source/blender 
21   ../../../source/blender/include
22   ../../../source/blender/makesdna
23   ../../../source/blender/makesrna 
24   ../../../source/gameengine/Rasterizer 
25   ../../../source/gameengine/GameLogic
26   ../../../source/gameengine/Expressions 
27   ../../../source/gameengine/Network
28   ../../../source/gameengine/SceneGraph 
29   ../../../source/gameengine/Physics/common
30   ../../../source/gameengine/Physics/Bullet
31   ../../../source/gameengine/Network/LoopBackNetwork
32   ../../../source/blender/misc 
33   ../../../source/blender/blenloader
34   ../../../source/blender/gpu
35   ../../../extern/bullet2/src
36   ../../../extern/glew/include
37   ${PYTHON_INC}
38 )
39
40 IF(WITH_FFMPEG)
41   ADD_DEFINITIONS(-DWITH_FFMPEG)
42 ENDIF(WITH_FFMPEG)
43
44 BLENDERLIB(bf_blroutines "${SRC}" "${INC}")
45 #env.BlenderLib ( 'bf_bloutines', sources, Split(incs), [], libtype=['game', 'game2', 'player'], priority=[0, 0, 55] , compileflags=cxxflags)