Fix appveyor config, take 2.

This commit is contained in:
Victor Zverovich 2014-07-27 08:30:37 -07:00
parent 721d95adf2
commit 2ebfa7b53d

View File

@ -2,10 +2,8 @@ environment:
matrix:
- Build: msvc
- Build: mingw
configuration:
- Debug
- Release
- Configuration: Debug
- Configuration: Release
install:
- ps: |
@ -26,8 +24,6 @@ before_build:
# Remove path to Git bin directory from PATH because it breaks MinGW config.
$env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin",""
$generator = "-GMinGW Makefiles"
} else {
$generator = "-GVisual Studio 12 Win64"
}
cmake -DFMT_EXTRA_TESTS=ON "-DCMAKE_BUILD_TYPE=$env:Configuration" "$generator" .