Commit d07e91b7 authored by François Grisez's avatar François Grisez
Browse files

Fix ms2 SDK packaging

parent b4d475e6
......@@ -40,10 +40,12 @@ else()
set(MS2_GIT_REVISION "0.0.0")
endif()
install(DIRECTORY ${LINPHONE_OUTPUT_DIR}/
DESTINATION .
PATTERN bin/openh264.* EXCLUDE
)
if(WIN32)
set(ARCHIVE_NAME mediastreamer-sdk-${MS2_GIT_REVISION}-win32.zip)
execute_process(
COMMAND cmake -E tar cv ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME} --format=zip --files-from=${CMAKE_SOURCE_DIR}/mediastreamer-sdk.list .
WORKING_DIRECTORY ${LINPHONE_OUTPUT_DIR}
)
configure_file(WindowsSDKArchiver.cmake.in WindowsSDKArchiver.cmake @ONLY)
install(SCRIPT ${CMAKE_BINARY_DIR}/WindowsSDKArchiver.cmake)
endif()
find_program(7Z_PROGRAM 7z.exe)
set(ARCHIVE_NAME mediastreamer-sdk-@MS2_GIT_REVISION@-win32.zip)
execute_process(
COMMAND ${7Z_PROGRAM} a -tzip @CMAKE_BINARY_DIR@/${ARCHIVE_NAME} .
WORKING_DIRECTORY @CMAKE_INSTALL_PREFIX@
)
\ No newline at end of file
bin/avcodec-53.dll
bin/avutil-51.dll
bin/bzrtp.dll
bin/gsm.dll
bin/mediastreamer_base.dll
bin/mediastreamer_voip.dll
bin/opus.dll
bin/ortp.dll
bin/polarssl.dll
bin/speex.dll
bin/speexdsp.dll
bin/srtp.dll
bin/swresample-0.dll
bin/swscale-2.dll
include/bzrtp
include/gsm
include/libavcodec
include/libavutil
include/libswresample
include/libswscale
include/mediastreamer2
include/MSVC
include/opus
include/ortp
include/polarssl
include/speex
include/srtp
include/vpx
lib/avcodec-53.def
lib/avcodec.exp
lib/avcodec.lib
lib/avutil-51.def
lib/avutil.exp
lib/avutil.lib
lib/bzrtp.lib
lib/cmake/BZRTP
lib/cmake/Mediastreamer2
lib/cmake/oRTP
lib/gcc.lib
lib/gsm.lib
lib/libavcodec.dll.a
lib/libavutil.dll.a
lib/libswresample.dll.a
lib/libswscale.dll.a
lib/libvpx.a
lib/mediastreamer/plugins/libmsopenh264.dll
lib/mediastreamer/plugins/libmswasapi.dll
lib/mediastreamer/plugins/msopenh264.lib
lib/mediastreamer/plugins/mswasapi.lib
lib/mediastreamer_base.lib
lib/mediastreamer_voip.lib
lib/mingwex.lib
lib/opus.lib
lib/ortp.lib
lib/pkgconfig/libavcodec.pc
lib/pkgconfig/libavutil.pc
lib/pkgconfig/libswresample.pc
lib/pkgconfig/libswscale.pc
lib/pkgconfig/ortp.pc
lib/pkgconfig/speex.pc
lib/pkgconfig/speexdsp.pc
lib/pkgconfig/vpx.pc
lib/polarssl.lib
lib/speex.lib
lib/speexdsp.lib
lib/srtp.lib
lib/swresample-0.def
lib/swresample.exp
lib/swresample.lib
lib/swscale-2.def
lib/swscale.exp
lib/swscale.lib
lib/vpx.lib
share/cmake/Modules/FindPolarSSL.cmake
share/images/nowebcamCIF.jpg
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment