SCons build system files added.
[blender.git] / intern / bsp / SConscript
1 bsp_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 bsp_env.Append (CCFLAGS = cflags)
8 bsp_env.Append (CXXFLAGS = cxxflags)
9 bsp_env.Append (CPPDEFINES = defines)
10
11 source_files = ['intern/BSP_CSGHelper.cpp',
12                 'intern/BSP_CSGMesh.cpp',
13                 'intern/BSP_CSGMeshBuilder.cpp',
14                 'intern/BSP_CSGMeshSplitter.cpp',
15                 'intern/BSP_CSGNCMeshSplitter.cpp',
16                 'intern/BSP_CSGUserData.cpp',
17                 'intern/BSP_FragNode.cpp',
18                 'intern/BSP_FragTree.cpp',
19                 'intern/BSP_MeshFragment.cpp',
20                 'intern/BSP_MeshPrimitives.cpp',
21                 'intern/BSP_Triangulate.cpp',
22                 'intern/CSG_BooleanOps.cpp']
23
24 bsp_env.Append (CPPPATH = ['intern',
25                            '../container',
26                            '../moto/include',
27                            '../memutil'])
28
29 bsp_env.Library (target='#/lib/blender_BSP', source=source_files)