mirror of
https://github.com/vale981/arb
synced 2025-03-04 17:01:40 -05:00
No shared libs on mingw
This commit is contained in:
parent
91d6e3b6cf
commit
b3ae131ef4
1 changed files with 1 additions and 3 deletions
|
@ -33,8 +33,6 @@ install:
|
|||
- if [%COMPILER%]==[gcc] set "PATH=C:\msys64\mingw%ARCH%\bin;%PATH%"
|
||||
- if [%COMPILER%]==[gcc] set "CMAKE_PREFIX_PATH=C:\msys64\mingw%ARCH%"
|
||||
- if [%COMPILER%]==[gcc] del /F /Q "C:\Program Files\Git\usr\bin\sh.exe"
|
||||
- if [%COMPILER%]==[gcc] if [%ARCH%]==[64] C:\msys64\usr\bin\pacman.exe -Sy --noconfirm --noconfirm --needed base-devel mingw-w64-x86_64-mpfr
|
||||
- if [%COMPILER%]==[gcc] if [%ARCH%]==[32] C:\msys64\usr\bin\pacman.exe -Sy --noconfirm --noconfirm --needed base-devel mingw-w64-i686-mpfr
|
||||
- dir "C:\msys64\mingw%ARCH%\lib"
|
||||
- dir "C:\msys64\mingw%ARCH%\bin"
|
||||
|
||||
|
@ -58,7 +56,7 @@ before_build:
|
|||
- ps: if (-Not (Test-Path .\build)) { mkdir build }
|
||||
|
||||
- cd build
|
||||
- if [%COMPILER%]==[gcc] cmake -G "MinGW Makefiles" -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||
- if [%COMPILER%]==[gcc] cmake -G "MinGW Makefiles" -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ..
|
||||
- if [%COMPILER%]==[cl] cmake -G "Ninja" -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||
|
||||
build_script:
|
||||
|
|
Loading…
Add table
Reference in a new issue