<quote author="Michael Hertling">
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
<br/><hr align="left" width="300" />
View this message in context: <a href="http://cmake.3232098.n2.nabble.com/Produce-only-an-object-file-o-from-a-CMake-build-target-tp5955999p7587347.html">Re: Produce only an object file (*.o) from a CMake build target</a><br/>
Sent from the <a href="http://cmake.3232098.n2.nabble.com/">CMake mailing list archive</a> at Nabble.com.<br/>