cmake: Allow to make compile warnings fatal
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 20:02:12 +0000 (21:02 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 23:59:46 +0000 (00:59 +0100)
commit07c41b7cebcc87a313a5bfccd50a7949d126180a
tree88ccda091da14cd4a1755cb1793c41a9b1370389
parentba3f171f93c522212aee15eb5ce23db4dca6e359
cmake: Allow to make compile warnings fatal

Failing on any compile warning is very useful in CI builds,
so add an option for enabling this. The option defaults to OFF,
because we don't want to annoy users that don't want this.

Enable fatal warnings in Travis CI.
.travis.yml
CMakeLists.txt
cmake/QuasselCompileSettings.cmake