Re: [CMake] Double @-substitution and configure_file()??

2010-01-19 Thread Marcel Loose
On Mon, 2010-01-18 at 11:55 -0500, David Cole wrote: > On Mon, Jan 18, 2010 at 10:28 AM, Marcel Loose > wrote: > Hi all, > > Is it possible to somehow do a double @-substitution when > using, e.g., > configure_file, similar to a double ${${...}} construct.

Re: [CMake] Double @-substitution and configure_file()??

2010-01-18 Thread David Cole
On Mon, Jan 18, 2010 at 10:28 AM, Marcel Loose wrote: > Hi all, > > Is it possible to somehow do a double @-substitution when using, e.g., > configure_file, similar to a double ${${...}} construct. > > $ cat myvar.cmake > message(STATUS "@my...@=@@MYVAR@@") > message(STATUS "${MYVAR}=${${MYVAR}}"

Re: [CMake] Double @-substitution and configure_file()??

2010-01-18 Thread Michael Jackson
I came across the same problem. I never really found a suitable working solution. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayto

[CMake] Double @-substitution and configure_file()??

2010-01-18 Thread Marcel Loose
Hi all, Is it possible to somehow do a double @-substitution when using, e.g., configure_file, similar to a double ${${...}} construct. $ cat myvar.cmake message(STATUS "@my...@=@@MYVAR@@") message(STATUS "${MYVAR}=${${MYVAR}}") $ cmake -D MYVAR=Hello -D Hello="Hello World" -P myvar.cmake -- hel