]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #26899: MeshGems windows uses Visual C++ 2017
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 5 Jan 2022 14:02:25 +0000 (15:02 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 5 Jan 2022 14:02:25 +0000 (15:02 +0100)
products/compil_scripts/MeshGems.bat

index 21fc9666a7522283499f353131a4012af9301e4e..1a3e61602fbb8de6ace62b68c1ac532963013008 100755 (executable)
@@ -15,11 +15,10 @@ mkdir %BUILD_DIR%
 \r
 cd %SOURCE_DIR%\r
 \r
-set SRC_FOLDER=Win7_64_VC14\r
-\r
+set SRC_FOLDER_VC14=Win7_64_VC14\r
+set SRC_FOLDER_VC15=Win7_64_VC15\r
 cd DISTENE\MeshGems-*\Products\r
 \r
-echo SRC_FOLDER = %SRC_FOLDER%\r
 echo PRODUCT_INSTALL = %PRODUCT_INSTALL%\r
 \r
 rem ## Includes\r
@@ -30,6 +29,12 @@ if NOT %ERRORLEVEL% == 0 (
 )\r
 \r
 rem ## Lib\r
+set SRC_FOLDER=%SRC_FOLDER_VC15%\r
+if exist "%SRC_FOLDER_VC14%" (\r
+   set SRC_FOLDER=%SRC_FOLDER_VC14%\r
+)\r
+\r
+echo SRC_FOLDER = %SRC_FOLDER%\r
 echo. \r
 echo running command: xcopy lib\%SRC_FOLDER%\* %PRODUCT_INSTALL%\lib /E /I /Q /Y\r
 xcopy lib\%SRC_FOLDER%\* %PRODUCT_INSTALL%\lib /E /I /Q /Y\r