[cmake-developers] [RFC] Remove `-i` from the build command for makefile generators
Brad King
brad.king at kitware.com
Thu May 7 09:12:43 EDT 2015
On 05/06/2015 02:32 PM, Ben Boeckel wrote:
> I really question the old behavior at all (it's not like it made things
> magically "work"), but OK :/ . I'd be OK with replacing it with `-k`
> without a policy though (it does the same thing but makes the exit
> code...useful).
IIRC when use of -i was introduced we actually used -k first and found
it to be inadequate for the needs at the time. Since requirements seem
to have changed I think switching to -k is okay.
> Heh. We were setting MAKECOMMAND, but using ctest_build. Seems the
> documentation could use some sprucing up :) .
See the "MakeCommand" setting here:
http://www.cmake.org/cmake/help/v3.2/manual/ctest.1.html#ctest-build-step
It explains both CTEST_BUILD_COMMAND and MAKECOMMAND.
What is missing is that ctest_build docs:
http://www.cmake.org/cmake/help/v3.2/command/ctest_build.html
should reference CTEST_BUILD_COMMAND. Please add that.
Thanks,
-Brad
More information about the cmake-developers
mailing list