summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-17 12:35:26 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-18 19:11:46 (GMT)
commit92538a40518fd905ff32e399b41985e42bb0756d (patch)
tree2a6d472d0266e0ee7fd01bb4871505b4d2ffab96 /Swift/QtUI/SConscript
parentcb9097cdd2eba86d7388b6fc36b49224d46a9e6b (diff)
downloadswift-92538a40518fd905ff32e399b41985e42bb0756d.zip
swift-92538a40518fd905ff32e399b41985e42bb0756d.tar.bz2
Added explicit dependency for Windows resource file.
Diffstat (limited to 'Swift/QtUI/SConscript')
-rw-r--r--Swift/QtUI/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 5973673..8f99ef4 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -137,7 +137,10 @@ sources = [
myenv["SWIFT_VERSION"] = Version.getBuildVersion("swift")
if env["PLATFORM"] == "win32" :
- myenv.RES("../resources/Windows/Swift.rc")
+ res = myenv.RES("../resources/Windows/Swift.rc")
+ # For some reason, SCons isn't picking up the dependency correctly
+ # Adding it explicitly until i figure out why
+ myenv.Depends(res, "../Controllers/BuildVersion.h")
sources += [
"WindowsNotifier.cpp",
"../resources/Windows/Swift.res"