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 'extern/qhull')
-rw-r--r--extern/qhull/SConscript26
1 files changed, 26 insertions, 0 deletions
diff --git a/extern/qhull/SConscript b/extern/qhull/SConscript
new file mode 100644
index 00000000000..3af54e31e62
--- /dev/null
+++ b/extern/qhull/SConscript
@@ -0,0 +1,26 @@
+qhull_env = Environment()
+
+# Import the C flags set in the SConstruct file
+Import ('cflags')
+Import ('defines')
+Import ('user_options_dict')
+qhull_env.Append (CCFLAGS = cflags)
+qhull_env.Append (CPPDEFINES = defines)
+
+source_files = ['src/geom.c',
+ 'src/geom2.c',
+ 'src/global.c',
+ 'src/io.c',
+ 'src/mem.c',
+ 'src/merge.c',
+ 'src/poly.c',
+ 'src/poly2.c',
+ 'src/qhull.c',
+ 'src/qset.c',
+ 'src/stat.c',
+ 'src/user.c']
+
+qhull_env.Append (CPPPATH = ['include',
+ 'src'])
+
+qhull_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/extern_qhull', source=source_files)