diff options
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/SConscript | 4 | ||||
-rw-r--r-- | Swift/SConscript | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index d4acc50..b35668b 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -109,7 +109,9 @@ sources = [ ] -myenv.BuildVersion("BuildVersion.h", version = env["SWIFT_VERSION"]) +env["SWIFT_VERSION"] = Version.getBuildVersion("swift") +print env["SWIFT_VERSION"] +myenv.BuildVersion("BuildVersion.h", project = "swift") if env["PLATFORM"] == "win32" : myenv.RES("../resources/Windows/Swift.rc") diff --git a/Swift/SConscript b/Swift/SConscript index 8f1fa26..0064eee 100644 --- a/Swift/SConscript +++ b/Swift/SConscript @@ -9,8 +9,5 @@ if env["SCONS_STAGE"] == "build" : 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") - if env["target"] == "native": SConscript("QtUI/SConscript") |