:Merge branch 'main' of ssh://codeberg.org/hculpan/3d-project-C-base
This commit is contained in:
commit
b587c8a1f3
1 changed files with 15 additions and 0 deletions
15
build.ps1
Normal file
15
build.ps1
Normal 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
|
||||||
Loading…
Reference in a new issue