updated SConstruct and Makefile so that if you compile the gameengine, is always...
[blender.git] / source / creator / SConscript
1 #!/usr/bin/python
2 Import ('user_options_dict')
3 Import ('library_env')
4
5 creator_env = library_env.Copy ()
6
7 source_files = ['creator.c']
8
9 creator_env.Append (CPPPATH = ['#/intern/guardedalloc',
10                                '../blender/blenlib',
11                                '../blender/blenkernel',
12                                '../blender/include',
13                                '../blender/blenloader',
14                                '../blender/imbuf',
15                                '../blender/renderconverter',
16                                '../blender/render/extern/include',
17                                '../blender/python',
18                                '../blender/makesdna',
19                                '../kernel/gen_messaging',
20                                '../kernel/gen_system'])
21 creator_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE'])
22
23 if user_options_dict['USE_QUICKTIME'] == 1:
24     creator_env.Append (CPPDEFINES = ['WITH_QUICKTIME'])
25
26 creator_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_creator', source=source_files)