Hi, In order to build an application with several HPC performance utilities, it would be good to be able to specify the linker and have it show up on the link command line.
I learned from http://cmake.3232098.n2.nabble.com/Specify-the-link-command-in-CMake-td6786695.html that using CMAKE_C_LINKER_EXECUTABLE and CMAKE_CXX_LINKER_EXECUTABLE is not the right approach, because you have to specify the entire link line, not just the linker. cmake -DCMAKE_LINKER=/path/to/my/linker seems like it should be the right way to do this, yet the C++ compiler ends up on the link line, not the linker I specified (which has a different name, of course). http://stackoverflow.com/questions/1867745/cmake-use-a-custom-linker is having the same experience. How should this be accomplished reliably? Thanks! Mark
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
