mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
vs-cfg.cmd - update error message
To make it a bit more easier to understand what to do in cases like below (the solution is to provide generator explicitly: `run-cmake.bat vs2022-x64 -DADD_COMMIT_SHA=ON -DVERSION_OVERRIDE=ON`). ``` run-cmake.bat -DADD_COMMIT_SHA=ON -DVERSION_OVERRIDE=ON vs-cfg.cmd: The used CMake version does not support generator `-DADD_COMMIT_SHA` - cannot proceed. ```
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ IF "!GENERATOR!"=="" IF NOT "%VisualStudioVersion%"=="" (
|
|||||||
set GENERATOR_CHECK=%GENERATOR: Win64=%
|
set GENERATOR_CHECK=%GENERATOR: Win64=%
|
||||||
cmake --help | findstr /c:%GENERATOR_CHECK% >nul
|
cmake --help | findstr /c:%GENERATOR_CHECK% >nul
|
||||||
if not %ERRORLEVEL%==0 (
|
if not %ERRORLEVEL%==0 (
|
||||||
call utils\cecho.cmd 0 12 "%~nx0: The used CMake version does not support '`"!GENERATOR!`'"- cannot proceed."
|
call utils\cecho.cmd 0 12 "%~nx0: The used CMake version does not support generator '`"!GENERATOR!`'"- cannot proceed."
|
||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user