- [SCONS] Added building of qhull and Solid from extern when selecting the Solid...
[blender.git] / extern / qhull / SConscript
1 qhull_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('defines')
6 Import ('user_options_dict')
7 qhull_env.Append (CCFLAGS = cflags)
8 qhull_env.Append (CPPDEFINES = defines)
9
10 source_files = ['src/geom.c',
11                 'src/geom2.c',
12                 'src/global.c',
13                 'src/io.c',
14                 'src/mem.c',
15                 'src/merge.c',
16                 'src/poly.c',
17                 'src/poly2.c',
18                 'src/qhull.c',
19                 'src/qset.c',
20                 'src/stat.c',
21                 'src/user.c']
22
23 qhull_env.Append (CPPPATH = ['include',
24                              'src'])
25
26 qhull_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/extern_qhull', source=source_files)