diff options
author | Wouter Klouwen <wouter.klouwen@youview.com> | 2018-03-08 17:46:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-16 13:00:56 (GMT) |
commit | 6db61f072588bb097b16094290b0b415fa4905e5 (patch) | |
tree | 3e6e2cbe3f21cd282f036e0d3f8f573a1b692f2d /Help/prop_tgt/EXPORT_PROPERTIES.rst | |
parent | b2584ce069eae0d4b5a1cccf19295e5fde4c1082 (diff) | |
download | CMake-6db61f072588bb097b16094290b0b415fa4905e5.zip CMake-6db61f072588bb097b16094290b0b415fa4905e5.tar.gz CMake-6db61f072588bb097b16094290b0b415fa4905e5.tar.bz2 |
Export: allow exporting of additional properties
This change introduces an additional property that may be set on a
target to allow additional properties to be exported. Normally only a
limited number of properties are exported.
Additional properties may be exported by simply setting the
`EXPORT_PROPERTIES` property on a target that is exported.
Diffstat (limited to 'Help/prop_tgt/EXPORT_PROPERTIES.rst')
-rw-r--r-- | Help/prop_tgt/EXPORT_PROPERTIES.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_tgt/EXPORT_PROPERTIES.rst b/Help/prop_tgt/EXPORT_PROPERTIES.rst new file mode 100644 index 0000000..bcf47a6 --- /dev/null +++ b/Help/prop_tgt/EXPORT_PROPERTIES.rst @@ -0,0 +1,14 @@ +EXPORT_PROPERTIES +----------------- + +List additional properties to export for a target. + +This property contains a list of property names that should be exported by +the :command:`install(EXPORT)` and :command:`export` commands. By default +only a limited number of properties are exported. This property can be used +to additionally export other properties as well. + +Properties starting with ``INTERFACE_`` or ``IMPORTED_`` are not allowed as +they are reserved for internal CMake use. + +Properties containing generator expressions are also not allowed. |