* make BulletSoftBody own small lib to make sure bullet libs don't grow too large...
[blender-staging.git] / intern / string / SConscript
index 16833832d0dba469178a84d22610e5632427d4fe..7f817f82759d2697d326ee86f3238a2849c2fa64 100644 (file)
@@ -1,11 +1,7 @@
 #!/usr/bin/python
-Import ('user_options_dict')
-Import ('library_env')
+Import ('env')
 
-string_env = library_env.Copy ()
+sources = env.Glob('intern/*.cpp')
+incs = '.'
 
-source_files = ['intern/STR_String.cpp']
-
-string_env.Append (CPPPATH = ['.', '../string'])
-
-string_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_STR', source=source_files)
+env.BlenderLib ('bf_string', sources, Split(incs), [], libtype=['core', 'player'], priority = [30,10] )