summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutomoc.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-15 23:27:30 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-15 23:27:30 (GMT)
commitc27607baf860b6c57db84f21a298ad8257ff7153 (patch)
tree45a21e677e53e01c201a142f8c46777adf4f255f /Source/cmQtAutomoc.h
parent24d9b7d7452bfd9b3d7cea670a3a5a2e9f5b2f16 (diff)
downloadCMake-c27607baf860b6c57db84f21a298ad8257ff7153.zip
CMake-c27607baf860b6c57db84f21a298ad8257ff7153.tar.gz
CMake-c27607baf860b6c57db84f21a298ad8257ff7153.tar.bz2
Refactor SetupAutomocTarget() so it can be run after creating the target
This makes it easier to move it from InitialPass() to some other location, e.g. FinalPass() or something else. Alex
Diffstat (limited to 'Source/cmQtAutomoc.h')
-rw-r--r--Source/cmQtAutomoc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h
index af77366..4fd9041 100644
--- a/Source/cmQtAutomoc.h
+++ b/Source/cmQtAutomoc.h
@@ -10,11 +10,7 @@ public:
cmQtAutomoc();
bool Run(const char* targetDirectory);
- void SetupAutomocTarget(cmMakefile* makefile,
- const char* targetName,
- std::vector<std::string>& srcs);
-
- void AddTargetDependency(cmMakefile* makefile, cmTarget* target);
+ void SetupAutomocTarget(cmTarget* target);
private:
cmGlobalGenerator* CreateGlobalGenerator(cmake* cm,