d2c6731d530683e4950c34efb5f51a0654570532
[blender.git] / source / gameengine / GameLogic / 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         ../../../source/gameengine/Expressions 
32         ../../../source/gameengine/SceneGraph
33         ../../../intern/moto/include
34         ../../../source/gameengine/Rasterizer
35 )
36
37 set(SRC
38         Joystick/SCA_Joystick.cpp
39         Joystick/SCA_JoystickEvents.cpp
40         SCA_2DFilterActuator.cpp
41         SCA_ANDController.cpp
42         SCA_ActuatorEventManager.cpp
43         SCA_ActuatorSensor.cpp
44         SCA_AlwaysEventManager.cpp
45         SCA_AlwaysSensor.cpp
46         SCA_BasicEventManager.cpp
47         SCA_DelaySensor.cpp
48         SCA_EventManager.cpp
49         SCA_ExpressionController.cpp
50         SCA_IActuator.cpp
51         SCA_IController.cpp
52         SCA_IInputDevice.cpp
53         SCA_ILogicBrick.cpp
54         SCA_IObject.cpp
55         SCA_IScene.cpp
56         SCA_ISensor.cpp
57         SCA_JoystickManager.cpp
58         SCA_JoystickSensor.cpp
59         SCA_KeyboardManager.cpp
60         SCA_KeyboardSensor.cpp
61         SCA_LogicManager.cpp
62         SCA_MouseManager.cpp
63         SCA_MouseSensor.cpp
64         SCA_NANDController.cpp
65         SCA_NORController.cpp
66         SCA_ORController.cpp
67         SCA_PropertyActuator.cpp
68         SCA_PropertyEventManager.cpp
69         SCA_PropertySensor.cpp
70         SCA_PythonController.cpp
71         SCA_PythonKeyboard.cpp
72         SCA_PythonMouse.cpp
73         SCA_RandomActuator.cpp
74         SCA_RandomEventManager.cpp
75         SCA_RandomNumberGenerator.cpp
76         SCA_RandomSensor.cpp
77         SCA_TimeEventManager.cpp
78         SCA_XNORController.cpp
79         SCA_XORController.cpp
80
81         Joystick/SCA_Joystick.h
82         Joystick/SCA_JoystickDefines.h
83         Joystick/SCA_JoystickPrivate.h
84         SCA_2DFilterActuator.h
85         SCA_ANDController.h
86         SCA_ActuatorEventManager.h
87         SCA_ActuatorSensor.h
88         SCA_AlwaysEventManager.h
89         SCA_AlwaysSensor.h
90         SCA_BasicEventManager.h
91         SCA_DelaySensor.h
92         SCA_EventManager.h
93         SCA_ExpressionController.h
94         SCA_IActuator.h
95         SCA_IController.h
96         SCA_IInputDevice.h
97         SCA_ILogicBrick.h
98         SCA_IObject.h
99         SCA_IScene.h
100         SCA_ISensor.h
101         SCA_JoystickManager.h
102         SCA_JoystickSensor.h
103         SCA_KeyboardManager.h
104         SCA_KeyboardSensor.h
105         SCA_LogicManager.h
106         SCA_MouseManager.h
107         SCA_MouseSensor.h
108         SCA_NANDController.h
109         SCA_NORController.h
110         SCA_ORController.h
111         SCA_PropertyActuator.h
112         SCA_PropertyEventManager.h
113         SCA_PropertySensor.h
114         SCA_PythonController.h
115         SCA_PythonKeyboard.h
116         SCA_PythonMouse.h
117         SCA_RandomActuator.h
118         SCA_RandomEventManager.h
119         SCA_RandomNumberGenerator.h
120         SCA_RandomSensor.h
121         SCA_TimeEventManager.h
122         SCA_XNORController.h
123         SCA_XORController.h
124 )
125
126 if(WITH_SDL)
127         set(INC ${INC} ${SDL_INCLUDE_DIR})
128 else()
129         add_definitions(-DDISABLE_SDL)
130 endif()
131
132 blenderlib(ge_logic "${SRC}" "${INC}")