summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorMocUic.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-02-05 14:43:27 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-02-05 14:51:53 (GMT)
commita28caabf453ab41851b75a40a2e49706439f9478 (patch)
treef5f94ccce366f807bd20d718b8360af914dd3e4e /Source/cmQtAutoGeneratorMocUic.h
parent1f802295f2e42fd38477f22d7275ebe166a48f10 (diff)
downloadCMake-a28caabf453ab41851b75a40a2e49706439f9478.zip
CMake-a28caabf453ab41851b75a40a2e49706439f9478.tar.gz
CMake-a28caabf453ab41851b75a40a2e49706439f9478.tar.bz2
Autogen: AUTOMOC support for files with the same name but different extensions
This adds support for AUTOMOC to moc header files with the same but different extensions (e.g `obj.h`, `obj.hpp`, `obj.hxx`). If a moc file would appear multiple times in `mocs_compilation.cpp`, a number suffix is appended to the name to make it unique. Closes #14489
Diffstat (limited to 'Source/cmQtAutoGeneratorMocUic.h')
-rw-r--r--Source/cmQtAutoGeneratorMocUic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGeneratorMocUic.h b/Source/cmQtAutoGeneratorMocUic.h
index 32a6006..c22df29 100644
--- a/Source/cmQtAutoGeneratorMocUic.h
+++ b/Source/cmQtAutoGeneratorMocUic.h
@@ -389,7 +389,7 @@ public:
bool ParallelJobPushMoc(JobHandleT& jobHandle);
bool ParallelJobPushUic(JobHandleT& jobHandle);
bool ParallelMocIncluded(std::string const& sourceFile);
- void ParallelMocAutoRegister(std::string const& mocFile);
+ std::string ParallelMocAutoRegister(std::string const& baseName);
void ParallelMocAutoUpdated();
private: