Skip to content

CMP0141: Fix PCH REUSE_FROM under policy NEW behavior

Brad King requested to merge brad.king/cmake:cmp0141-pch-reuse into master

Under the CMP0141 NEW behavior added by !7606 (merged), the -Zi and -ZI flags do not appear in CMAKE_<LANG>_FLAGS_<CONFIG> anymore. Teach the PCH REUSE_FROM implementation to recognize the EditAndContinue and ProgramDatabase debug information formats through the policy's new abstraction.

Fixes: #24106 (closed)
Backport: release

Merge request reports