mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-20 14:24:28 +08:00
Work on CI support for MingW
This commit is contained in:
parent
292ca5aa95
commit
1ee722527a
@ -54,8 +54,7 @@ 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_CXX_COMPILER=%toolchain%\bin\g++
|
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_CXX_COMPILER=%toolchain%\bin\g++ -DCMAKE_C_COMPILER=%toolchain%\bin\gcc -DCMAKE_PREFIX_PATH=%toolchain% -DCMAKE_BUILD_TYPE=%configuration% ..
|
||||||
-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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user