From 623dbac01d0f0f51ddc520bd2a34a4dd8b808851 Mon Sep 17 00:00:00 2001 From: Viktor Kovacs Date: Sat, 30 Nov 2024 14:17:31 +0100 Subject: [PATCH] Add debug and release build tool. --- tools/build_native_win_debug.bat | 12 ++++++++++++ .../{build_win.bat => build_native_win_release.bat} | 0 2 files changed, 12 insertions(+) create mode 100644 tools/build_native_win_debug.bat rename tools/{build_win.bat => build_native_win_release.bat} (100%) diff --git a/tools/build_native_win_debug.bat b/tools/build_native_win_debug.bat new file mode 100644 index 0000000..3c0aed7 --- /dev/null +++ b/tools/build_native_win_debug.bat @@ -0,0 +1,12 @@ +pushd %~dp0\.. + +call cmake -B build -G "Visual Studio 17 2022" . || goto :error +call cmake --build build --config Debug || goto :error + +popd +exit /b 0 + +:error +echo Build Failed with Error %errorlevel%. +popd +exit /b 1 diff --git a/tools/build_win.bat b/tools/build_native_win_release.bat similarity index 100% rename from tools/build_win.bat rename to tools/build_native_win_release.bat