Alexander Neundorf wrote:
Von: "Brandon J. Van Every" <[EMAIL PROTECTED]>
Well it doesn't work on my Windows command prompt. Here's my testscript:
MESSAGE("${DEPRESSING}")
and here's my command line:
E:\devel>cmake -P bwah.cmake -DDEPRESSING=killme
E:\devel>
> Von: "Brandon J. Van Every" <[EMAIL PROTECTED]>
>
> Alexander Neundorf wrote:
> >
> > >
> You mean cmake -P myscript.cmake -DSOMEVAR=foo ?
> This
> > > works, it is the
>
> > > > same as when you use -D when calling cmake to configure your
> > > > project. It
Alexander Neundorf wrote:
You mean cmake -P myscript.cmake -DSOMEVAR=foo ?
This works, it is the
same as when you use -D when calling cmake to configure your project. It
should really work.
I use it this way and the only issues I had were wit