Salome HOME
merge from master
[tools/sat_salome.git] / products / compil_scripts / cgns.bat
index 20d94978829bb8a76af0792ab3f5ddc7005637ad..d7994cb79789b95dec4d34e2914f6eec9897fc23 100755 (executable)
@@ -11,9 +11,9 @@ IF NOT DEFINED SAT_DEBUG (
 SET PRODUCT_BUILD_TYPE=Release
 
 REM TODO: NGH: not Tested yet
-REM if %SAT_DEBUG% == 1 (
-REM   set PRODUCT_BUILD_TYPE=Debug
-REM )
+if %SAT_DEBUG% == 1 (
+  set PRODUCT_BUILD_TYPE=Debug
+)
 
 if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
 
@@ -32,6 +32,11 @@ if DEFINED SAT_HPC (
 ) else (
        SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DMEDFILE_USE_MPI:BOOL=OFF
 )
+REM bos #26398
+if "%VERSION%" == "4.2.0" (
+    SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCGNS_ENABLE_64BIT:BOOL=OFF
+)
+
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_GENERATOR="Visual Studio 15 2017 Win64"