synched with trunk at revision 36569
[blender.git] / source / gameengine / Converter / 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 set(INC
28         .
29         ../../../intern/string
30         ../../../intern/guardedalloc
31         ../../../intern/container
32         ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer
33         ../../../intern/audaspace/intern
34         ../../../source/gameengine/Converter
35         ../../../source/gameengine/BlenderRoutines
36         ../../../source/blender/imbuf
37         ../../../intern/moto/include
38         ../../../source/gameengine/Ketsji
39         ../../../source/gameengine/Ketsji/KXNetwork
40         ../../../source/blender/blenlib
41         ../../../source/blender/blenkernel
42         ../../../source/blender/windowmanager
43         ../../../source/blender
44         ../../../source/blender/makesdna
45         ../../../source/blender/makesrna
46         ../../../source/gameengine/Rasterizer
47         ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer
48         ../../../source/gameengine/GameLogic
49         ../../../source/gameengine/Expressions
50         ../../../source/gameengine/Network
51         ../../../source/gameengine/SceneGraph
52         ../../../source/gameengine/Physics/common
53         ../../../source/gameengine/Physics/Bullet
54         ../../../source/gameengine/Physics/Dummy
55         ../../../source/gameengine/Network/LoopBackNetwork
56         ../../../source/blender/blenloader
57         ../../../source/blender/gpu
58         ../../../source/blender/ikplugin
59         ../../../extern/bullet2/src
60         ../../../extern/recastnavigation/Detour/Include
61 )
62
63 set(SRC
64         BL_ActionActuator.cpp
65         BL_ArmatureActuator.cpp
66         BL_ArmatureChannel.cpp
67         BL_ArmatureConstraint.cpp
68         BL_ArmatureObject.cpp
69         BL_BlenderDataConversion.cpp
70         BL_DeformableGameObject.cpp
71         BL_MeshDeformer.cpp
72         BL_ModifierDeformer.cpp
73         BL_ShapeActionActuator.cpp
74         BL_ShapeDeformer.cpp
75         BL_SkinDeformer.cpp
76         BlenderWorldInfo.cpp
77         KX_BlenderScalarInterpolator.cpp
78         KX_BlenderSceneConverter.cpp
79         KX_ConvertActuators.cpp
80         KX_ConvertControllers.cpp
81         KX_ConvertProperties.cpp
82         KX_ConvertSensors.cpp
83         KX_IpoConvert.cpp
84         KX_SoftBodyDeformer.cpp
85
86         BL_ActionActuator.h
87         BL_ArmatureActuator.h
88         BL_ArmatureChannel.h
89         BL_ArmatureConstraint.h
90         BL_ArmatureObject.h
91         BL_BlenderDataConversion.h
92         BL_DeformableGameObject.h
93         BL_MeshDeformer.h
94         BL_ModifierDeformer.h
95         BL_ShapeActionActuator.h
96         BL_ShapeDeformer.h
97         BL_SkinDeformer.h
98         BlenderWorldInfo.h
99         KX_BlenderScalarInterpolator.h
100         KX_BlenderSceneConverter.h
101         KX_ConvertActuators.h
102         KX_ConvertControllers.h
103         KX_ConvertProperties.h
104         KX_ConvertSensors.h
105         KX_IpoConvert.h
106         KX_SoftBodyDeformer.h
107 )
108
109 if(WITH_BULLET)
110         add_definitions(-DUSE_BULLET)
111 endif()
112
113 blender_add_lib(ge_converter "${SRC}" "${INC}")