[cmake-developers] define_property deprecated? (was: CMakeParseArguments: Do not skip empty arguments)
Matthew Woehlke
matthew.woehlke at kitware.com
Thu Dec 12 13:19:49 EST 2013
On 2013-12-03 11:59, Brad King wrote:
> I'd like to avoid new uses of define_property if possible. It
> is a legacy from the old builtin documentation system.
Sorry to go off on a tangent, but this triggered a question in my mind...
I have a wrapping utility file that declares some (CMake) helper
functions/macros to automatically generate Python bindings for a C++
library. There is some dependency logic that uses custom target
properties under the hood.
Right now I am using define_property to declare those. Should I (can I)
not do that?
Loosely related: is there a way to make export() and install(EXPORT) set
these properties for exported targets?
--
Matthew
More information about the cmake-developers
mailing list