[cmake-developers] Depends information in buildsystem files

Brad King brad.king at kitware.com
Mon Feb 11 16:21:40 EST 2013


On 02/11/2013 03:38 PM, Stephen Kelly wrote:
> That means TARGETS is already born with a shelf-live. It will be obsoleted 
> by LINK_LIBRARIES, right? 

The full project signature can use TARGETS but LINK_LIBRARIES does not
make sense for it, and vice-versa for the single-source signature.

> Should we create LINK_LIBRARIES now instead, use it in the macros by 
> directly passing CMAKE_REQUIRED_LIBRARIES to it, and implement the ignoring 
> of -DLINK_LIBRARIES in that case? 

Yes, we can create LINK_LIBRARIES now for the single-source signature and
do nothing yet for the full signature.  Later TARGETS can be added to the
full signature.

-Brad



More information about the cmake-developers mailing list