diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-07 15:16:00 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-14 13:45:13 (GMT) |
commit | d1c0a5fce6c9adccd1abf6b41ba448976ef895d0 (patch) | |
tree | 1095826cdb36ac537cd3719fadb8761e7d4869b8 /Source/cmQtAutomoc.h | |
parent | a65011baf109fd0afe759cf3d9e7b6ab7013a805 (diff) | |
download | CMake-d1c0a5fce6c9adccd1abf6b41ba448976ef895d0.zip CMake-d1c0a5fce6c9adccd1abf6b41ba448976ef895d0.tar.gz CMake-d1c0a5fce6c9adccd1abf6b41ba448976ef895d0.tar.bz2 |
Start implementing skeleton for automoc in cmake
Alex
Diffstat (limited to 'Source/cmQtAutomoc.h')
-rw-r--r-- | Source/cmQtAutomoc.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h index 657b208..d6f809c 100644 --- a/Source/cmQtAutomoc.h +++ b/Source/cmQtAutomoc.h @@ -1,11 +1,29 @@ #ifndef cmQtAutomoc_h #define cmQtAutomoc_h +class cmGlobalGenerator; +class cmMakefile; + class cmQtAutomoc { public: cmQtAutomoc(); bool Run(const char* targetDirectory); + +private: + cmGlobalGenerator* CreateGlobalGenerator(cmake* cm, + const char* targetDirectory); + + bool ReadAutomocInfoFile(cmMakefile* makefile, + const char* targetDirectory); + bool ReadOldMocDefinitionsFile(cmMakefile* makefile, + const char* targetDirectory); + void WriteOldMocDefinitionsFile(const char* targetDirectory); + + bool RunAutomocQt4(); + + std::string QtMajorVersion; + }; #endif |