summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-07-03 08:41:38 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 08:53:12 (GMT)
commit63f031be6dc042ea7d769d5de283af466399371e (patch)
tree9386d5be56a60f41f4636cc2460b736a654585db /Swiften/ScreenSharing/SConscript
parent9af0239df10283e03ace0a6a9d719bbe8dc32398 (diff)
downloadswift-contrib-63f031be6dc042ea7d769d5de283af466399371e.zip
swift-contrib-63f031be6dc042ea7d769d5de283af466399371e.tar.bz2
Abstract layer between Swiften & JRTPLIB
Diffstat (limited to 'Swiften/ScreenSharing/SConscript')
-rw-r--r--Swiften/ScreenSharing/SConscript14
1 files changed, 12 insertions, 2 deletions
diff --git a/Swiften/ScreenSharing/SConscript b/Swiften/ScreenSharing/SConscript
index 3658173..cc757a5 100644
--- a/Swiften/ScreenSharing/SConscript
+++ b/Swiften/ScreenSharing/SConscript
@@ -8,6 +8,16 @@ sources = [
"VP8RTPParser.cpp",
]
-swiften_env.Append(SWIFTEN_OBJECTS = swiften_env.SwiftenObject(sources))
+objects = swiften_env.SwiftenObject(sources)
-env.Append(UNITTEST_SOURCES = [])
+if swiften_env["experimental"] :
+ # JRTPLIB classes
+ jrtplib_env = swiften_env.Clone()
+ jrtplib_env.Append(CPPDEFINES = jrtplib_env["JRTPLIB_FLAGS"].get("INTERNAL_CPPDEFINES", []))
+ objects += jrtplib_env.SwiftenObject([
+ "RTPSessionImpl.cpp",
+ ])
+
+swiften_env.Append(SWIFTEN_OBJECTS = [objects])
+
+#env.Append(UNITTEST_SOURCES = [])