diff options
author | Brad King <brad.king@kitware.com> | 2024-12-11 16:53:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-12-11 17:34:29 (GMT) |
commit | 854eba0c53505190adb8fdd32cbdaed318d8dfda (patch) | |
tree | 7ccb5e38573b93dee2be4cad4bf8f05b7fb95b83 /Source/cmDebuggerStackFrame.cxx | |
parent | cd179e75606c6dc821b10574927e449b397b931c (diff) | |
download | CMake-854eba0c53505190adb8fdd32cbdaed318d8dfda.zip CMake-854eba0c53505190adb8fdd32cbdaed318d8dfda.tar.gz CMake-854eba0c53505190adb8fdd32cbdaed318d8dfda.tar.bz2 |
target_sources: Improve error message for CXX_MODULES on INTERFACE libraries
We support non-compiled `SOURCES` on `INTERFACE` libraries, and also
support `CXX_MODULES` on *imported* `INTERFACE` libraries (via synthetic
targets that compile module interface units). However, we do not
support `CXX_MODULES` on non-imported `INTERFACE` libraries because
there is no place to hold module interface unit's object files for their
module initializers. Previously this was not explicitly rejected, and
so was diagnosed only by "CMake Internal Error" messages due to
assumption violations in the implementation.
Fixes: #26524
Co-authored-by: Ben Boeckel <ben.boeckel@kitware.com>
Diffstat (limited to 'Source/cmDebuggerStackFrame.cxx')
0 files changed, 0 insertions, 0 deletions