SCons updates
[blender.git] / source / blender / readblenfile / SConscript
1 readblenfile_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 Import ('user_options_dict')
8 readblenfile_env.Append (CCFLAGS = cflags)
9 readblenfile_env.Append (CXXFLAGS = cxxflags)
10 readblenfile_env.Append (CPPDEFINES = defines)
11
12 source_files = ['intern/BLO_readblenfile.c']
13
14 readblenfile_env.Append (CPPPATH = ['.',
15                                     '../readstreamglue',
16                                     '../blenloader',
17                                     '../blenkernel',
18                                     '../../kernel/gen_messaging'])
19
20 readblenfile_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_readblenfile', source=source_files)