diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-05-25 20:46:13 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-05-25 20:54:53 (GMT) |
commit | 95a8998917591fdd77009f606bd55ece22f84950 (patch) | |
tree | cf6d1025c17599ecc2ec4bdabddf24b9719ce941 /Swift/QtUI/SConscript | |
parent | ee9eff16cd7024bdbd889bab7612c63bcfe3cbe9 (diff) | |
download | swift-95a8998917591fdd77009f606bd55ece22f84950.zip swift-95a8998917591fdd77009f606bd55ece22f84950.tar.bz2 |
Pick up build version from git tag (if present).
Diffstat (limited to 'Swift/QtUI/SConscript')
-rw-r--r-- | Swift/QtUI/SConscript | 4 |
1 files changed, 3 insertions, 1 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") |