summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutomoc.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-12-02 19:59:44 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-12-02 19:59:44 (GMT)
commit9c0df72dc4b4e9403a3516390bc59f971ad1c3de (patch)
treef87093a88c3ecdfc6b094b37a4bd18b7e60c1505 /Source/cmQtAutomoc.h
parent174bf35fbbcb22636e538323c168ecbc33a7cb39 (diff)
downloadCMake-9c0df72dc4b4e9403a3516390bc59f971ad1c3de.zip
CMake-9c0df72dc4b4e9403a3516390bc59f971ad1c3de.tar.gz
CMake-9c0df72dc4b4e9403a3516390bc59f971ad1c3de.tar.bz2
automoc: add a StrictParseCppFile(), which is only qmake-compatible
ParseCppFile() is the one which is automoc4/KDE4-compatible, and which becomes a bit crowded. By separating these two it is easier to ensure that the strict one doesn't get broken accidentially. Alex
Diffstat (limited to 'Source/cmQtAutomoc.h')
-rw-r--r--Source/cmQtAutomoc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h
index d8f65a9..d91df61 100644
--- a/Source/cmQtAutomoc.h
+++ b/Source/cmQtAutomoc.h
@@ -41,6 +41,9 @@ private:
void ParseCppFile(const std::string& absFilename,
const std::list<std::string>& headerExtensions,
std::map<std::string, std::string>& includedMocs);
+ void StrictParseCppFile(const std::string& absFilename,
+ const std::list<std::string>& headerExtensions,
+ std::map<std::string, std::string>& includedMocs);
void SearchHeadersForCppFile(const std::string& absFilename,
const std::list<std::string>& headerExtensions,
std::set<std::string>& absHeaders);