On 06/02/2010 08:37 PM, Doug Reiland wrote:
> Sorry for another newbie question.
>
> Say, to setup a variable as follow so ${build-dir} doesn't get expanded
> set(foo \${build-dir}/foo.c)
>
> How would a expand foo so ${build-dir} gets expanded?
STRING(REPLACE "\${build-dir}" "xyz" foo "${foo}")
Regards,
Michael