diff options
author | Brad King <brad.king@kitware.com> | 2024-02-02 12:50:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-02-02 14:39:13 (GMT) |
commit | df08c37a42379cc73dc2dd610a5b87573b24d12e (patch) | |
tree | 080e08c6cc75fcabbef5708708956024a1caa6f3 /Tests/FindPython/Python2Module | |
parent | 004c3c3986b0df2272ae2c00a634159425b576ae (diff) | |
download | CMake-df08c37a42379cc73dc2dd610a5b87573b24d12e.zip CMake-df08c37a42379cc73dc2dd610a5b87573b24d12e.tar.gz CMake-df08c37a42379cc73dc2dd610a5b87573b24d12e.tar.bz2 |
cmGlobalGenerator: Add unity/pch sources after computing compile features
Sources that will be scanned for C++ module dependencies need to be
excluded from unity builds. We need to compute compile features in
order to know which sources will be scanned. Unity build and PCH
sources can be added afterward without changing the compile features.
This re-implements commit 76b5383123 (cmGlobalGenerator: add unity
sources after computing target compile features, 2024-01-01,
v3.28.2~17^2~1) using a simpler approach that also preserves support for
PCH with Unity builds.
Issue: #25650
Co-authored-by: Ben Boeckel <ben.boeckel@kitware.com>
Diffstat (limited to 'Tests/FindPython/Python2Module')
0 files changed, 0 insertions, 0 deletions