diff options
Diffstat (limited to 'BuildTools/SCons/Tools/BuildVersion.py')
-rw-r--r-- | BuildTools/SCons/Tools/BuildVersion.py | 17 |
1 files changed, 0 insertions, 17 deletions
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 |