[CMake] Diff output from CMake?
Federico Carminati
Federico.Carminati at cern.ch
Tue Sep 13 04:55:05 EDT 2011
Hello Johny,
I am afraid not… here is what I get if I specify the full path
/usr/bin/ld
this is *all* the command, which of course fails. best,
Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 68505
Mobile: +41 76 487 4843
On 13 Sep 2011, at 09:57, Johny Jose wrote:
Hey Federico,
I believe you need to mention the absolute path of the ld executable in the value for the CMAKE_C_LINK_EXECUTABLE and the CMAKE_CXX_LINK_EXECUTABLE.
Cheers,
Johny
On 13 September 2011 13:14, Federico Carminati <Federico.Carminati at cern.ch<mailto:Federico.Carminati at cern.ch>> wrote:
Dear All,
is there a way to specify the link command in CMake? If I specify
export LD=/usr/bin/ld ; cmake $MY_SOURCE_DIRECTORY
it is not taken and if I set
cmake $MY_SOURCE_DIRECTORY \
-DCMAKE_C_LINK_EXECUTABLE=ld \
-DCMAKE_CXX_LINK_EXECUTABLE=ld
what I observe is that the "entire" link command is replaced by "just" ld. Am I missing something?
[/Users/fca] cmake -version
cmake version 2.8.4.20110216-gaec6
Thanks a lot in advance for the help. Best,
Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 68505
Mobile: +41 76 487 4843
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com/>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110913/c26d01a2/attachment-0001.htm>
More information about the CMake
mailing list