[cmake-developers] Target usage requirements and conventions

Stephen Kelly steveire at gmail.com
Sun May 13 17:50:10 EDT 2012


Stephen Kelly wrote:

> 
> Hi there,
> 
> The topic of 'target usage requirements' has come up several times. It's
> something I'd like to work further towards in CMake 2.8.9.
> 
> I have created a wiki page on the KDE wiki (there for my convenience
> mostly) so that we can discuss the design, implementation and
> implications.
> 
> http://community.kde.org/Frameworks/Epics/CMake_target_usage_requirements
> 
> Thanks for any comments,

Hi there,

Thanks for the feedback on this proposal so far. 

I have updated the wiki page to remove any reference to target_use_package() 
or functionality depending on conventions of variable names, or finding 
packages etc. The proposal as written now expects the caller to supply 
targets, and never expects a package name or a prefix.

The page is now focussed on creation of a target_use_targets() command which 
operates on targets which are in scope because either they were created in 
the same buildsystem, or they were imported.

It would be possible to revisit the target_use_package() idea in the future, 
but that is no longer the aim of the proposal. The target_use_targets() is 
already a useful enough concept to aim for.

The remaining (I think) open question regards what form the generator 
expressions should take so that they can represent multiple dimensions.

Thanks,

Steve.




More information about the cmake-developers mailing list