summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-09-29 18:42:10 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-09-29 18:42:10 (GMT)
commit4b4ab66118545e55e69e15cd340d0ddf92adcc2d (patch)
tree707889d1eb9a61a3a1161edff8bba86d583c9b1e /Swiften/Examples/NetworkTool
parentb047c7493f192dfaa190ff259653a44c60058cea (diff)
downloadswift-contrib-4b4ab66118545e55e69e15cd340d0ddf92adcc2d.zip
swift-contrib-4b4ab66118545e55e69e15cd340d0ddf92adcc2d.tar.bz2
Conditionally create NetworkTool.
Diffstat (limited to 'Swiften/Examples/NetworkTool')
-rw-r--r--Swiften/Examples/NetworkTool/SConscript13
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"
+ ])