Initial feature commit
[anna.git] / dynamic / launcher / gx / 00001 / SConstruct
diff --git a/dynamic/launcher/gx/00001/SConstruct b/dynamic/launcher/gx/00001/SConstruct
new file mode 100644 (file)
index 0000000..bc482f0
--- /dev/null
@@ -0,0 +1,12 @@
+release = ARGUMENTS.get ('release', 0)
+
+Import ('env')
+
+# See http://stackoverflow.com/questions/4693826/scons-binary-directory
+if int(release):
+    result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
+else:
+    result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
+
+Return ('result')
+