SCons updates
[blender.git] / intern / decimation / SConscript
1 dec_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 dec_env.Append (CCFLAGS = cflags)
9 dec_env.Append (CXXFLAGS = cxxflags)
10 dec_env.Append (CPPDEFINES = defines)
11
12 source_files = ['intern/LOD_EdgeCollapser.cpp',
13                 'intern/LOD_ExternNormalEditor.cpp',
14                 'intern/LOD_FaceNormalEditor.cpp',
15                 'intern/LOD_ManMesh2.cpp',
16                 'intern/LOD_MeshPrimitives.cpp',
17                 'intern/LOD_QSDecimator.cpp',
18                 'intern/LOD_QuadricEditor.cpp',
19                 'intern/LOD_decimation.cpp']
20
21 dec_env.Append (CPPPATH = ['intern',
22                            'extern',
23                            '../moto/include',
24                            '../container',
25                            '../memutil'])
26
27 dec_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_LOD', source=source_files)