diff options
Diffstat (limited to 'BuildTools/SCons/Tools/BuildVersion.py')
m--------- | BuildTools | 0 | ||||
-rw-r--r-- | BuildTools/SCons/Tools/BuildVersion.py | 17 |
2 files changed, 0 insertions, 17 deletions
diff --git a/BuildTools b/BuildTools new file mode 160000 +Subproject b6864b9b41e259534e2889693422f5a3f36f2b4 diff --git a/BuildTools/SCons/Tools/BuildVersion.py b/BuildTools/SCons/Tools/BuildVersion.py deleted file mode 100644 index 530ef8a..0000000 --- a/BuildTools/SCons/Tools/BuildVersion.py +++ /dev/null @@ -1,17 +0,0 @@ -import SCons.Util - -import Version - -def generate(env) : - def createBuildVersion(env, target, version = None) : - buildVersion = """#pragma once - -static const char* buildVersion = \"%(buildVersion)s\";\n -""" % { "buildVersion" : Version.getBuildVersion(version) } - env.WriteVal(target, env.Value(buildVersion)) - - env.AddMethod(createBuildVersion, "BuildVersion") - - -def exists(env) : - return true |