[cmake-developers] [RFC] Remove `-i` from the build command for makefile generators

Ben Boeckel ben.boeckel at kitware.com
Tue May 5 16:11:52 EDT 2015


Hi,

Does anyone have any issue with remove `-i` from the implicit flags from
makefile generators with the build command (ctest_build)? The problem is
occuring in a "superbuild" where `-i` gets put into the MAKEFLAGS
environment variable and then causes bogus configure errors in the
subproject (here, qt5).

I don't think ignoring errors in a build has any right to be the default
*and* without a way to turn it off. The historical reason is, AFAIK, due
to dashboards stopping on the first error and being painful to debug
when you only get a single error at a time. However, it also makes
projects execute under an alien environment which may never have had any
testing (and which can only hide errors). I think projects setting `-i`
if they want to is a much better solution.

Thoughts?

Thanks,

--Ben


More information about the cmake-developers mailing list