summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2016-04-18 18:09:23 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-22 12:49:21 (GMT)
commit8295d43713b621558ce8fc67033021e6eb2a6612 (patch)
tree6be23ac691d0cae3c59badb7e8dacacacf6408ff /Source/cmQtAutoGenerators.h
parentd350308af6704e70f94ef00d45c4b52ad779e566 (diff)
downloadCMake-8295d43713b621558ce8fc67033021e6eb2a6612.zip
CMake-8295d43713b621558ce8fc67033021e6eb2a6612.tar.gz
CMake-8295d43713b621558ce8fc67033021e6eb2a6612.tar.bz2
Autogen: Check added for name collisions of generated moc files
The test exits with an error if two or more source files would generate the same moc file.
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r--Source/cmQtAutoGenerators.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h
index 68ab480..d529bf9 100644
--- a/Source/cmQtAutoGenerators.h
+++ b/Source/cmQtAutoGenerators.h
@@ -78,6 +78,11 @@ private:
void Init();
+ bool NameCollisionTest(const std::map<std::string, std::string >& genFiles,
+ std::multimap<std::string, std::string>& collisions );
+ void NameCollisionLog(
+ const std::multimap<std::string, std::string>& collisions );
+
void LogCommand(const std::vector<std::string>& command);
std::string JoinExts(const std::vector<std::string>& lst);