if NOT exist "%PRODUCT_INSTALL%\bin" mkdir %PRODUCT_INSTALL%\bin\r
if NOT exist "%PRODUCT_INSTALL%\lib" mkdir %PRODUCT_INSTALL%\lib\r
if NOT exist "%PRODUCT_INSTALL%\include" mkdir %PRODUCT_INSTALL%\include\r
+if NOT exist "%PRODUCT_INSTALL%\Docs" mkdir %PRODUCT_INSTALL%\Docs\r
\r
REM clean BUILD directory\r
if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%\r
\r
echo PRODUCT_INSTALL = %PRODUCT_INSTALL%\r
\r
-rem ## Includes\r
+REM\r
xcopy include\* %PRODUCT_INSTALL%\include /E /I /Q /Y\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on copying include\r
exit 1\r
)\r
\r
-rem ## Lib\r
+REM\r
set SRC_FOLDER=%SRC_FOLDER_VC15%\r
if exist "lib\%SRC_FOLDER_VC14%" (\r
set SRC_FOLDER=%SRC_FOLDER_VC14%\r
exit 2\r
)\r
\r
-rem ## Bin\r
+REM\r
echo. \r
echo running command: bin\%SRC_FOLDER%\* %PRODUCT_INSTALL%\bin /E /I /Q /Y\r
xcopy bin\%SRC_FOLDER%\* %PRODUCT_INSTALL%\bin /E /I /Q /Y\r
exit 3\r
)\r
\r
+REM\r
+echo.\r
+xcopy Docs\* %PRODUCT_INSTALL%\Docs /E /I /Q /Y\r
+if NOT %ERRORLEVEL% == 0 (\r
+ echo ERROR on copying Docs\r
+ exit 4\r
+)\r
+\r
echo.\r
echo ########## END\r