forked from linkingvision/h5stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelwin32.bat
22 lines (18 loc) · 864 Bytes
/
relwin32.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
for /f "tokens=3 usebackq" %%G in (h5slib\include\confver.hpp) do set H5S_VER=%%G
echo %H5S_VER%
set H5S_VER=r1.0.1112.16
set H5S_VER_PHASE=release
mkdir H5S-%H5S_VER%-win32-%H5S_VER_PHASE%
mkdir H5S-%H5S_VER%-win32-%H5S_VER_PHASE%\www
mkdir H5S-%H5S_VER%-win32-%H5S_VER_PHASE%\ssl
REM copy dir from hss
del h5ss\prj_win32\Release\*.obj /f /s /q
del h5ss\prj_win32\Release\*.log /f /s /q
del h5ss\prj_win32\Release\*.pdb /f /s /q
RD /S /Q h5ss\prj_win32\Release\h5ss.tlog
xcopy /y /e h5ss\prj_win32\Release H5S-%H5S_VER%-win32-%H5S_VER_PHASE%
xcopy /y /e 3rdparty\windows\vs2013\x86 H5S-%H5S_VER%-win32-%H5S_VER_PHASE%
REM copy dir from www ssl bat
xcopy /y /e h5ss\www H5S-%H5S_VER%-win32-%H5S_VER_PHASE%\www
xcopy /y /e h5ss\ssl H5S-%H5S_VER%-win32-%H5S_VER_PHASE%\ssl
xcopy /y h5ss\h5ss.bat H5S-%H5S_VER%-win32-%H5S_VER_PHASE%