- [SCONS] SConscript for the new csg library
[blender-staging.git] / intern / csg / SConscript
1 csg_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 csg_env.Append (CCFLAGS = cflags)
8 csg_env.Append (CXXFLAGS = cxxflags)
9 csg_env.Append (CPPDEFINES = defines)
10
11 source_files = ['intern/CSG_BBoxTree.cpp',
12                                 'intern/CSG_ConnectedMeshWrapper.inl',
13                                 'intern/CSG_Math.inl',
14                                 'intern/CSG_Triangulate.inl',
15                                 'intern/blender/CSG_CsgOp.cpp',
16                                 'intern/blender/CSG_Interface.cpp',
17                                 'intern/CSG_BooleanOp.inl',
18                                 'intern/CSG_MeshWrapper.inl',
19                                 'intern/MT_Line3.cpp'
20                                 ]
21
22 csg_env.Append (CPPPATH = ['intern',
23                            '../container',
24                            '../moto/include',
25                            '../memutil',
26                            'intern/blender',
27                            'extern'])
28
29 csg_env.Library (target='#/lib/blender_BSP', source=source_files)