optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / GameLogic / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
19 #
20 # The Original Code is: all of this file.
21 #
22 # Contributor(s): Jacques Beaurain.
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 set(INC
27         .
28         ../Expressions
29         ../Rasterizer
30         ../SceneGraph
31         ../../blender/blenlib
32         ../../../intern/container
33         ../../../intern/moto/include
34         ../../../intern/string
35 )
36
37 set(INC_SYS
38
39 )
40
41 set(SRC
42         SCA_2DFilterActuator.cpp
43         SCA_ANDController.cpp
44         SCA_ActuatorEventManager.cpp
45         SCA_ActuatorSensor.cpp
46         SCA_AlwaysEventManager.cpp
47         SCA_AlwaysSensor.cpp
48         SCA_BasicEventManager.cpp
49         SCA_DelaySensor.cpp
50         SCA_EventManager.cpp
51         SCA_ExpressionController.cpp
52         SCA_IActuator.cpp
53         SCA_IController.cpp
54         SCA_IInputDevice.cpp
55         SCA_ILogicBrick.cpp
56         SCA_IObject.cpp
57         SCA_IScene.cpp
58         SCA_ISensor.cpp
59         SCA_JoystickManager.cpp
60         SCA_JoystickSensor.cpp
61         SCA_KeyboardManager.cpp
62         SCA_KeyboardSensor.cpp
63         SCA_LogicManager.cpp
64         SCA_MouseManager.cpp
65         SCA_MouseSensor.cpp
66         SCA_NANDController.cpp
67         SCA_NORController.cpp
68         SCA_ORController.cpp
69         SCA_PropertyActuator.cpp
70         SCA_PropertyEventManager.cpp
71         SCA_PropertySensor.cpp
72         SCA_PythonController.cpp
73         SCA_PythonKeyboard.cpp
74         SCA_PythonMouse.cpp
75         SCA_RandomActuator.cpp
76         SCA_RandomEventManager.cpp
77         SCA_RandomNumberGenerator.cpp
78         SCA_RandomSensor.cpp
79         SCA_TimeEventManager.cpp
80         SCA_XNORController.cpp
81         SCA_XORController.cpp
82         Joystick/SCA_Joystick.cpp
83         Joystick/SCA_JoystickEvents.cpp
84
85         SCA_2DFilterActuator.h
86         SCA_ANDController.h
87         SCA_ActuatorEventManager.h
88         SCA_ActuatorSensor.h
89         SCA_AlwaysEventManager.h
90         SCA_AlwaysSensor.h
91         SCA_BasicEventManager.h
92         SCA_DelaySensor.h
93         SCA_EventManager.h
94         SCA_ExpressionController.h
95         SCA_IActuator.h
96         SCA_IController.h
97         SCA_IInputDevice.h
98         SCA_ILogicBrick.h
99         SCA_IObject.h
100         SCA_IScene.h
101         SCA_ISensor.h
102         SCA_JoystickManager.h
103         SCA_JoystickSensor.h
104         SCA_KeyboardManager.h
105         SCA_KeyboardSensor.h
106         SCA_LogicManager.h
107         SCA_MouseManager.h
108         SCA_MouseSensor.h
109         SCA_NANDController.h
110         SCA_NORController.h
111         SCA_ORController.h
112         SCA_PropertyActuator.h
113         SCA_PropertyEventManager.h
114         SCA_PropertySensor.h
115         SCA_PythonController.h
116         SCA_PythonKeyboard.h
117         SCA_PythonMouse.h
118         SCA_RandomActuator.h
119         SCA_RandomEventManager.h
120         SCA_RandomNumberGenerator.h
121         SCA_RandomSensor.h
122         SCA_TimeEventManager.h
123         SCA_XNORController.h
124         SCA_XORController.h
125         Joystick/SCA_Joystick.h
126         Joystick/SCA_JoystickDefines.h
127         Joystick/SCA_JoystickPrivate.h
128 )
129
130 if(WITH_SDL)
131         list(APPEND INC_SYS
132                 ${SDL_INCLUDE_DIR}
133         )
134
135         add_definitions(-DWITH_SDL)
136
137         if(WITH_GHOST_SDL)
138                 add_definitions(-DWITH_GHOST_SDL)
139         endif()
140 endif()
141
142 blender_add_lib(ge_logic "${SRC}" "${INC}" "${INC_SYS}")