[CMake] print content of linking script ?

Ilias Miroslav Miroslav.Ilias at umb.sk
Sun Dec 11 10:34:50 EST 2011


Dear all,

is there an easy way of printing out content of the linking file

 CMakeFiles/<TARGET>.dir/link.txt 

as a simple command in the CMakeLists.txt file ?

Usually we do cat .../link.txt after the cmake-configuration but we would prefer some more elegant form within the "message(...)" commad.

Thanks
Miro




More information about the CMake mailing list