diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-27 13:16:10 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-01-10 11:49:13 (GMT) |
commit | 0b1527ff3d1781380756ee72a9641b7c5c7c87cc (patch) | |
tree | a9f62ec16b975b28119c02c2935fd08410f4ff84 /Source/cmQtAutoGenerators.h | |
parent | 2b9d795e63acf723a6abd79f3195ec70476442a5 (diff) | |
download | CMake-0b1527ff3d1781380756ee72a9641b7c5c7c87cc.zip CMake-0b1527ff3d1781380756ee72a9641b7c5c7c87cc.tar.gz CMake-0b1527ff3d1781380756ee72a9641b7c5c7c87cc.tar.bz2 |
AUTOGEN: Generators: Introduce unified ParseSourceFile
The new cmQtAutoGenerators::ParseSourceFile method combines the
functionality of ParseCppFile and StrictParseCppFile in a single method
to avoid code duplication. Relaxed or strict mode is selected by an
additional bool argument.
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index 24960a5..f6fbed3 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -58,6 +58,12 @@ private: const std::vector<std::string>& headerExtensions, std::map<std::string, std::string>& includedMocs, std::map<std::string, std::vector<std::string> >& includedUis); + bool ParseSourceFile( + const std::string& absFilename, + const std::vector<std::string>& headerExtensions, + std::map<std::string, std::string>& includedMocs, + std::map<std::string, std::vector<std::string> >& includedUis, + bool relaxed); void SearchHeadersForCppFile( const std::string& absFilename, const std::vector<std::string>& headerExtensions, |