X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=dynamic%2Flauncher%2Fdefault%2FSConstruct;fp=dynamic%2Flauncher%2Fdefault%2FSConstruct;h=bc482f0772a8f9038471f747380b226dd71c6878;hp=0000000000000000000000000000000000000000;hb=8b3eb3637cbe90fbabe70ec5667cce58cb7e368b;hpb=5e6cbe34594884c65483235a5d782fe5717cdce6 diff --git a/dynamic/launcher/default/SConstruct b/dynamic/launcher/default/SConstruct new file mode 100644 index 0000000..bc482f0 --- /dev/null +++ b/dynamic/launcher/default/SConstruct @@ -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') +