diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-11 20:13:34 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-11 20:13:34 (GMT) |
commit | f0e5d24935ee8252d34b1dd791d7d8bb615f1889 (patch) | |
tree | 00b26dc73071bedc963d7e240786b77add2f38be /SConstruct | |
parent | c6ee342203e719572a2f9e371eac3bb85770988e (diff) | |
download | swift-f0e5d24935ee8252d34b1dd791d7d8bb615f1889.zip swift-f0e5d24935ee8252d34b1dd791d7d8bb615f1889.tar.bz2 |
Add NSIS support to scons file.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,8 @@ if os.name != "nt" : vars.Add(BoolVariable("coverage", "Compile with coverage information", "no")) if os.name == "mac" : vars.Add(BoolVariable("universal", "Create universal binaries", "no")) +if os.name == "nt" : + vars.Add(PathVariable("vcredist", "MSVC redistributable dir", "", PathVariable.PathAccept)) vars.Add(PackageVariable("openssl", "OpenSSL location", "yes")) vars.Add(PathVariable("qt", "Qt location", "", PathVariable.PathAccept)) @@ -22,6 +24,7 @@ vars.Add(PathVariable("qt", "Qt location", "", PathVariable.PathAccept)) env = Environment(CPPPATH = "#", ENV = {'PATH' : os.environ['PATH']}, variables = vars) Help(vars.GenerateHelpText(env)) +env.Alias("dist", ["."]) # Default compiler flags if env["optimize"] : |