blob: 2d54f8bf84284d1e3be459509bf7538abdc3c1f7 [file] [log] [blame]
Ryan Prichard7aea7e92022-01-13 17:30:17 -08001EXPORT_PROPERTIES
2-----------------
3
4.. versionadded:: 3.12
5
6List additional properties to export for a target.
7
8This property contains a list of property names that should be exported by
9the :command:`install(EXPORT)` and :command:`export` commands. By default
10only a limited number of properties are exported. This property can be used
11to additionally export other properties as well.
12
13Properties starting with ``INTERFACE_`` or ``IMPORTED_`` are not allowed as
14they are reserved for internal CMake use.
15
16Properties 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.