diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-28 19:56:17 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-28 19:56:51 (GMT) |
commit | ca35957a3090dc38cfb71496e9d2d4016bb1bc9b (patch) | |
tree | 008bedd0de3e98be046524f572a196eadbe5e1ba /SConstruct | |
parent | 17444b1ad6e3a14b3fb3c194ba60042ad29c2c03 (diff) | |
download | swift-ca35957a3090dc38cfb71496e9d2d4016bb1bc9b.zip swift-ca35957a3090dc38cfb71496e9d2d4016bb1bc9b.tar.bz2 |
Add SCons tool to dump build version in a file.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,4 +1,5 @@ import sys, os +sys.path.append(Dir("BuildTools/SCons").abspath) ################################################################################ # Build variables @@ -33,6 +34,8 @@ Help(vars.GenerateHelpText(env)) env.Alias("dist", ["."]) # Default custom tools +env.Tool("WriteVal", toolpath = ["#/BuildTools/SCons/Tools"]) +env.Tool("BuildVersion", toolpath = ["#/BuildTools/SCons/Tools"]) if env["PLATFORM"] == "darwin" : env.Tool("Nib", toolpath = ["#/BuildTools/SCons/Tools"]) env.Tool("AppBundle", toolpath = ["#/BuildTools/SCons/Tools"]) |