Vladislav Vaintroub a écrit, Le 04.02.2011 14:42:
>
>> -----Original Message-----
>> From: Joerg Bruehe [mailto:joerg.bruehe@stripped]
>> Sent: Freitag, 4. Februar 2011 12:23
>> To: Guilhem Bichot
>> Cc: commits
>> Subject: Re: review of bug#42969
>>
>> Hello Guilhem,
>
>
>> Probably, that is the result of "@ONLY":
>> For most of cmake's variables, simply using them "${CMAKE_SYSTEM}" is
>> not enough, you first need the "SET" line:
>> SET(CMAKE_SYSTEM "@CMAKE_SYSTEM@")
>
> Joerg, Guilhem.
>
> Maybe it makes things a bit cleared with my explanation, I'll try ..
Thanks Wlad! Yes it makes things clearer. If I understood correctly,
@variable is known by cmake when processing CONFIGURE_FILE, and is
substituted (like @ works in autoconf), and $variable is known by cmake
when working as a script.