summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-07 10:02:46 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-07 10:02:46 (GMT)
commita65011baf109fd0afe759cf3d9e7b6ab7013a805 (patch)
tree0ebb84ca3ab98de7beaa2ff8a0cf30689510942a /Source/cmake.cxx
parent2c14a176bbbc979a4db5b1e8d81d390ff4580d46 (diff)
downloadCMake-a65011baf109fd0afe759cf3d9e7b6ab7013a805.zip
CMake-a65011baf109fd0afe759cf3d9e7b6ab7013a805.tar.gz
CMake-a65011baf109fd0afe759cf3d9e7b6ab7013a805.tar.bz2
Start work on automoc: add empty cmQtAutomoc class
Alex
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 51cc9d4..47520df 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -20,6 +20,7 @@
#include "cmCommand.h"
#include "cmFileTimeComparison.h"
#include "cmGeneratedFileStream.h"
+#include "cmQtAutomoc.h"
#include "cmSourceFile.h"
#include "cmVersion.h"
#include "cmTest.h"
@@ -1574,6 +1575,12 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
}
#endif
+ else if (args[1] == "cmake_automoc")
+ {
+ cmQtAutomoc automoc;
+ automoc.Run("target directory");
+ }
+
// Tar files
else if (args[1] == "tar" && args.size() > 3)
{