👷 using help from https://stackoverflow.com/a/48509334/266378
This commit is contained in:
parent
067e288289
commit
989ad9b759
1 changed files with 4 additions and 8 deletions
12
appveyor.yml
12
appveyor.yml
|
@ -2,16 +2,12 @@ version: '{build}'
|
|||
|
||||
environment:
|
||||
matrix:
|
||||
- COMPILER: mingw
|
||||
- os: Visual Studio 2015
|
||||
COMPILER: mingw
|
||||
platform: x86
|
||||
FLAGS: ""
|
||||
GENERATOR: MinGW Makefiles
|
||||
|
||||
- COMPILER: mingw
|
||||
platform: x64
|
||||
FLAGS: ""
|
||||
GENERATOR: MinGW Makefiles
|
||||
|
||||
- os: Visual Studio 2015
|
||||
platform: x86
|
||||
FLAGS: ""
|
||||
|
@ -50,10 +46,10 @@ init:
|
|||
- msbuild /version
|
||||
|
||||
install:
|
||||
- if "%COMPILER%"=="mingw" set PATH=C:\MinGW\bin;%PATH%
|
||||
- if "%COMPILER%"=="mingw" set PATH=C:\MinGW\bin
|
||||
|
||||
before_build:
|
||||
- cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%"
|
||||
- cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%" -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin"
|
||||
|
||||
build_script:
|
||||
- cmake --build . --config Release
|
||||
|
|
Loading…
Reference in a new issue