blender/intern/bsp/SConscript

31 lines
1.1 KiB
Python
Raw Normal View History

2004-01-04 21:11:59 +00:00
bsp_env = Environment()
# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('user_options_dict')
2004-01-04 21:11:59 +00:00
bsp_env.Append (CCFLAGS = cflags)
bsp_env.Append (CXXFLAGS = cxxflags)
bsp_env.Append (CPPDEFINES = defines)
source_files = ['intern/BSP_CSGHelper.cpp',
'intern/BSP_CSGMesh.cpp',
'intern/BSP_CSGMeshBuilder.cpp',
'intern/BSP_CSGMeshSplitter.cpp',
'intern/BSP_CSGNCMeshSplitter.cpp',
'intern/BSP_CSGUserData.cpp',
'intern/BSP_FragNode.cpp',
'intern/BSP_FragTree.cpp',
'intern/BSP_MeshFragment.cpp',
'intern/BSP_MeshPrimitives.cpp',
'intern/BSP_Triangulate.cpp',
'intern/CSG_BooleanOps.cpp']
bsp_env.Append (CPPPATH = ['intern',
'../container',
'../moto/include',
'../memutil'])
bsp_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_BSP', source=source_files)