mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'refactor-iwyu-code'
3bbe95f5 Clean up iwyu code to not be one big if statement.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1247
This commit is contained in:
@@ -932,7 +932,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
|
||||
(this->GeneratorTarget->GetType() == cmStateEnums::SHARED_LIBRARY)) {
|
||||
std::string cmakeCommand = this->LocalGenerator->ConvertToOutputFormat(
|
||||
cmSystemTools::GetCMakeCommand(), cmLocalGenerator::SHELL);
|
||||
cmakeCommand += " -E __run_iwyu --lwyu=";
|
||||
cmakeCommand += " -E __run_co_compile --lwyu=";
|
||||
cmakeCommand += targetOutPathReal;
|
||||
real_link_commands.push_back(cmakeCommand);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user