summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/PUBLIC_HEADER.rst
blob: 549ac7ce121472f950c12ef6770ef25a91b59d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
PUBLIC_HEADER
-------------

Specify public header files in a :prop_tgt:`FRAMEWORK` shared library target.

Shared library targets marked with the :prop_tgt:`FRAMEWORK` property generate
frameworks on macOS, iOS and normal shared libraries on other platforms.
This property may be set to a list of header files to be placed in the
``Headers`` directory inside the framework folder.  On non-Apple platforms
these headers may be installed using the ``PUBLIC_HEADER`` option to the
``install(TARGETS)`` command.