summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/SConscript')
-rw-r--r--Swift/SConscript15
1 files changed, 8 insertions, 7 deletions
diff --git a/Swift/SConscript b/Swift/SConscript
index 1460091..8f1fa26 100644
--- a/Swift/SConscript
+++ b/Swift/SConscript
@@ -2,14 +2,15 @@ import datetime
Import("env")
-if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) :
- print "Error: Swift requires OpenSSL support, and OpenSSL was not found."
- Exit(1)
+SConscript("Controllers/SConscript")
+if env["SCONS_STAGE"] == "build" :
+ if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) :
+ print "Error: Swift requires OpenSSL support, and OpenSSL was not found."
+ Exit(1)
-env["SWIFT_VERSION"] = "0.9.9." + datetime.date.today().strftime("%Y%m%d")
-SConscript("Controllers/SConscript")
+ env["SWIFT_VERSION"] = "0.9.9." + datetime.date.today().strftime("%Y%m%d")
-if env["target"] == "native":
- SConscript("QtUI/SConscript")
+ if env["target"] == "native":
+ SConscript("QtUI/SConscript")