mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-02 12:47:48 +00:00
cmake-cxxmodules: Note config limitations
Today, CMake doesn't support configuration-agnostic module maps. For CMakeConfig exports, this is irrelevant. For CPS, this may possibly cause friction with other build systems. Briefly note that we don't support this until we build a solution.
This commit is contained in:
@@ -126,6 +126,12 @@ For the :ref:`Visual Studio Generators`:
|
||||
- Use of modules provided by ``PRIVATE`` sources from ``PUBLIC`` module
|
||||
sources is not diagnosed.
|
||||
|
||||
Separately, as a design choice, CMake does not express configuration-agnostic
|
||||
module maps for imported targets. The :prop_tgt:`IMPORTED_CXX_MODULES_<CONFIG>`
|
||||
target property is always tied to a specific configuration. This can lead to
|
||||
some friction when importing/exporting targets from/to configuration-unaware
|
||||
build systems. Future work will alleviate this restriction.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
|
||||
Reference in New Issue
Block a user