[CMake] Export a custom property of a target
Raphael Grimm
raphael.grimm at kit.edu
Thu Aug 23 08:03:15 EDT 2018
I am using it for passing meta-data between my projects.
Is there a way to do this with cmake 3.10.2 (I am on Ubuntu 18)?
On 22.08.2018 16:03, Marc CHEVRIER wrote:
> 'define_property' is nearly useless except for documentation.
>
> Export of custom properties is managed through target property
> 'EXPORT_PROPERTIES'.
>
>
> Le mer. 22 août 2018 à 15:58, Raphael Grimm <raphael.grimm at kit.edu
> <mailto:raphael.grimm at kit.edu>> a écrit :
>
> Hi,
>
> I added a custom target property via 'define_property'
> (https://cmake.org/cmake/help/latest/command/define_property.html).
>
> When using this target in a different cmake project the property
> is not
> found by cmake and the meta information stored in the target
> property is
> lost.
>
> Is there a way to also export custom target properties?
>
> Regards
>
> Raphael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180823/95ddac51/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5205 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://cmake.org/pipermail/cmake/attachments/20180823/95ddac51/attachment.bin>
More information about the CMake
mailing list