summaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-01-28 22:02:50 +0100
committerChristian Beier <dontmind@freeshell.org>2017-01-28 22:02:50 +0100
commit81d492c7f8bd43b5290827028ca74a27fba27fff (patch)
tree66f2e7d32a3595243110a22bdcbb4a4e3fe1fb2b /.appveyor.yml
parentc5297bd47d5307a36eaf3f059fcb36c20c8a43b3 (diff)
downloadlibtdevnc-81d492c7f8bd43b5290827028ca74a27fba27fff.tar.gz
libtdevnc-81d492c7f8bd43b5290827028ca74a27fba27fff.zip
AppVeyor: add appveyor.yml from ci branch.
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..4dbf3aa
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,33 @@
+
+os:
+ - Visual Studio 2013
+ - Visual Studio 2015
+
+install:
+ - mkdir deps
+ - cd deps
+ # Zlib
+ - appveyor DownloadFile https://github.com/madler/zlib/archive/v1.2.8.tar.gz
+ - 7z x v1.2.8.tar.gz -so | 7z x -si -ttar > nul
+ - move zlib-1.2.8 zlib
+ - cd zlib
+ - cmake .
+ - cmake --build .
+ - cd ..
+ # libPNG
+ - appveyor DownloadFile ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.26.tar.gz
+ - 7z x libpng-1.6.26.tar.gz -so | 7z x -si -ttar > nul
+ - move libpng-1.6.26 libpng
+ - cd libpng
+ - cmake .
+ - cmake --build .
+ - cd ..
+ # go back to source root
+ - cd ..
+
+
+build_script:
+ - mkdir build
+ - cd build
+ - cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\release\zlibstatic.lib -DPNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARIES=..\deps\libpng\libpng.lib
+ - cmake --build . \ No newline at end of file