SCons updates
[blender.git] / source / creator / SConscript
1 creator_env = Environment ()
2
3 Import ('cflags')
4 Import ('cxxflags')
5 Import ('defines')
6 Import ('user_options_dict')
7 creator_env.Append (CCFLAGS = cflags)
8 creator_env.Append (CXXFLAGS = cxxflags)
9 creator_env.Append (CPPDEFINES = defines)
10
11 source_files = ['creator.c']
12
13 creator_env.Append (CPPPATH = ['#/intern/guardedalloc',
14                                '../blender/blenlib',
15                                '../blender/blenkernel',
16                                '../blender/include',
17                                '../blender/blenloader',
18                                '../blender/imbuf',
19                                '../blender/renderconverter',
20                                '../blender/render/extern/include',
21                                '../blender/python',
22                                '../blender/makesdna',
23                                '../kernel/gen_messaging',
24                                '../kernel/gen_system'])
25
26 if user_options_dict['USE_QUICKTIME'] == 1:
27     creator_env.Append (CPPDEFINES = ['WITH_QUICKTIME'])
28
29 creator_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_creator', source=source_files)