motherfucking

This commit is contained in:
Pietro Gagliardi 2018-05-18 00:08:46 -04:00
parent b463590289
commit e4852c17b7
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ before_build:
build_script: build_script:
- md build && cd build - md build && cd build
- if %compiler%<>mingw ( set "CFLAGS=/MP%simultaneous% %CFLAGS%" ) - if not %compiler%==mingw ( set "CFLAGS=/MP%simultaneous% %CFLAGS%" )
- if %compiler%<>mingw ( set "CPPFLAGS=/MP%simultaneous% %CPPFLAGS%" ) - if not %compiler%==mingw ( set "CPPFLAGS=/MP%simultaneous% %CPPFLAGS%" )
- if %compiler%<>mingw ( set "CXXFLAGS=/MP%simultaneous% %CXXFLAGS%" ) - if not %compiler%==mingw ( set "CXXFLAGS=/MP%simultaneous% %CXXFLAGS%" )
- cmake -G "%CMAKE_GENERATOR%" %CMAKE_FLAGS% .. - cmake -G "%CMAKE_GENERATOR%" %CMAKE_FLAGS% ..
- if %compiler%==mingw ( mingw32-make -j%simultaneous% tester examples ) - if %compiler%==mingw ( mingw32-make -j%simultaneous% tester examples )
else ( msbuild /verbosity:diagnostic libui.sln /t:Build /p:Configuration=Release /p:Platform=%platform% ) else ( msbuild /verbosity:diagnostic libui.sln /t:Build /p:Configuration=Release /p:Platform=%platform% )