[cig-commits] commit: Adding a SConscript to gLucifer.

Mercurial hg at geodynamics.org
Mon Nov 24 11:29:16 PST 2008


changeset:   43:c884e6e8b26d
user:        LukeHodkinson
date:        Wed Feb 06 00:43:33 2008 +0000
files:       SConscript
description:
Adding a SConscript to gLucifer.


diff -r 7b6734132e27 -r c884e6e8b26d SConscript
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SConscript	Wed Feb 06 00:43:33 2008 +0000
@@ -0,0 +1,33 @@
+Import('env')
+
+# Need to copy the environment for use here.
+env = env.Copy()
+
+# Add some extra stuff.
+env.proj = 'glucifer'
+env.Append(CPPPATH=['#build/include/' + env.proj])
+
+#
+# Target specification section.
+#
+
+env.build_directory('Base')
+env.build_directory('Windowing')
+env.build_directory('RenderingEngines')
+env.build_directory('OutputFormats')
+env.build_directory('InputFormats')
+env.build_directory('DrawingObjects')
+env.build_directory('WindowInteractions')
+
+env.build_headers(env.glob('libglucifer/src/*.h'), 'glucifer')
+env.build_objects(env.glob('libglucifer/src/*.c'), 'libglucifer')
+env.build_metadata(env.glob('libglucifer/src/*.meta'), 'libglucifer')
+
+env.build_library(env.get_hnodes(env.SharedObject), 'glucifer')
+
+env.build_tests(env.glob('libglucifer/tests/test*.c'),
+                'glucifer', libs='glucifer')
+
+env.build_plugin('plugins/lucPlugin', 'lucPlugin')
+
+env.build_xmls(env.glob('ModelComponents/*.xml'), 'StGermain/gLucifer')



More information about the CIG-COMMITS mailing list