diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2016-03-15 03:57:39 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2016-03-15 03:57:39 +0000 |
commit | 26d978a556ae9099f6610ace9834991636e4a71b (patch) | |
tree | d8789c5afbe3920f3f7ef46ad73aa34f48173591 /third_party/srtp/install-win.bat | |
parent | 8b9358503884ec1901d807ff56c2fc588be896a2 (diff) |
Close #1847: Upgraded libsrtp version to 1.5.4 and added support for AES-CM-256 crypto.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5261 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/srtp/install-win.bat')
-rw-r--r-- | third_party/srtp/install-win.bat | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/third_party/srtp/install-win.bat b/third_party/srtp/install-win.bat new file mode 100644 index 00000000..d95d6d9f --- /dev/null +++ b/third_party/srtp/install-win.bat @@ -0,0 +1,31 @@ +:: Installs from srtp windows build directory to directory specified on +:: command line + + +@if "%1"=="" ( + echo "Usage: %~nx0 destdir" + exit /b 1 +) else ( + set destdir=%1 +) + +@if not exist %destdir% ( + echo %destdir% not found + exit /b 1 +) + +@for %%d in (include\srtp.h crypto\include\crypto.h Debug\srtp.lib Release\srtp.lib) do ( + if not exist "%%d" ( + echo "%%d not found: are you in the right directory?" + exit /b 1 + ) +) + +mkdir %destdir%\include +mkdir %destdir%\include\srtp +mkdir %destdir%\lib + +copy include\*.h %destdir%\include\srtp +copy crypto\include\*.h %destdir%\include\srtp +copy Release\srtp.lib %destdir%\lib\srtp.lib +copy Debug\srtp.lib %destdir%\lib\srtpd.lib |