Hi,
Being able to alias imported targets would be a great feature. Just an
addition to the exports discussion, I also don't think it is necessary.
Besides the EXPORT_NAME property I was not aware of either, I would instead
expect to see an
add_library (old_name ALIAS new_name)
in the
I completely agree. Seems reasonable to disallow exporting ALIAS targets.
Marc
On 14/09/15 19:34, "cmake-developers on behalf of Stephen Kelly"
wrote:
>Michael Scott wrote:
>
>> Hi,
>>
>> I'm planning on having a look at
Tamás Kenéz wrote:
>> For example, if an ALIAS can be IMPORTED, does it makes sense that it can
> be
>> exported with export() and install(EXPORT)?
>
> Yes: couple of months ago I was adding install(EXPORT) to an existing
> CMakeList. The name of the library target which I had to export was not
Thank you, I was not aware of the EXPORT_NAME target property.
Tamas
On Tue, Sep 15, 2015 at 7:36 PM, Stephen Kelly wrote:
> Tamás Kenéz wrote:
>
> >> For example, if an ALIAS can be IMPORTED, does it makes sense that it
> can
> > be
> >> exported with export() and
Michael Scott wrote:
> Hi,
>
> I'm planning on having a look at the CMake issue "Allow ALIAS of
> IMPORTED targets", 0015569. After reading the thread between yourself
> and Marc, I wanted to ask a couple of things before I start going
> further with it.
Thanks for working on this.
> The
> For example, if an ALIAS can be IMPORTED, does it makes sense that it can
be
> exported with export() and install(EXPORT)?
Yes: couple of months ago I was adding install(EXPORT) to an existing
CMakeList. The name of the library target which I had to export was not
correct as export target name
Hi Michael,
If this feature can be supported for libraries and executables, it will be
perfect for me.
Thank you.
Marc
On 12/09/15 23:48, "cmake-developers on behalf of Michael Scott"
wrote:
>Hi,
>
>I'm planning
Hi,
I'm planning on having a look at the CMake issue "Allow ALIAS of
IMPORTED targets", 0015569. After reading the thread between yourself
and Marc, I wanted to ask a couple of things before I start going
further with it.
The proposed change would be for the add_library and add_executable