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.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to