summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutomoc.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-11 13:52:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-06-12 10:53:25 (GMT)
commitea4d7848e5b79f04f04a0d9ac4ceadb32cd294d1 (patch)
tree2ec037d2d5a2711b509a4841c56341c91332acea /Source/cmQtAutomoc.h
parent67f6cebb1ea3557c3e3144023ba3fea2f5f97ceb (diff)
downloadCMake-ea4d7848e5b79f04f04a0d9ac4ceadb32cd294d1.zip
CMake-ea4d7848e5b79f04f04a0d9ac4ceadb32cd294d1.tar.gz
CMake-ea4d7848e5b79f04f04a0d9ac4ceadb32cd294d1.tar.bz2
QtAutomoc: Use config-dependent compile definitions and includes.
Instead of always using the includes and defines which are not config-specific, ensure that the config specific ones can be used. Task-number: #13589
Diffstat (limited to 'Source/cmQtAutomoc.h')
-rw-r--r--Source/cmQtAutomoc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h
index 01b68fc..ebeeb0e 100644
--- a/Source/cmQtAutomoc.h
+++ b/Source/cmQtAutomoc.h
@@ -21,7 +21,7 @@ class cmQtAutomoc
{
public:
cmQtAutomoc();
- bool Run(const char* targetDirectory);
+ bool Run(const char* targetDirectory, const char *config);
bool InitializeMocSourceFile(cmTarget* target);
void SetupAutomocTarget(cmTarget* target);
@@ -31,7 +31,8 @@ private:
const char* targetDirectory);
bool ReadAutomocInfoFile(cmMakefile* makefile,
- const char* targetDirectory);
+ const char* targetDirectory,
+ const char *config);
bool ReadOldMocDefinitionsFile(cmMakefile* makefile,
const char* targetDirectory);
void WriteOldMocDefinitionsFile(const char* targetDirectory);