diff options
Diffstat (limited to 'Swiften/ScreenSharing/SConscript')
-rw-r--r-- | Swiften/ScreenSharing/SConscript | 14 |
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 = []) |