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/decimation/SConscript')
-rw-r--r--intern/decimation/SConscript22
1 files changed, 4 insertions, 18 deletions
diff --git a/intern/decimation/SConscript b/intern/decimation/SConscript
index 181efb4eaf9..4ba7dbdba4c 100644
--- a/intern/decimation/SConscript
+++ b/intern/decimation/SConscript
@@ -1,22 +1,8 @@
#!/usr/bin/python
-Import ('user_options_dict')
-Import ('library_env')
+Import ('env')
-dec_env = library_env.Copy ()
+sources = env.Glob('intern/*.cpp')
-source_files = ['intern/LOD_EdgeCollapser.cpp',
- 'intern/LOD_ExternNormalEditor.cpp',
- 'intern/LOD_FaceNormalEditor.cpp',
- 'intern/LOD_ManMesh2.cpp',
- 'intern/LOD_MeshPrimitives.cpp',
- 'intern/LOD_QSDecimator.cpp',
- 'intern/LOD_QuadricEditor.cpp',
- 'intern/LOD_decimation.cpp']
+incs = '. ../moto/include ../container ../memutil'
-dec_env.Append (CPPPATH = ['intern',
- 'extern',
- '../moto/include',
- '../container',
- '../memutil'])
-
-dec_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_LOD', source=source_files)
+env.BlenderLib ('blender_LOD', sources, Split(incs) , [], libtype=['core','common', 'player2'], priority = [10, 20, 5] )