echo *** Installation into %PRODUCT_INSTALL%\r
echo --------------------------------------------------------------------------\r
\r
-robocopy nglib\%PRODUCT_BUILD_TYPE% %PRODUCT_INSTALL%\bin "*.exe" /E /NP /NFL /NDL /NS /NC\r
-if NOT %ERRORLEVEL% == 1 (\r
+copy /B /Y nglib\%PRODUCT_BUILD_TYPE%\*.exe %PRODUCT_INSTALL%\bin\\r
+if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install executables\r
exit 3\r
)\r
\r
-robocopy nglib\%PRODUCT_BUILD_TYPE% %PRODUCT_INSTALL%\lib "*.lib" "*.dll" /E /NP /NFL /NDL /NS /NC\r
-if NOT %ERRORLEVEL% == 1 (\r
- echo ERROR on install libraries\r
+copy /B /Y nglib\%PRODUCT_BUILD_TYPE%\*.lib %PRODUCT_INSTALL%\lib\\r
+if NOT %ERRORLEVEL% == 0 (\r
+ echo ERROR on install static libraries \r
+ exit 4\r
+)\r
+\r
+copy /B /Y nglib\%PRODUCT_BUILD_TYPE%\*.dll %PRODUCT_INSTALL%\lib\\r
+if NOT %ERRORLEVEL% == 0 (\r
+ echo ERROR on install dynamic libraries\r
exit 4\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\meshing\*.h* %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\meshing\*.h* %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install meshing includes\r
exit 5\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\gprim\*.h* %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\gprim\*.h* %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install gprim includes\r
exit 6\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\general\*.h* %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\general\*.h* %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install general includes\r
exit 7\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\linalg\*.h* %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\linalg\*.h* %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install linalg includes\r
exit 8\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\occ\*.h* %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\occ\*.h* %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install occ includes\r
exit 9\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\include\mydefs.hpp %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\include\mydefs.hpp %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install mydefs.hpp\r
exit 10\r
)\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\include\mystdlib.h %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\include\mystdlib.h %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install mystdlib.h\r
exit 11\r
)\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\include\nginterface.h %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\include\nginterface.h %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install nginterface.h\r
exit 12\r
)\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\include\nginterface_V2.hpp %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\include\nginterface_V2.hpp %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install nginterface_V2.hpp\r
exit 13\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\nglib\nglib.h %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\nglib\nglib.h %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install nglib.h\r
exit 14\r
)\r
\r
-xcopy /q /r /Y %SOURCE_DIR%\libsrc\include\stlgeom.hpp %PRODUCT_INSTALL%\include\r
+xcopy /Q /R /Y %SOURCE_DIR%\libsrc\stlgeom\stlgeom.hpp %PRODUCT_INSTALL%\include\r
if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install stlgeom\r
exit 15\r
)\r
\r
-robocopy %SOURCE_DIR%\cmake %PRODUCT_INSTALL%\cmake "*.cmake" /E /NP /NFL /NDL /NS /NC\r
-if NOT %ERRORLEVEL% == 1 (\r
+xcopy /Q /R /Y %SOURCE_DIR%\cmake\*.cmake %PRODUCT_INSTALL%\cmake\r
+if NOT %ERRORLEVEL% == 0 (\r
echo ERROR on install cmake files\r
exit 16\r
)\r
+\r
taskkill /F /IM "mspdbsrv.exe"\r
\r
\r