mirror of https://github.com/axmolengine/axmol.git
fix cmake gen command for vs2019
This commit is contained in:
parent
9efff64c9e
commit
10e3965bf8
|
@ -1,5 +1,5 @@
|
|||
Set-PSDebug -Trace 1
|
||||
$python = "C:\\Python27\\python.exe"
|
||||
$python = "D:\\Python27\\python.exe"
|
||||
|
||||
Write-Host "Set environment"
|
||||
# gradlew
|
||||
|
@ -108,16 +108,16 @@ If ($env:build_type -eq "android_cpp_tests") {
|
|||
# if ($lastexitcode -ne 0) {throw} # mkdir return no-zero
|
||||
|
||||
Push-Location $env:APPVEYOR_BUILD_FOLDER\win32-build
|
||||
& cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
& cmake -A Win32 -DCMAKE_BUILD_TYPE=Release ..
|
||||
if ($lastexitcode -ne 0) {throw}
|
||||
|
||||
& cmake --build . --config Release --target cpp-tests
|
||||
if ($lastexitcode -ne 0) {throw}
|
||||
|
||||
& 7z a release_win32.7z $env:APPVEYOR_BUILD_FOLDER\win32-build\bin\
|
||||
if ($lastexitcode -ne 0) {throw}
|
||||
# & 7z a release_win32.7z $env:APPVEYOR_BUILD_FOLDER\win32-build\bin\
|
||||
# if ($lastexitcode -ne 0) {throw}
|
||||
|
||||
Push-AppveyorArtifact release_win32.7z
|
||||
# Push-AppveyorArtifact release_win32.7z
|
||||
Pop-Location
|
||||
}
|
||||
Else {
|
||||
|
|
Loading…
Reference in New Issue