* make BulletSoftBody own small lib to make sure bullet libs don't grow too large...
[blender-staging.git] / intern / string / SConscript
index abb02653e35098a087152b2ff94d6533d683b61a..7f817f82759d2697d326ee86f3238a2849c2fa64 100644 (file)
@@ -1,15 +1,7 @@
-string_env = Environment ()
+#!/usr/bin/python
+Import ('env')
 
-# Import the C flags set in the SConstruct file
-Import ('cflags')
-Import ('cxxflags')
-Import ('defines')
-string_env.Append (CCFLAGS = cflags)
-string_env.Append (CXXFLAGS = cxxflags)
-string_env.Append (CPPDEFINES = defines)
+sources = env.Glob('intern/*.cpp')
+incs = '.'
 
-source_files = ['intern/STR_String.cpp']
-
-string_env.Append (CPPPATH = ['.'])
-
-string_env.Library (target='#/lib/blender_STR', source=source_files)
+env.BlenderLib ('bf_string', sources, Split(incs), [], libtype=['core', 'player'], priority = [30,10] )