Ryan Prichard | 7aea7e9 | 2022-01-13 17:30:17 -0800 | [diff] [blame] | 1 | EXPORT_PROPERTIES |
| 2 | ----------------- |
| 3 | |
| 4 | .. versionadded:: 3.12 |
| 5 | |
| 6 | List additional properties to export for a target. |
| 7 | |
| 8 | This property contains a list of property names that should be exported by |
| 9 | the :command:`install(EXPORT)` and :command:`export` commands. By default |
| 10 | only a limited number of properties are exported. This property can be used |
| 11 | to additionally export other properties as well. |
| 12 | |
| 13 | Properties starting with ``INTERFACE_`` or ``IMPORTED_`` are not allowed as |
| 14 | they are reserved for internal CMake use. |
| 15 | |
| 16 | Properties containing generator expressions are also not allowed. |
| 17 | |
| 18 | .. note:: |
| 19 | |
| 20 | Since CMake 3.19, :ref:`Interface Libraries` may have arbitrary |
| 21 | target properties. If a project exports an interface library |
| 22 | with custom properties, the resulting package may not work with |
| 23 | dependents configured by older versions of CMake that reject the |
| 24 | custom properties. |