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
|
Set-PSDebug -Trace 1
|
||||||
$python = "C:\\Python27\\python.exe"
|
$python = "D:\\Python27\\python.exe"
|
||||||
|
|
||||||
Write-Host "Set environment"
|
Write-Host "Set environment"
|
||||||
# gradlew
|
# gradlew
|
||||||
|
@ -108,16 +108,16 @@ If ($env:build_type -eq "android_cpp_tests") {
|
||||||
# if ($lastexitcode -ne 0) {throw} # mkdir return no-zero
|
# if ($lastexitcode -ne 0) {throw} # mkdir return no-zero
|
||||||
|
|
||||||
Push-Location $env:APPVEYOR_BUILD_FOLDER\win32-build
|
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}
|
if ($lastexitcode -ne 0) {throw}
|
||||||
|
|
||||||
& cmake --build . --config Release --target cpp-tests
|
& cmake --build . --config Release --target cpp-tests
|
||||||
if ($lastexitcode -ne 0) {throw}
|
if ($lastexitcode -ne 0) {throw}
|
||||||
|
|
||||||
& 7z a release_win32.7z $env:APPVEYOR_BUILD_FOLDER\win32-build\bin\
|
# & 7z a release_win32.7z $env:APPVEYOR_BUILD_FOLDER\win32-build\bin\
|
||||||
if ($lastexitcode -ne 0) {throw}
|
# if ($lastexitcode -ne 0) {throw}
|
||||||
|
|
||||||
Push-AppveyorArtifact release_win32.7z
|
# Push-AppveyorArtifact release_win32.7z
|
||||||
Pop-Location
|
Pop-Location
|
||||||
}
|
}
|
||||||
Else {
|
Else {
|
||||||
|
|
Loading…
Reference in New Issue