summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-27 14:15:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-27 14:16:05 (GMT)
commit2a2c4cc722769f4206aa44ca43edcd94cbb21028 (patch)
treef1f170cf5f366f48437776fa35339bea607385b8 /Source/cmNinjaUtilityTargetGenerator.cxx
parent65fe80794d41ab6f0b1e608d7535b7530a2ff51d (diff)
parentd040f3f1eee237ca8cb35d7055a348a7c06fa572 (diff)
downloadCMake-2a2c4cc722769f4206aa44ca43edcd94cbb21028.zip
CMake-2a2c4cc722769f4206aa44ca43edcd94cbb21028.tar.gz
CMake-2a2c4cc722769f4206aa44ca43edcd94cbb21028.tar.bz2
Merge topic 'ninja_additional_clean_files_custom_target'
d040f3f1ee Tests: Extend MakeClean test to test various target types 3ed8cffe73 Ninja: Add support for ADDITIONAL_CLEAN_FILES in custom targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3739
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx
index 83a9beb..eea4c93 100644
--- a/Source/cmNinjaUtilityTargetGenerator.cxx
+++ b/Source/cmNinjaUtilityTargetGenerator.cxx
@@ -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.