[CMake] Nested variable substitution
andrew.blose at kodak.com
andrew.blose at kodak.com
Thu Mar 2 10:28:29 EST 2006
FOREACH (MY_VAR FOO)
SET(FOO_DBL_EXP "BAR")
SET(MY_VAR_PRIME "@${MY_VAR}_DBL_EXP@")
MESSAGE("MY_VAR_PRIME: ${MY_VAR_PRIME}")
ENDFOREACH (MY_VAR)
Maybe I'm missing something obvious but...
On the windows platform, why does the previous snippet of CMAKE code
generate:
MY_VAR_PRIME: BAR
with CMAKE invoked from the command line and
MY_VAR_PRIME: @MY_VAR_PRIME@
when invoked through CMakeSetup.exe?
Thanks
Andy Blose
andrew.blose at kodak.com
585.477.8621
x78621
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060302/ce364c93/attachment.htm
More information about the CMake
mailing list