mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 02:08:23 +00:00
Update windows-build.ps1
This commit is contained in:
@@ -16,7 +16,7 @@ perl .\utils\scripts\build\tag-version.pl
|
|||||||
Write-Information -MessageData "Creating build x64" -InformationAction Continue
|
Write-Information -MessageData "Creating build x64" -InformationAction Continue
|
||||||
Set-Location -Path "$cwd\win-build-x64"
|
Set-Location -Path "$cwd\win-build-x64"
|
||||||
cmake -Wno-dev -G "Visual Studio 17 2022" -A x64 -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_ZLIB=ON "$cwd"
|
cmake -Wno-dev -G "Visual Studio 17 2022" -A x64 -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_ZLIB=ON "$cwd"
|
||||||
cmake --build . --config RelWithDebInfo --clean-first
|
cmake --build . --parallel --config RelWithDebInfo --clean-first
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|
||||||
if ($LASTEXITCODE -ne 0) { echo "Build emitted error"; exit 1 }
|
if ($LASTEXITCODE -ne 0) { echo "Build emitted error"; exit 1 }
|
||||||
|
|||||||
Reference in New Issue
Block a user