[cmake-developers] [partial duplicate of users mailing list] SelectLibraryConfigurations

Adam Rankin arankin at robarts.ca
Wed Feb 3 13:03:41 EST 2016


Ok, I admit I'm just diving into cmake internals so I'm still catching up.

Is there documentation on best practices for writing findxyz modules?

How does a client determine the target names that are imported after calling find_package?

Thanks for the help, I'm happy to do my learning by reading if you have any recommended resources.

Cheers,
Adam

> On Feb 3, 2016, at 12:54 PM, Brad King <brad.king at kitware.com> wrote:
> 
>> On 02/03/2016 12:47 PM, Adam Rankin wrote:
>> I am wondering if it should not be populating _LIBRARIES variable
>> with target names?
> 
> The _LIBRARIES variables are essentially the legacy interface to
> modules that provide imported targets.  Clients should choose to
> use the imported targets explicitly.
> 
> -Brad
> 


More information about the cmake-developers mailing list