Re: [CMake] is cmake -P script.cmake -DSOMEVAR=foo supposed to work?

2006-06-12 Thread Brandon J. Van Every
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>

Re: [CMake] is cmake -P script.cmake -DSOMEVAR=foo supposed to work?

2006-06-12 Thread Alexander Neundorf
> 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

[CMake] is cmake -P script.cmake -DSOMEVAR=foo supposed to work?

2006-06-12 Thread Brandon J. Van Every
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