summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-15 18:27:53 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-15 18:27:53 (GMT)
commitfd42772e5afbd3c8d70fd5fc6fabb88f2d28c390 (patch)
tree5284e0202d771b4635607b4dfc074408dda33a8d /BuildTools/SCons
parentc6eb5912b471c17f9bd0e8dd647a00b8a2e37d08 (diff)
downloadswift-contrib-fd42772e5afbd3c8d70fd5fc6fabb88f2d28c390.zip
swift-contrib-fd42772e5afbd3c8d70fd5fc6fabb88f2d28c390.tar.bz2
Ensure Swift name is displayed in Windows systray.
Resolves: #515
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/Tools/BuildVersion.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/Tools/BuildVersion.py b/BuildTools/SCons/Tools/BuildVersion.py
index 5edc79e..8b195cd 100644
--- a/BuildTools/SCons/Tools/BuildVersion.py
+++ b/BuildTools/SCons/Tools/BuildVersion.py
@@ -7,6 +7,7 @@ def generate(env) :
buildVersion = """#pragma once
static const char* buildVersion = \"%(buildVersion)s\";\n
+#define SWIFT_VERSION_STRING \"%(buildVersion)s\";\n
""" % { "buildVersion" : Version.getBuildVersion(project) }
env.WriteVal(target, env.Value(buildVersion))