Added build.ps1 for Windows target, just because I'll forget the compile command on Windows

This commit is contained in:
Harry Culpan 2026-07-23 18:31:24 -04:00
parent c79a4d88b8
commit 49fcdb1a9d

15
build.ps1 Normal file
View file

@ -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