[CMake] Produce only an object file (*.o) from a CMake build target
jbakosi
jbakosi at gmail.com
Wed May 7 11:58:01 EDT 2014
IMO, that's a quite clean solution which should be easily adaptable to your
needs; the downside is that the use of RULE_LAUNCH_LINK is limited to
Makefile generators.Nice trick. I'm using it to hijack the link line and
substitue my own linker for a specific file.Any idea how to do it for
non-Makefile generators, e.g., ninja?Jozsef
--
View this message in context: http://cmake.3232098.n2.nabble.com/Produce-only-an-object-file-o-from-a-CMake-build-target-tp5955999p7587347.html
Sent from the CMake mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140507/e3927a47/attachment.html>
More information about the CMake
mailing list