diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-09-29 18:42:10 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-09-29 18:42:10 (GMT) |
commit | 4b4ab66118545e55e69e15cd340d0ddf92adcc2d (patch) | |
tree | 707889d1eb9a61a3a1161edff8bba86d583c9b1e /Swiften/Examples | |
parent | b047c7493f192dfaa190ff259653a44c60058cea (diff) | |
download | swift-4b4ab66118545e55e69e15cd340d0ddf92adcc2d.zip swift-4b4ab66118545e55e69e15cd340d0ddf92adcc2d.tar.bz2 |
Conditionally create NetworkTool.
Diffstat (limited to 'Swiften/Examples')
-rw-r--r-- | Swiften/Examples/NetworkTool/SConscript | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Swiften/Examples/NetworkTool/SConscript b/Swiften/Examples/NetworkTool/SConscript index 0b27f0d..38622ff 100644 --- a/Swiften/Examples/NetworkTool/SConscript +++ b/Swiften/Examples/NetworkTool/SConscript @@ -1,9 +1,10 @@ Import("env") -myenv = env.Clone() -myenv.MergeFlags(myenv["SWIFTEN_FLAGS"]) -myenv.MergeFlags(myenv["SWIFTEN_DEP_FLAGS"]) +if env["experimental"] : + myenv = env.Clone() + myenv.MergeFlags(myenv["SWIFTEN_FLAGS"]) + myenv.MergeFlags(myenv["SWIFTEN_DEP_FLAGS"]) -linkLocalTool = myenv.Program("NetworkTool", [ - "main.cpp" - ]) + linkLocalTool = myenv.Program("NetworkTool", [ + "main.cpp" + ]) |