Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/boolop/SConscript')
-rw-r--r--intern/boolop/SConscript34
1 files changed, 4 insertions, 30 deletions
diff --git a/intern/boolop/SConscript b/intern/boolop/SConscript
index a0df706e9f7..afd4ff24d6e 100644
--- a/intern/boolop/SConscript
+++ b/intern/boolop/SConscript
@@ -1,34 +1,8 @@
#!/usr/bin/python
-Import ('user_options_dict')
-Import ('library_env')
+Import ('env')
-bop_env = library_env.Copy ()
+sources = env.Glob('intern/*.cpp')
-source_files = [
- 'intern/BOP_BBox.cpp',
- 'intern/BOP_BSPNode.cpp',
- 'intern/BOP_BSPTree.cpp',
- 'intern/BOP_Edge.cpp',
- 'intern/BOP_Face.cpp',
- 'intern/BOP_Face2Face.cpp',
- 'intern/BOP_Interface.cpp',
- 'intern/BOP_Material.cpp',
- 'intern/BOP_MaterialContainer.cpp',
- 'intern/BOP_MathUtils.cpp',
- 'intern/BOP_Merge.cpp',
- 'intern/BOP_Mesh.cpp',
- 'intern/BOP_Segment.cpp',
- 'intern/BOP_Splitter.cpp',
- 'intern/BOP_Tag.cpp',
- 'intern/BOP_Triangulator.cpp',
- 'intern/BOP_Vertex.cpp'
- ]
+incs = '. intern extern ../moto/include ../container ../memutil'
-bop_env.Append (CPPPATH = [ '.',
- 'intern',
- 'extern',
- '#intern/moto/include',
- '#intern/container',
- '#intern/memutil'])
-
-bop_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_bop', source=source_files)
+env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype='common', priority = 5 )