From 49fcdb1a9dd4f9fa4d804cc6c923d97718f1c1ca Mon Sep 17 00:00:00 2001 From: Harry Culpan Date: Thu, 23 Jul 2026 18:31:24 -0400 Subject: [PATCH] Added build.ps1 for Windows target, just because I'll forget the compile command on Windows --- build.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 build.ps1 diff --git a/build.ps1 b/build.ps1 new file mode 100644 index 0000000..a31579e --- /dev/null +++ b/build.ps1 @@ -0,0 +1,15 @@ +# build.ps1 - configure and build the project (Windows/MSVC) + +cmake -B build +if ($LASTEXITCODE -ne 0) { + Write-Error "CMake configure failed." + exit $LASTEXITCODE +} + +cmake --build build --config Debug +if ($LASTEXITCODE -ne 0) { + Write-Error "Build failed." + exit $LASTEXITCODE +} + +Write-Host "Build succeeded: build\Debug\hello3d.exe" -ForegroundColor Green \ No newline at end of file