CMP0141: Fix PCH REUSE_FROM under policy NEW behavior
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