Added batch script for generating build files

Also changed VSC launch names to be less confusing
This commit is contained in:
Pasha Bibko
2025-08-20 20:38:40 +01:00
parent 7b445ed382
commit e16dfc5ad9
2 changed files with 24 additions and 5 deletions

18
scripts/GenBuildFiles.bat Normal file
View File

@@ -0,0 +1,18 @@
@echo off
:: Makes sure the working directory is repo-root and not scripts/ ::
for %%I in ("%~dp0.") do set "SCRIPT_DIRNAME=%%~nxI"
if /i "%SCRIPT_DIRNAME%"=="scripts" (
cd /d "%~dp0.."
)
:: Creates and enters the build directory ::
mkdir build
cd build
:: Generates the build files (uses Ninja) ::
cmake .. -G Ninja