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.
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}}"
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
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