blob: d95d6d9f4d5b601e966e9916c93065d13c6bd085 [file] [log] [blame]
Jonathan Lennoxab2a82d2010-05-15 00:24:10 +00001:: Installs from srtp windows build directory to directory specified on
2:: command line
3
4
5@if "%1"=="" (
6 echo "Usage: %~nx0 destdir"
7 exit /b 1
8) else (
9 set destdir=%1
10)
11
12@if not exist %destdir% (
13 echo %destdir% not found
14 exit /b 1
15)
16
17@for %%d in (include\srtp.h crypto\include\crypto.h Debug\srtp.lib Release\srtp.lib) do (
18 if not exist "%%d" (
19 echo "%%d not found: are you in the right directory?"
20 exit /b 1
21 )
22)
23
24mkdir %destdir%\include
25mkdir %destdir%\include\srtp
26mkdir %destdir%\lib
27
28copy include\*.h %destdir%\include\srtp
29copy crypto\include\*.h %destdir%\include\srtp
30copy Release\srtp.lib %destdir%\lib\srtp.lib
31copy Debug\srtp.lib %destdir%\lib\srtpd.lib