Hi, I am currently migrating my project to CMAKE and so far it has been going quite well. I am using the standard "ld" as a linker with options -N -S -q -T <path-to-linkerscript.ld>
In my CMakeLists.txt I do: Set(CMAKE_C_LINK_EXECUTABLE "ld -N -S -q -T <path-to-linkerscript.ld>") This seems to invoke the correct linker script. However, it also fails to produce any binaries! No compilation or linker errors (even with --verbose). The code compiles fine and produces executables without setting this variable. I am puzzled how to pass the linker options to CMAKE. Could anyone please point out why - once the CMAKE_C_LINKER_EXECUTABLE variable is set - no binaries are being built? I am working with the latest version 2.8.11. Thanks for any help! Cheers, Martin
-- Powered by 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
