[cmake-developers] Local target aliases

Egor Pugin egor.pugin at gmail.com
Sat Dec 10 16:13:25 EST 2016


Hi,

It seems we don't have such feature at the moment.
https://cmake.org/cmake/help/v3.7/command/add_library.html?highlight=add_library#alias-libraries

Is it possible to add GLOBAL option as for INTERFACE/IMPORTED targets (lib/exe)?
For consistency it's also possible to add GLOBAL for OBJECT libs.

Goal as always is to not interfere with same alias names in other dirs.

A new policy may be introduced for handling new behaviour.

-- 
Egor Pugin


More information about the cmake-developers mailing list