doxygen: prevent GPL license block from being parsed as doxygen comment.
[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., 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         ../../../source/kernel/gen_system
30         ../../../intern/string
31         ../../../intern/guardedalloc
32         ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer 
33         ../../../source/gameengine/Converter
34         ../../../source/blender/imbuf
35         ../../../intern/moto/include
36         ../../../source/gameengine/Ketsji 
37         ../../../source/blender/blenlib
38         ../../../source/blender/blenfont
39         ../../../source/blender/blenkernel
40         ../../../source/blender/python
41         ../../../source/blender/python/generic
42         ../../../source/blender 
43         ../../../source/blender/makesdna 
44         ../../../source/gameengine/Rasterizer 
45         ../../../source/gameengine/GameLogic
46         ../../../source/gameengine/Expressions 
47         ../../../source/gameengine/Ketsji/KXNetwork
48         ../../../source/gameengine/Network
49         ../../../source/gameengine/SceneGraph 
50         ../../../source/gameengine/Physics/common
51         ../../../source/gameengine/Network/LoopBackNetwork
52         ../../../intern/audaspace/intern
53         ../../../source/blender/blenloader
54         ../../../source/blender/gpu
55         ../../../extern/glew/include
56 )
57
58 set(SRC
59         BL_BlenderShader.cpp
60         BL_Material.cpp
61         BL_Shader.cpp
62         BL_Texture.cpp
63         KX_ArmatureSensor.cpp
64         KX_BlenderMaterial.cpp
65         KX_BulletPhysicsController.cpp
66         KX_Camera.cpp
67         KX_CameraActuator.cpp
68         KX_CameraIpoSGController.cpp
69         KX_ConstraintActuator.cpp
70         KX_ConstraintWrapper.cpp
71         KX_ConvertPhysicsObjects.cpp
72         KX_Dome.cpp
73         KX_EmptyObject.cpp
74         KX_FontObject.cpp
75         KX_GameActuator.cpp
76         KX_GameObject.cpp
77         KX_IPO_SGController.cpp
78         KX_IPhysicsController.cpp
79         KX_IpoActuator.cpp
80         KX_KetsjiEngine.cpp
81         KX_Light.cpp
82         KX_LightIpoSGController.cpp
83         KX_MaterialIpoController.cpp
84         KX_MeshProxy.cpp
85         KX_MotionState.cpp
86         KX_MouseFocusSensor.cpp
87         KX_NearSensor.cpp
88         KX_ObColorIpoSGController.cpp
89         KX_ObjectActuator.cpp
90         KX_OrientationInterpolator.cpp
91         KX_ParentActuator.cpp
92         KX_PhysicsObjectWrapper.cpp
93         KX_PolyProxy.cpp
94         KX_PolygonMaterial.cpp
95         KX_PositionInterpolator.cpp
96         KX_PyConstraintBinding.cpp
97         KX_PyMath.cpp
98         KX_PythonInit.cpp
99         KX_PythonInitTypes.cpp
100         KX_PythonSeq.cpp
101         KX_RadarSensor.cpp
102         KX_RayCast.cpp
103         KX_RayEventManager.cpp
104         KX_RaySensor.cpp
105         KX_SCA_AddObjectActuator.cpp
106         KX_SCA_DynamicActuator.cpp
107         KX_SCA_EndObjectActuator.cpp
108         KX_SCA_ReplaceMeshActuator.cpp
109         KX_SG_BoneParentNodeRelationship.cpp
110         KX_SG_NodeRelationships.cpp
111         KX_ScalarInterpolator.cpp
112         KX_ScalingInterpolator.cpp
113         KX_Scene.cpp
114         KX_SceneActuator.cpp
115         KX_SoundActuator.cpp
116         KX_StateActuator.cpp
117         KX_TimeCategoryLogger.cpp
118         KX_TimeLogger.cpp
119         KX_TouchEventManager.cpp
120         KX_TouchSensor.cpp
121         KX_TrackToActuator.cpp
122         KX_VehicleWrapper.cpp
123         KX_VertexProxy.cpp
124         KX_VisibilityActuator.cpp
125         KX_WorldInfo.cpp
126         KX_WorldIpoController.cpp
127
128         KX_ArmatureSensor.h
129         KX_BlenderMaterial.h
130         KX_BulletPhysicsController.h
131         KX_Camera.h
132         KX_CameraActuator.h
133         KX_CameraIpoSGController.h
134         KX_ClientObjectInfo.h
135         KX_ConstraintActuator.h
136         KX_ConstraintWrapper.h
137         KX_ConvertPhysicsObject.h
138         KX_Dome.h
139         KX_EmptyObject.h
140         KX_FontObject.h
141         KX_GameActuator.h
142         KX_GameObject.h
143         KX_IInterpolator.h
144         KX_IPOTransform.h
145         KX_IPO_SGController.h
146         KX_IPhysicsController.h
147         KX_IScalarInterpolator.h
148         KX_ISceneConverter.h
149         KX_ISystem.h
150         KX_IpoActuator.h
151         KX_KetsjiEngine.h
152         KX_Light.h
153         KX_LightIpoSGController.h
154         KX_MaterialIpoController.h
155         KX_MeshProxy.h
156         KX_MotionState.h
157         KX_MouseFocusSensor.h
158         KX_NearSensor.h
159         KX_ObColorIpoSGController.h
160         KX_ObjectActuator.h
161         KX_OrientationInterpolator.h
162         KX_ParentActuator.h
163         KX_PhysicsEngineEnums.h
164         KX_PhysicsObjectWrapper.h
165         KX_PhysicsPropertiesobsolete.h
166         KX_PolyProxy.h
167         KX_PolygonMaterial.h
168         KX_PositionInterpolator.h
169         KX_PyConstraintBinding.h
170         KX_PyMath.h
171         KX_PythonInit.h
172         KX_PythonInitTypes.h
173         KX_PythonSeq.h
174         KX_RadarSensor.h
175         KX_RayCast.h
176         KX_RayEventManager.h
177         KX_RaySensor.h
178         KX_SCA_AddObjectActuator.h
179         KX_SCA_DynamicActuator.h
180         KX_SCA_EndObjectActuator.h
181         KX_SCA_ReplaceMeshActuator.h
182         KX_SG_BoneParentNodeRelationship.h
183         KX_SG_NodeRelationships.h
184         KX_ScalarInterpolator.h
185         KX_ScalingInterpolator.h
186         KX_Scene.h
187         KX_SceneActuator.h
188         KX_SoundActuator.h
189         KX_StateActuator.h
190         KX_TimeCategoryLogger.h
191         KX_TimeLogger.h
192         KX_TouchEventManager.h
193         KX_TouchSensor.h
194         KX_TrackToActuator.h
195         KX_VehicleWrapper.h
196         KX_VertexProxy.h
197         KX_VisibilityActuator.h
198         KX_WorldInfo.h
199         KX_WorldIpoController.h
200         BL_BlenderShader.h
201         BL_Material.h
202         BL_Shader.h
203         BL_Texture.h
204 )
205
206 add_definitions(-DGLEW_STATIC)
207
208 if(WITH_SDL)
209         set(INC ${INC} ${SDL_INCLUDE_DIR})  
210 else()
211         add_definitions(-DDISABLE_SDL)
212 endif()
213
214 if(WITH_CODEC_FFMPEG)
215         add_definitions(-DWITH_FFMPEG)
216 endif()
217
218 if(WITH_BULLET)
219         add_definitions(-DUSE_BULLET)
220         list(APPEND INC ../../../extern/bullet2/src)
221         list(APPEND INC ../../../source/gameengine/Physics/Bullet )
222 endif()
223
224 blender_add_lib(ge_logic_ketsji "${SRC}" "${INC}")