diff --git a/.appveyor.yml b/.appveyor.yml index 7456011..f8e27f3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -31,6 +31,13 @@ before_build: - copy SDL2_ttf-2.0.12\lib\x86\* "%PREFIX%\lib" > nul - cd "%APPVEYOR_BUILD_FOLDER%" + + # Note that we only use appveyor for testing the build, it cannot produce any usable binaries + # or libraries as of now because SDL2 depends are built for VC 2012, and we build with VC 2015 + # (old VC doesn't support C++11), and there's binary incompatibility which shows itself when + # linking an executable, I couldn't resolve, see [1] for more info + # + # [1] http://stackoverflow.com/questions/30412951/unresolved-external-symbol-imp-fprintf-and-imp-iob-func-sdl2 - cmake -DSDL2PP_WITH_TESTS=OFF -DSDL2PP_WITH_EXAMPLES=OFF -DCMAKE_PREFIX_PATH="%PREFIX%" -G "Visual Studio 14 2015" build: project: libSDL2pp.sln diff --git a/README.md b/README.md index 5f753a9..34d521b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # libSDL2pp # [![Build Status](https://travis-ci.org/libSDL2pp/libSDL2pp.svg?branch=master)](https://travis-ci.org/libSDL2pp/libSDL2pp) +[![Build status](https://ci.appveyor.com/api/projects/status/qhfpa29qd8bt619t/branch/master?svg=true)](https://ci.appveyor.com/project/AMDmi3/libsdl2pp) [![Coverity Scan Build Status](https://scan.coverity.com/projects/3980/badge.svg)](https://scan.coverity.com/projects/3980) [![Latest release](https://img.shields.io/github/release/libSDL2pp/libSDL2pp.svg)](https://github.com/libSDL2pp/libSDL2pp/releases)