Dear Devops,
I'm trying to cross compile with clang. I set cmake_compiler,
cmake_linker, etc.
During the linking CXX executable all flags, libs, files, etc. are
getting from somehow created file ./Main/CMakeFiles/Build.dir/link.txt.
The problem is, that when I change linker by setting
CMAKE_CXX_LINK_EXECUTABLE, no files or flags are generated in link.txt
and I get message like: "x86_64-pc-linux-gnu-ld: no input files".
My question is how to generate those flags and files into the link.txt
and why they disappeared by changing linker?
--
Best regards,
Piotr Bialek
--
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-developers