summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.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/cmLocalUnixMakefileGenerator3.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/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index 7a0ea98..fed25e1 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -224,7 +224,7 @@ protected:
bool echo_comment = false,
std::ostream* content = nullptr);
void AppendCleanCommand(std::vector<std::string>& commands,
- const std::vector<std::string>& files,
+ const std::set<std::string>& files,
cmGeneratorTarget* target,
const char* filename = nullptr);