[CMake] --enable-* with cmake

Brandon Van Every bvanevery at gmail.com
Wed Aug 8 19:28:51 EDT 2007


On 8/8/07, Philip Lowman <philip at yhbt.com> wrote:
>
> I don't know where -DUSE_FOO or -D USE_FOO came from, it doesn't appear
> to be legal in 2.4.6.

Oops.  Guess I haven't done enough of these to remember how I did them.

> The fact that people don't even know the proper way to define variables
> at the command line (myself included) should be proof positive that
> CMake could use some improvement when operating in command line mode.

I don't think that follows.  The format for -D is actually well
documented in cmake.html.  Just because people don't do this a lot
with CMake, and don't know things off the top of their heads, doesn't
mean the method is wrong, broken, or needing improvement.

I think this is purely a marketing issue.

Anyways, people can feel free to put a feature request in the bug
tracker.  I don't see any tremendous harm in allowing --enable-* style
commands.


Cheers,
Brandon Van Every


More information about the CMake mailing list