mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Merge topic 'ninja_additional_clean_files_custom_target'
d040f3f1eeTests: Extend MakeClean test to test various target types3ed8cffe73Ninja: Add support for ADDITIONAL_CLEAN_FILES in custom targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3739
This commit is contained in:
@@ -136,6 +136,9 @@ void cmNinjaUtilityTargetGenerator::Generate()
|
||||
gg->WriteBuild(this->GetBuildFileStream(), phonyBuild);
|
||||
}
|
||||
|
||||
// Find ADDITIONAL_CLEAN_FILES
|
||||
this->AdditionalCleanFiles();
|
||||
|
||||
// Add an alias for the logical target name regardless of what directory
|
||||
// contains it. Skip this for GLOBAL_TARGET because they are meant to
|
||||
// be per-directory and have one at the top-level anyway.
|
||||
|
||||
Reference in New Issue
Block a user