~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/gameengine/GameLogic/SConscript

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-09-20 01:57:27 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060920015727-gmoqlxwstx9wwqs3
Tags: 2.42a-1ubuntu1
* Merge from Debian unstable (Closes: Malone #55903). Remaining changes:
  - debian/genpot: Add python scripts from Lee June <blender@eyou.com> to
    generate a reasonable PO template from the sources. Since gettext is used
    in a highly nonstandard way, xgettext does not work for this job.
  - debian/rules: Call the scripts, generate po/blender.pot, and clean it up
    in the clean target.
  - Add a proper header to the generated PO template.
* debian/control: Build depend on libavformat-dev >= 3:0.cvs20060823-3.1,
  otherwise this package will FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
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)
 
2
Import ('env')
 
3
 
 
4
sources = env.Glob('*.cpp') + env.Glob('Joystick/*.cpp')
 
5
 
 
6
incs = '. #/source/kernel/gen_system #/intern/string'
 
7
incs += ' #/source/gameengine/Expressions #/intern/moto/include'
 
8
 
 
9
incs += ' ' + env['BF_PYTHON_INC']
 
10
incs += ' ' + env['BF_SDL_INC']
 
11
 
 
12
env.BlenderLib ( 'bf_logic', sources, Split(incs), [], libtype=['game','player'], priority=[30, 110] )