cmake/Help/prop_tgt/PUBLIC_HEADER.rst

12 lines
516 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
PUBLIC_HEADER
-------------
2016-03-13 13:35:51 +01:00
Specify public header files in a :prop_tgt:`FRAMEWORK` shared library target.
2014-08-03 19:52:23 +02:00
2016-03-13 13:35:51 +01:00
Shared library targets marked with the :prop_tgt:`FRAMEWORK` property generate
2018-10-28 12:09:07 +01:00
frameworks on macOS, iOS and normal shared libraries on other platforms.
2014-08-03 19:52:23 +02:00
This property may be set to a list of header files to be placed in the
2016-03-13 13:35:51 +01:00
``Headers`` directory inside the framework folder. On non-Apple platforms
these headers may be installed using the ``PUBLIC_HEADER`` option to the
2019-11-11 23:01:05 +01:00
:command:`install(TARGETS)` command.