diff options
| author | Ben Boeckel <ben.boeckel@kitware.com> | 2025-01-09 15:23:46 (GMT) |
|---|---|---|
| committer | Ben Boeckel <ben.boeckel@kitware.com> | 2025-01-09 21:36:06 (GMT) |
| commit | 3e15419bd459a4bdca5195fd3868f1dae2bef680 (patch) | |
| tree | 33495a5ea722ff27795b5c46de6cbb347f20b0e3 /Tests/FindPython/Python2SABIModule | |
| parent | 5cfb8ae79065b900c23c0dafb9b7a90b66bdeca7 (diff) | |
| download | CMake-3e15419bd459a4bdca5195fd3868f1dae2bef680.zip CMake-3e15419bd459a4bdca5195fd3868f1dae2bef680.tar.gz CMake-3e15419bd459a4bdca5195fd3868f1dae2bef680.tar.bz2 | |
target_sources: Restore toleration of duplicate CXX_MODULES sources
In commit 9c0491a3e4 (cmDyndepCollation: write out scanned source
information too, 2024-03-25) via !9708, the `sf_map` gained a new job of
also being used to track non-file set sources which could import
modules. This was implemented by removing processed `FILE_SET TYPE
CXX_MODULES` sources from the map and working with the sources
remaining. When a `FILE_SET TYPE CXX_MODULES` source appeared multiple
times, this would then erroneously complain that it "was not scheduled
for compilation". Use a set of source paths to track sources that have
already been processed. If duplicates are found, trigger an author
warning and skip the duplicate file.
Fixes: #26549
Diffstat (limited to 'Tests/FindPython/Python2SABIModule')
0 files changed, 0 insertions, 0 deletions
