Hi,
is there a way to tell CMake in which order to link in object files?
For example, I got the following executable:
ADD_EXECUTABLE(hello crt0.o hello.c)
Using a disassembler, I can see that hello.c is compiled in before
crt0.o, but I want crt0.o to always be the first.
Also, this gives me the same result:
ADD_EXECUTABLE(hello hello.c crt0.o)
-Mathias
_______________________________________________
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