[CMake] Change in variable resolution?

Bill Hoffman bill.hoffman at kitware.com
Fri Nov 17 09:02:38 EST 2006


wedekind wrote:
> Hello all,
>
> I have been using CMake 2.4.3 until today. Now I wanted to switch to CMake
> 2.4.4 or the CVS-version. After playing around with the CVS-version, I have
> observed a change in the resolution of CMake variables. I have been using
> two methods of denoting CMake variables:
>
> 1)	@CMAKE_VARIABLE@
>
> or
>
> 2)	${CMAKE_VARIABLE}
>
> The first method will not get resolved with the CVS-version as it has in
> 2.4.3! E.g.:
>
> @SOURCEDIR@/bla (with @SOURCEDIR@=/sourcedir)
>
> Will be resolved to
>
> /sourcedir/src/@SOURCEDIR@/bla
>   
First, there is no 2.4.4 yet.   Second, this does seem to be a bug, 
thanks for reporting it.
I will try to figure out what happened. 

-Bill



More information about the CMake mailing list