[CMake] Add linker command file to object files
Florian Reinhard
florian.reinhard at googlemail.com
Wed Jul 13 04:56:41 EDT 2011
Hi!
Problem:
I need to have a linker command file among the list of object files in
a fixed order.
Setup:
Cmake 2.8.5
custom non-gnu texas instruments cl6x toolchain
Ideas:
I figured that the object files list which one specifies as <objects>
in CMAKE_C_LINK_EXECUTABLE are sorted in the way they are fed to
"add_executable". So maybe one could treat a linker.cmd file as some
fake object file?
Thank you,
Florian
More information about the CMake
mailing list