cmake: compile with warnings

This commit is contained in:
Alam Ed Arias 2016-05-28 17:44:38 -04:00
parent 3cf5d1ddec
commit 90ae2b2d1d

View file

@ -113,8 +113,8 @@ before_script:
- 7z x $HOME/srb2_cache/SRB2-v2115-assets-2.7z -oassets - 7z x $HOME/srb2_cache/SRB2-v2115-assets-2.7z -oassets
- mkdir build - mkdir build
- cd build - cd build
- cmake .. - export CFLAGS=-Wall -W -Werror
- set CFLAGS=-Wall -W -Werror - cmake .. -DCMAKE_BUILD_TYPE=Release
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi