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 'source/gameengine/SceneGraph/SConscript')
-rwxr-xr-xsource/gameengine/SceneGraph/SConscript20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/gameengine/SceneGraph/SConscript b/source/gameengine/SceneGraph/SConscript
new file mode 100755
index 00000000000..6f51bef7989
--- /dev/null
+++ b/source/gameengine/SceneGraph/SConscript
@@ -0,0 +1,20 @@
+sg_scenegraph_env = Environment()
+
+# Import the C flags set in the SConstruct file
+Import ('cflags')
+Import ('cxxflags')
+Import ('defines')
+sg_scenegraph_env.Append (CCFLAGS = cflags)
+sg_scenegraph_env.Append (CXXFLAGS = cxxflags)
+sg_scenegraph_env.Append (CPPDEFINES = defines)
+
+source_files = ['SG_Controller.cpp',
+ 'SG_IObject.cpp',
+ 'SG_Node.cpp',
+ 'SG_Spatial.cpp']
+
+sg_scenegraph_env.Append (CPPPATH=['.',
+ '#intern/moto/include'
+ ])
+
+sg_scenegraph_env.Library (target='#/lib/SG_SceneGraph', source=source_files)