[CMake] Re: How to pass arguments to 'cmake -P' scripts?

Brandon Van Every bvanevery at gmail.com
Mon Feb 4 19:29:03 EST 2008


On Feb 4, 2008 3:09 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> Brandon Van Every wrote:
> >
> > But my question is *why* must -P be the last thing?  Is this a design
> > flaw, or is there some shell reason for it?
> >
>
> I think it is so you can have multiple -P options with different -D
> options between them.

That should be verified and documented.  Also, um, why would multiple
-P options be desireable?

> The command line options are basically executed
> in the order they are seen, and not queued up for later.

I imagine that reordering -P would be easy to implement, if multiple
-P weren't present.


Cheers,
Brandon Van Every


More information about the CMake mailing list