Merge topic 'codegen-help' into release-3.31

45726d93a8 Makefile: List codegen target in help

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10146
This commit is contained in:
Brad King
2025-01-08 14:23:51 +00:00
committed by Kitware Robot

View File

@@ -951,6 +951,9 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule(
if (!this->GlobalSettingIsOn("CMAKE_SUPPRESS_REGENERATION")) {
lg->AppendEcho(commands, "... depend");
}
if (this->CheckCMP0171()) {
lg->AppendEcho(commands, "... codegen");
}
// Keep track of targets already listed.
std::set<std::string> emittedTargets;