summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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))