Added Joystick sensor (from snailrose)
[blender.git] / source / gameengine / GameLogic / SConscript
1 #!/usr/bin/python
2 Import ('user_options_dict')
3 Import ('library_env')
4
5 sca_gamelogic_env = library_env.Copy ()
6
7 source_files = ['SCA_ANDController.cpp',
8                 'SCA_AlwaysEventManager.cpp',
9                 'SCA_AlwaysSensor.cpp',
10                 'SCA_EventManager.cpp',
11                 'SCA_ExpressionController.cpp',
12                 'SCA_IActuator.cpp',
13                 'SCA_IController.cpp',
14                 'SCA_IInputDevice.cpp',
15                 'SCA_ILogicBrick.cpp',
16                 'SCA_IObject.cpp',
17                 'SCA_IScene.cpp',
18                 'SCA_ISensor.cpp',
19                 'SCA_JoystickManager.cpp',
20                 'SCA_JoystickSensor.cpp',
21                 'SCA_KeyboardManager.cpp',
22                 'SCA_KeyboardSensor.cpp',
23                 'SCA_LogicManager.cpp',
24                 'SCA_MouseManager.cpp',
25                 'SCA_MouseSensor.cpp',
26                 'SCA_ORController.cpp',
27                 'SCA_PropertyActuator.cpp',
28                 'SCA_PropertyEventManager.cpp',
29                 'SCA_PropertySensor.cpp',
30                 'SCA_PythonController.cpp',
31                 'SCA_RandomActuator.cpp',
32                 'SCA_RandomEventManager.cpp',
33                 'SCA_RandomNumberGenerator.cpp',
34                 'SCA_RandomSensor.cpp',
35                 'SCA_TimeEventManager.cpp',
36                 'Joystick/SCA_Joystick.cpp',
37                 'Joystick/SCA_JoystickEvents.cpp']
38
39 sca_gamelogic_env.Append (CPPPATH=['.',
40                                    '#/source/kernel/gen_system',
41                                    '#/intern/string',
42                                    '#/source/gameengine/Expressions',
43                                    '#/intern/moto/include'])
44
45 sca_gamelogic_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])
46 sca_gamelogic_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
47
48 sca_gamelogic_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/SCA_GameLogic', source=source_files)