diff options
Diffstat (limited to 'Swift/SConscript')
| -rw-r--r-- | Swift/SConscript | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Swift/SConscript b/Swift/SConscript index 566019c..31b0b94 100644 --- a/Swift/SConscript +++ b/Swift/SConscript | |||
| @@ -11,7 +11,11 @@ if env["SCONS_STAGE"] == "build" : | |||
| 11 | env["PROJECTS"].remove("Swift") | 11 | env["PROJECTS"].remove("Swift") |
| 12 | elif not GetOption("help") and not env.get("HAVE_QT", 0) : | 12 | elif not GetOption("help") and not env.get("HAVE_QT", 0) : |
| 13 | if "Swift" in env["PROJECTS"] : | 13 | if "Swift" in env["PROJECTS"] : |
| 14 | print "Warning: Swift requires Qt. Not building the Swift Qt application." | 14 | print "Warning: Swift requires Qt. Not building the Swift Qt application." |
| 15 | env["PROJECTS"].remove("Swift") | 15 | env["PROJECTS"].remove("Swift") |
| 16 | elif not GetOption("help") and env["target"] == "native": | 16 | elif not GetOption("help") and env["target"] == "native" and "Swift" in env["PROJECTS"] : |
| 17 | SConscript("QtUI/SConscript") | 17 | try : |
| 18 | SConscript("QtUI/SConscript") | ||
| 19 | except Exception as e: | ||
| 20 | print "Warning: %s" % str(e) | ||
| 21 | env["PROJECTS"].remove("Swift") | ||
Swift