|
@@ -42,19 +42,19 @@ install:
|
|
|
& 7z x c:\build-cache\$lname2 -oc:\build-cache
|
|
|
& 7z x c:\build-cache\zlib-1.2.11.tar -oc:\build-cache\$lname3
|
|
|
}
|
|
|
- if (-not (Test-Path c:\build-cache\$lname3\Release)) {
|
|
|
+ if (-not (Test-Path c:\build-cache\$lname3\zlib-1.2.11\Release)) {
|
|
|
cd c:\build-cache\$lname3\zlib-1.2.11
|
|
|
$cmakegen = 'Visual Studio 15 2017'
|
|
|
if ($env:VC -Match "vc14") {
|
|
|
$cmakegen = "Visual Studio 14 2015"
|
|
|
}
|
|
|
- & cmake -G $cmakegen -DCMAKE_BUILD_TYPE="Release" -DCMAKE_C_FLAGS_RELEASE="/MT"
|
|
|
- & cmake --build . --config "Release"
|
|
|
-
|
|
|
- move c:\build-cache\$lname3\zlib-1.2.11 c:\build-cache\$lname1\include
|
|
|
- move c:\build-cache\$lname3\zlib-1.2.11\Release c:\build-cache\$lname1\lib
|
|
|
+ cmake -G $cmakegen -DCMAKE_BUILD_TYPE="Release" -DCMAKE_C_FLAGS_RELEASE="/MT"
|
|
|
+ cmake --build . --config "Release"
|
|
|
}
|
|
|
|
|
|
+ move c:\build-cache\$lname3\zlib-1.2.11 c:\build-cache\$lname1\include
|
|
|
+ move c:\build-cache\$lname3\zlib-1.2.11\Release c:\build-cache\$lname1\lib
|
|
|
+
|
|
|
cache:
|
|
|
c:\build-cache -> .appveyor.yml
|
|
|
|