From fe502dd30b5c55c435ea36968ce2787c9055c739 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 5 Jan 2022 15:02:25 +0100 Subject: [PATCH] spns #26899: MeshGems windows uses Visual C++ 2017 --- products/compil_scripts/MeshGems.bat | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/products/compil_scripts/MeshGems.bat b/products/compil_scripts/MeshGems.bat index 21fc966..1a3e616 100755 --- a/products/compil_scripts/MeshGems.bat +++ b/products/compil_scripts/MeshGems.bat @@ -15,11 +15,10 @@ mkdir %BUILD_DIR% cd %SOURCE_DIR% -set SRC_FOLDER=Win7_64_VC14 - +set SRC_FOLDER_VC14=Win7_64_VC14 +set SRC_FOLDER_VC15=Win7_64_VC15 cd DISTENE\MeshGems-*\Products -echo SRC_FOLDER = %SRC_FOLDER% echo PRODUCT_INSTALL = %PRODUCT_INSTALL% rem ## Includes @@ -30,6 +29,12 @@ if NOT %ERRORLEVEL% == 0 ( ) rem ## Lib +set SRC_FOLDER=%SRC_FOLDER_VC15% +if exist "%SRC_FOLDER_VC14%" ( + set SRC_FOLDER=%SRC_FOLDER_VC14% +) + +echo SRC_FOLDER = %SRC_FOLDER% echo. echo running command: xcopy lib\%SRC_FOLDER%\* %PRODUCT_INSTALL%\lib /E /I /Q /Y xcopy lib\%SRC_FOLDER%\* %PRODUCT_INSTALL%\lib /E /I /Q /Y -- 2.39.2