[CMake] Setting dependencies between libraries (cmake projects)

Hendrik Sattler post at hendrik-sattler.de
Fri Nov 4 06:59:54 EDT 2011


Am 04.11.2011 11:44, schrieb Rolf Eike Beer:
>> Thanks, it solved it.
>>
>> I thought that using set(a project_a) then using ${a} would be the 
>> same
>> than using project_a (therefore I could use the same variable 
>> everywhere
>> and simply change the target name in the set). But it seems it is 
>> not the
>> same.
>
> It is the same.

Except for the scope of the variable a.

HS



More information about the CMake mailing list