[cmake-developers] Undocumented command line flags (-H, -B) why?

Ben Boeckel ben.boeckel at kitware.com
Tue Jan 16 08:46:21 EST 2018


On Tue, Jan 16, 2018 at 13:10:07 +0100, Eric Noulard wrote:
> I came accross -H and -B undocumented command line flags for cmake:
> https://stackoverflow.com/questions/24460486/cmake-build-type-not-being-used-in-cmakelists-txt/24470998#24470998
> 
> Is there any reason to keep those undocumented?

They're internal and not meant for use outside of CMake itself. There
have been threads on this before. Here's one with a patch to document it
that was rejected as-is:

    https://www.mail-archive.com/cmake-developers@cmake.org/msg16693.html

For those who want to submit a patch, there's a TODO list here:

    https://www.mail-archive.com/cmake-developers@cmake.org/msg16720.html

--Ben


More information about the cmake-developers mailing list