code cleanup: remove redundant casts
[blender.git] / source / gameengine / BlenderRoutines / CMakeLists.txt
1
2 set(INC
3         .
4         ../Converter
5         ../Expressions
6         ../GameLogic
7         ../Ketsji
8         ../Network
9         ../Network/LoopBackNetwork
10         ../Physics/Bullet
11         ../Physics/common
12         ../Rasterizer
13         ../Rasterizer/RAS_OpenGLRasterizer
14         ../SceneGraph
15         ../../blender
16         ../../blender/blenfont
17         ../../blender/blenkernel
18         ../../blender/blenlib
19         ../../blender/blenloader
20         ../../blender/editors/include
21         ../../blender/gpu
22         ../../blender/imbuf
23         ../../blender/makesdna
24         ../../blender/makesrna
25         ../../blender/windowmanager
26         ../../../intern/container
27         ../../../intern/guardedalloc
28         ../../../intern/moto/include
29         ../../../intern/string
30 )
31
32 set(INC_SYS
33         ../../../extern/bullet2/src
34         ${PTHREADS_INCLUDE_DIRS}
35         ${GLEW_INCLUDE_PATH}
36 )
37
38 set(SRC
39         BL_KetsjiEmbedStart.cpp
40         BL_System.cpp
41         KX_BlenderCanvas.cpp
42         KX_BlenderGL.cpp
43         KX_BlenderInputDevice.cpp
44         KX_BlenderKeyboardDevice.cpp
45         KX_BlenderMouseDevice.cpp
46         KX_BlenderRenderTools.cpp
47         KX_BlenderSystem.cpp
48
49         BL_System.h
50         KX_BlenderCanvas.h
51         KX_BlenderGL.h
52         KX_BlenderInputDevice.h
53         KX_BlenderKeyboardDevice.h
54         KX_BlenderMouseDevice.h
55         KX_BlenderRenderTools.h
56         KX_BlenderSystem.h
57 )
58
59 add_definitions(-DGLEW_STATIC)
60
61 if(WITH_AUDASPACE)
62         list(APPEND INC
63                 ../../../intern/audaspace/intern
64         )
65         add_definitions(-DWITH_AUDASPACE)
66 endif()
67
68 if(WITH_CODEC_FFMPEG)
69         add_definitions(-DWITH_FFMPEG)
70 endif()
71
72 blender_add_lib(ge_blen_routines "${SRC}" "${INC}" "${INC_SYS}")