INTERFACE Target: allow (PUBLIC/PRIVATE)_HEADER properties

Also support installing headers on an INTERFACE library.

Signed-off-by: Avraham Shukron <avraham.shukron@gmail.com>
Fixes: #15234
This commit is contained in:
Avraham Shukron
2019-04-06 00:27:04 +03:00
committed by Brad King
parent 4f07fdde26
commit a40f9083dd
9 changed files with 53 additions and 11 deletions
+7
View File
@@ -0,0 +1,7 @@
iface-headers
-------------
* ``INTERFACE`` library can now have :prop_tgt:`PUBLIC_HEADER` and
:prop_tgt:`PRIVATE_HEADER` properties set. The headers specified by those
properties can be installed using the :command:`install(TARGETS)` command by
passing the ``PUBLIC_HEADER`` and ``PRIVATE_HEADER`` arguments respectively.