diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-04-06 20:40:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-07 13:26:58 (GMT) |
commit | f779f8c0ad4c16cda5a166d440915a01e986d396 (patch) | |
tree | bd82cc9e14e10efdb88e7e277642089ee1e73d10 /Help | |
parent | 42bca07cc67d42cbc37109a9be208321e7ebc620 (diff) | |
download | CMake-f779f8c0ad4c16cda5a166d440915a01e986d396.zip CMake-f779f8c0ad4c16cda5a166d440915a01e986d396.tar.gz CMake-f779f8c0ad4c16cda5a166d440915a01e986d396.tar.bz2 |
FILE_SET: Forbid adding header sets to Apple FRAMEWORK libraries
The feature needs a specialized implementation to place headers
in the right place inside frameworks. To avoid silently doing
the wrong thing, make this case an error for the 3.23 series.
Issue: #23386
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/target_sources.rst | 2 | ||||
-rw-r--r-- | Help/release/3.23.rst | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/Help/command/target_sources.rst b/Help/command/target_sources.rst index 6ad86e3..1ad6c37 100644 --- a/Help/command/target_sources.rst +++ b/Help/command/target_sources.rst @@ -77,7 +77,7 @@ have zero or more named file sets. Each file set has a name, a type, a scope of ``INTERFACE``, ``PUBLIC``, or ``PRIVATE``, one or more base directories, and files within those directories. The only acceptable type is ``HEADERS``. The optional default file sets are named after their type. The target may not be a -custom target. +custom target or :prop_tgt:`FRAMEWORK` target. Files in a ``PRIVATE`` or ``PUBLIC`` file set are marked as source files for the purposes of IDE integration. Additionally, files in ``HEADERS`` file sets diff --git a/Help/release/3.23.rst b/Help/release/3.23.rst index 1a3f53e..257c3d5 100644 --- a/Help/release/3.23.rst +++ b/Help/release/3.23.rst @@ -264,3 +264,17 @@ Other Changes * :manual:`ccmake(1)` may now be enabled on Windows when building CMake from source. This is experimental, and so is not included in official distributions. + +Updates +======= + +Changes made since CMake 3.23.0 include the following. + +3.23.1 +------ + +* The :command:`target_sources` ``FILE_SET`` feature added in CMake 3.23.0 + does not yet place header files properly in Apple :prop_tgt:`FRAMEWORK` + targets. Pending further work in a future version of CMake, it is now + an error to add a ``FILE_SET`` of type ``HEADERS`` to such targets on + Apple platforms. |