Re: [CMake] Export a custom property of a target

2018-08-23 Thread Raphael Grimm
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 'EX

Re: [CMake] Export a custom property of a target

2018-08-22 Thread Marc CHEVRIER
'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 a écrit : > Hi, > > I added a custom target property via 'define_property' > (https://cmake.org/cmake/he

[CMake] Export a custom property of a target

2018-08-22 Thread Raphael Grimm
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 w