SCons updates
[blender-staging.git] / intern / iksolver / SConscript
1 iksolver_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 Import ('user_options_dict')
8 iksolver_env.Append (CCFLAGS = cflags)
9 iksolver_env.Append (CXXFLAGS = cxxflags)
10 iksolver_env.Append (CPPDEFINES = defines)
11
12 source_files = ['intern/IK_QChain.cpp',
13                 'intern/IK_QJacobianSolver.cpp',
14                 'intern/IK_QSegment.cpp',
15                 'intern/IK_Solver.cpp',
16                 'intern/MT_ExpMap.cpp']
17
18 iksolver_env.Append (CPPPATH = ['intern',
19                                 '../moto/include',
20                                 '../memutil'])
21
22 iksolver_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_IK', source=source_files)