mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
cmLocalGenerator: Clarify name of local PDB type variable
This commit is contained in:
@@ -2678,8 +2678,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target)
|
|||||||
bool editAndContinueDebugInfo =
|
bool editAndContinueDebugInfo =
|
||||||
langFlags.find("/ZI") != std::string::npos ||
|
langFlags.find("/ZI") != std::string::npos ||
|
||||||
langFlags.find("-ZI") != std::string::npos;
|
langFlags.find("-ZI") != std::string::npos;
|
||||||
|
bool programDatabaseDebugInfo =
|
||||||
bool enableDebuggingInformation =
|
|
||||||
langFlags.find("/Zi") != std::string::npos ||
|
langFlags.find("/Zi") != std::string::npos ||
|
||||||
langFlags.find("-Zi") != std::string::npos;
|
langFlags.find("-Zi") != std::string::npos;
|
||||||
|
|
||||||
@@ -2697,7 +2696,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target)
|
|||||||
if (editAndContinueDebugInfo || msvc2008OrLess) {
|
if (editAndContinueDebugInfo || msvc2008OrLess) {
|
||||||
this->CopyPchCompilePdb(config, target, *ReuseFrom,
|
this->CopyPchCompilePdb(config, target, *ReuseFrom,
|
||||||
reuseTarget, { ".pdb", ".idb" });
|
reuseTarget, { ".pdb", ".idb" });
|
||||||
} else if (enableDebuggingInformation) {
|
} else if (programDatabaseDebugInfo) {
|
||||||
this->CopyPchCompilePdb(config, target, *ReuseFrom,
|
this->CopyPchCompilePdb(config, target, *ReuseFrom,
|
||||||
reuseTarget, { ".pdb" });
|
reuseTarget, { ".pdb" });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user