[CMake] cmake treat warnings as errors

Kim Walisch kim.walisch at gmail.com
Sat Mar 11 05:42:29 EST 2017


Hi,

Obviously the return code of cmake is 1 if any error occurs. For
integration testing I would like the return code of cmake to be 1 as
well if any warning occurs (during configuration).

Is there an option for this?


More information about the CMake mailing list