diff options
author | Brad King <brad.king@kitware.com> | 2022-10-31 15:59:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-31 16:16:54 (GMT) |
commit | 2e65fe92db4ec2869618e863f80f21c825ac9e1c (patch) | |
tree | 947391d96973ff4434559a9014cb484f379938ca /Source | |
parent | 17096aeba815437abc6948954d62f9c64f8bdadd (diff) | |
download | CMake-2e65fe92db4ec2869618e863f80f21c825ac9e1c.zip CMake-2e65fe92db4ec2869618e863f80f21c825ac9e1c.tar.gz CMake-2e65fe92db4ec2869618e863f80f21c825ac9e1c.tar.bz2 |
cmLocalGenerator: Clarify name of local PDB type variable
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 33255c5..fc16b26 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2678,8 +2678,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target) bool editAndContinueDebugInfo = langFlags.find("/ZI") != std::string::npos || langFlags.find("-ZI") != std::string::npos; - - bool enableDebuggingInformation = + bool programDatabaseDebugInfo = langFlags.find("/Zi") != std::string::npos || langFlags.find("-Zi") != std::string::npos; @@ -2697,7 +2696,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target) if (editAndContinueDebugInfo || msvc2008OrLess) { this->CopyPchCompilePdb(config, target, *ReuseFrom, reuseTarget, { ".pdb", ".idb" }); - } else if (enableDebuggingInformation) { + } else if (programDatabaseDebugInfo) { this->CopyPchCompilePdb(config, target, *ReuseFrom, reuseTarget, { ".pdb" }); } |