Merging pepper to trunk at revision 39791.
[blender.git] / source / gameengine / CMakeLists.txt
1 # -*- mode: cmake; indent-tabs-mode: t; -*-
2 # $Id$
3 # ***** BEGIN GPL LICENSE BLOCK *****
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #
19 # The Original Code is Copyright (C) 2006, Blender Foundation
20 # All rights reserved.
21 #
22 # The Original Code is: all of this file.
23 #
24 # Contributor(s): Jacques Beaurain.
25 #
26 # ***** END GPL LICENSE BLOCK *****
27
28 # there are too many inter-includes so best define here
29 if(WITH_PYTHON)
30         blender_include_dirs("${PYTHON_INCLUDE_DIRS}")
31         add_definitions(-DWITH_PYTHON)
32 endif()
33
34 add_subdirectory(BlenderRoutines)
35 add_subdirectory(Converter)
36 add_subdirectory(Expressions)
37 add_subdirectory(GameLogic)
38 add_subdirectory(Ketsji)
39 add_subdirectory(Ketsji/KXNetwork)
40 add_subdirectory(Network)
41 add_subdirectory(Network/LoopBackNetwork)
42 add_subdirectory(Physics/common)
43 add_subdirectory(Physics/Dummy)
44 add_subdirectory(Rasterizer)
45 add_subdirectory(Rasterizer/RAS_OpenGLRasterizer)
46 add_subdirectory(SceneGraph)
47
48 if(WITH_BULLET)
49         add_subdirectory(Physics/Bullet)
50 endif()
51
52 if(WITH_PYTHON)
53         add_subdirectory(VideoTexture)
54 endif()
55
56 if(WITH_PLAYER)
57         add_subdirectory(GamePlayer)
58 endif()