4 set CONFIGURATIONNAME=%2
6 REM strip off the trailing and leading " by dropping those characters
7 set PLATFORMNAME=%PLATFORMNAME:~1,-1%
8 set CONFIGURATIONNAME=%CONFIGURATIONNAME:~1,-1%
10 echo PLATFORMNAME=%PLATFORMNAME%
11 echo CONFIGURATIONNAME=%CONFIGURATIONNAME%
13 IF NOT EXIST dist md dist
14 IF NOT EXIST dist\include md dist\include
15 IF NOT EXIST dist\include\barry (
16 echo Creating barry directory
20 REM install the headers
111 echo Installing %%H header
112 copy ..\src\%%H dist\include\barry
115 REM install the binaries
116 IF NOT EXIST "dist\%PLATFORMNAME%" md "dist\%PLATFORMNAME%"
117 IF NOT EXIST "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%" md "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%"
118 echo Copying libraries
119 copy "%CONFIGURATIONNAME%\%PLATFORMNAME%\libbarry.lib" "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%"
120 copy "%CONFIGURATIONNAME%\%PLATFORMNAME%\libbarry.dll" "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%"