summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-11 20:13:34 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-11 20:13:34 (GMT)
commitf0e5d24935ee8252d34b1dd791d7d8bb615f1889 (patch)
tree00b26dc73071bedc963d7e240786b77add2f38be /SConstruct
parentc6ee342203e719572a2f9e371eac3bb85770988e (diff)
downloadswift-contrib-f0e5d24935ee8252d34b1dd791d7d8bb615f1889.zip
swift-contrib-f0e5d24935ee8252d34b1dd791d7d8bb615f1889.tar.bz2
Add NSIS support to scons file.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index fb940ab..a6b64cf 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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"] :