From 45726d93a8dc5c60c5c2d7fef1e2e9e950a898b9 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 7 Jan 2025 15:13:07 -0500 Subject: Makefile: List codegen target in help This was left out of commit 197cb419d1 (add_custom_command: Add CODEGEN support, 2024-05-27, v3.31.0-rc1~394^2). Fixes: #26545 --- Source/cmGlobalUnixMakefileGenerator3.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 32c2a20..671dae2 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -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 emittedTargets; -- cgit v0.12