summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-05-13 10:54:45 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-05-14 15:50:13 (GMT)
commit7c8c18b1e61ca717941214c2365ce5c5056bad14 (patch)
treef78b3d9e5936d5af851dbdd32647b68e25fad468 /Source/cmMakefileTargetGenerator.h
parent1f0a695561f12b8e3929066d7dc61535a20af66c (diff)
downloadCMake-7c8c18b1e61ca717941214c2365ce5c5056bad14.zip
CMake-7c8c18b1e61ca717941214c2365ce5c5056bad14.tar.gz
CMake-7c8c18b1e61ca717941214c2365ce5c5056bad14.tar.bz2
Makefiles: Sort clean files by using a std::set<std::string> container
By using a `std::set<std::string>` container instead of a `std::vector<std::string>` container, the clean files list becomes sorted and unique. The clean target in Makefiles beomes nicer and better readable this way. Also double clean entries won't appear anymore.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index ec58d17..c570a7c 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -210,7 +210,7 @@ protected:
cmGeneratedFileStream* InfoFileStream;
// files to clean
- std::vector<std::string> CleanFiles;
+ std::set<std::string> CleanFiles;
// objects used by this target
std::vector<std::string> Objects;