AppVeyorCI: use static zlib and libpng

pull/3/head
Christian Beier 8 years ago
parent 06978dee89
commit 365cc425b4

@ -19,7 +19,7 @@ install:
- 7z x libpng.tar.gz -so | 7z x -si -ttar > nul - 7z x libpng.tar.gz -so | 7z x -si -ttar > nul
- move libpng-1.6.28 libpng - move libpng-1.6.28 libpng
- cd libpng - cd libpng
- cmake . -DZLIB_INCLUDE_DIR=..\zlib -DZLIB_LIBRARY=..\zlib\debug\zlibd.lib - cmake . -DZLIB_INCLUDE_DIR=..\zlib -DZLIB_LIBRARY=..\zlib\debug\zlibstaticd.lib
- cmake --build . - cmake --build .
- cd .. - cd ..
# go back to source root # go back to source root
@ -29,6 +29,6 @@ install:
build_script: build_script:
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibd.lib -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16d.lib - cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16_staticd.lib
- cmake --build . - cmake --build .
- ctest -C Debug --output-on-failure - ctest -C Debug --output-on-failure

Loading…
Cancel
Save