10 lines
397 B
Batchfile
10 lines
397 B
Batchfile
@echo off
|
|||
|
|
setlocal
|
||
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||
|
|
set "NINJA=C:\Program Files\JetBrains\CLion 2026.1.3\bin\ninja\win\x64\ninja.exe"
|
||
|
|
cmake -G Ninja -S . -B cmake-build-release -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM="%NINJA%"
|
||
|
|
if errorlevel 1 exit /b 1
|
||
|
|
cmake --build cmake-build-release
|
||
|
|
if errorlevel 1 exit /b 1
|
||
|
|
echo BUILD_OK
|