[CMake] Knowing the name of the linker.
ofv at wanadoo.es
Fri Nov 7 14:32:15 EST 2008
Alexander Neundorf <a.neundorf-work at gmx.net>
>> On some circunstances I need to explicitly invoke the linker, which
>> happens to be `ld'. But this is no longer true when
>> cross-compiling. How to know the name of the linker? I see cmake
>> variables containing command lines for linking, but not the linker
>> command name itself.
> Does CMAKE_LINKER have what you want ?
Yes, thank you.
It is not mentioned on --help-variables. I'm using 2.6.1.
More information about the CMake