[CMake] Recursive object libraries

Jonathan Anderson jonathan.anderson at cl.cam.ac.uk
Fri May 3 08:26:21 EDT 2013


Thanks very much for adding add_library(OBJECT); it's Just the Thing™ for
organising source files that go into large libraries. It seems that I can't
use it recursively, however:

"Only executables and non-OBJECT libraries may reference target objects."

I'd like to use the same mechanism to organise a more-than-single-level
hierarchy of source directories; is this / will this in the future be
possible?


Jon
-- 
Jonathan Anderson

Research Associate
Computer Laboratory
University of Cambridge

+44 (1223) 763747
jonathan.anderson at cl.cam.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130503/565980eb/attachment.htm>


More information about the CMake mailing list