Skip to content

Commit

Permalink
appveyor: Re-setup AppVeyor to build with Visual C++ 2017
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored and edsiper committed Mar 10, 2019
1 parent b379350 commit 43b7783
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version: 0.11-winbuild-{build}
version: v1-winbuild-{build}

image: Visual Studio 2017

platform:
- Win32
Expand All @@ -9,10 +11,11 @@ configuration:
- Release

before_build:
- cmd: if "%platform%"=="Win32" set msvc=Visual Studio 14 2015
- cmd: if "%platform%"=="x64" set msvc=Visual Studio 14 2015 Win64
- cmd: if "%platform%"=="Win32" set msvc=Visual Studio 15 2017
- cmd: if "%platform%"=="x64" set msvc=Visual Studio 15 2017 Win64

build_script:
- mkdir build
- cd build
- cmake -G "%msvc%" -DCMAKE_BUILD_TYPE=%configuration% -DFLB_WITHOUT_SHARED_LIB=On -DFLB_WITHOUT_EXAMPLES=On ..
- cmake -G "%msvc%" -DCMAKE_BUILD_TYPE=%configuration% -DFLB_WITHOUT_SHARED_LIB=On -DFLB_WITHOUT_EXAMPLES=On -DCIO_BACKEND_FILESYSTEM=Off ..
- cmake --build .

0 comments on commit 43b7783

Please sign in to comment.