cmake treat warnings as errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

cmake treat warnings as errors

Kim Walisch

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?

Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: