Work on CI support for MingW

This commit is contained in:
Steffen Schuemann 2019-05-14 06:17:16 +02:00
parent 6dce8a3a8c
commit 292ca5aa95

View File

@ -54,7 +54,8 @@ build_script:
- cd build - cd build
- if [%compiler%]==[msvc] cmake -G"%generator%" .. - if [%compiler%]==[msvc] cmake -G"%generator%" ..
- if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH% - if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH%
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_PREFIX_PATH=%toolchain% -DCMAKE_BUILD_TYPE=%configuration% .. - if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_CXX_COMPILER=%toolchain%\bin\g++
-DCMAKE_C_COMPILER=%toolchain%\gcc -DCMAKE_PREFIX_PATH=%toolchain% -DCMAKE_BUILD_TYPE=%configuration% ..
- cmake --build . --config %configuration% - cmake --build . --config %configuration%
test_script: test_script: