From: Nabil Ghodbane Date: Mon, 9 May 2022 08:54:52 +0000 (+0200) Subject: spns #24762: MeshGems documentation missing in Windows X-Git-Tag: V9_9_0~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b3cceb3f3859914acf835eb6743e6c72cbecbc6;p=tools%2Fsat_salome.git spns #24762: MeshGems documentation missing in Windows --- diff --git a/products/compil_scripts/MeshGems.bat b/products/compil_scripts/MeshGems.bat index 5e86cf1..82ea574 100755 --- a/products/compil_scripts/MeshGems.bat +++ b/products/compil_scripts/MeshGems.bat @@ -8,6 +8,7 @@ if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL% if NOT exist "%PRODUCT_INSTALL%\bin" mkdir %PRODUCT_INSTALL%\bin if NOT exist "%PRODUCT_INSTALL%\lib" mkdir %PRODUCT_INSTALL%\lib if NOT exist "%PRODUCT_INSTALL%\include" mkdir %PRODUCT_INSTALL%\include +if NOT exist "%PRODUCT_INSTALL%\Docs" mkdir %PRODUCT_INSTALL%\Docs REM clean BUILD directory if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR% @@ -21,14 +22,14 @@ cd DISTENE\MeshGems-*\Products echo PRODUCT_INSTALL = %PRODUCT_INSTALL% -rem ## Includes +REM xcopy include\* %PRODUCT_INSTALL%\include /E /I /Q /Y if NOT %ERRORLEVEL% == 0 ( echo ERROR on copying include exit 1 ) -rem ## Lib +REM set SRC_FOLDER=%SRC_FOLDER_VC15% if exist "lib\%SRC_FOLDER_VC14%" ( set SRC_FOLDER=%SRC_FOLDER_VC14% @@ -43,7 +44,7 @@ if NOT %ERRORLEVEL% == 0 ( exit 2 ) -rem ## Bin +REM echo. echo running command: bin\%SRC_FOLDER%\* %PRODUCT_INSTALL%\bin /E /I /Q /Y xcopy bin\%SRC_FOLDER%\* %PRODUCT_INSTALL%\bin /E /I /Q /Y @@ -52,5 +53,13 @@ if NOT %ERRORLEVEL% == 0 ( exit 3 ) +REM +echo. +xcopy Docs\* %PRODUCT_INSTALL%\Docs /E /I /Q /Y +if NOT %ERRORLEVEL% == 0 ( + echo ERROR on copying Docs + exit 4 +) + echo. echo ########## END