Merge with -r 22620:23107.
[blender.git] / source / gameengine / Ketsji / CMakeLists.txt
1 # $Id$
2 # ***** BEGIN GPL LICENSE BLOCK *****
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17 #
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
20 #
21 # The Original Code is: all of this file.
22 #
23 # Contributor(s): Jacques Beaurain.
24 #
25 # ***** END GPL LICENSE BLOCK *****
26
27 FILE(GLOB SRC *.cpp)
28
29 SET(INC
30         .
31         ../../../source/kernel/gen_system
32         ../../../intern/string
33         ../../../intern/guardedalloc
34         ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer 
35         ../../../source/gameengine/Converter
36         ../../../source/blender/imbuf
37         ../../../intern/ghost/include
38         ../../../intern/moto/include
39         ../../../source/gameengine/Ketsji 
40         ../../../source/blender/blenlib
41         ../../../source/blender/blenkernel
42         ../../../source/blender/python
43         ../../../source/blender/python/generic
44         ../../../source/blender 
45         ../../../source/blender/include
46         ../../../source/blender/makesdna 
47         ../../../source/gameengine/Rasterizer 
48         ../../../source/gameengine/GameLogic
49         ../../../source/gameengine/Expressions 
50         ../../../source/gameengine/Ketsji/KXNetwork
51         ../../../source/gameengine/Network
52         ../../../source/gameengine/SceneGraph 
53         ../../../source/gameengine/Physics/common
54         ../../../source/gameengine/Physics/Bullet 
55         ../../../source/gameengine/Network/LoopBackNetwork
56         ../../../intern/audaspace/intern
57         ../../../source/blender/misc 
58         ../../../source/blender/blenloader
59         ../../../source/blender/gpu
60         ../../../extern/bullet2/src
61         ../../../extern/glew/include
62         ${PYTHON_INC}
63 )
64
65 IF(WITH_SDL)
66         SET(INC ${INC} ${SDL_INCLUDE_DIR})  
67 ELSE(WITH_SDL)
68         ADD_DEFINITIONS(-DDISABLE_SDL)
69 ENDIF(WITH_SDL)
70
71 BLENDERLIB(bf_ketsji "${SRC}" "${INC}")
72 #env.BlenderLib ( 'bf_ketsji', sources, Split(incs), [], libtype=['game','player'], priority=[25, 72], compileflags = cflags )