summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorInitializer.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-11-19 11:22:49 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-11-19 12:12:42 (GMT)
commitab9d5896ae43789872fca2e83d556912abb60254 (patch)
treed18add395533b65ee0c04c59cf823553a82aaa33 /Source/cmQtAutoGeneratorInitializer.h
parent2a85b5ac768cde4a9bbe98551528c8bae1e268a8 (diff)
downloadCMake-ab9d5896ae43789872fca2e83d556912abb60254.zip
CMake-ab9d5896ae43789872fca2e83d556912abb60254.tar.gz
CMake-ab9d5896ae43789872fca2e83d556912abb60254.tar.bz2
Autogen: Detect rcc feature once during configuration
We used to detect the `rcc` features before every `rcc` list invocation wich resulted in `rcc` be called twice for every listing operation. Now we detect the `rcc` list capabilities once during configuration and pass it to the cmake_autorcc target in the info file.
Diffstat (limited to 'Source/cmQtAutoGeneratorInitializer.h')
-rw-r--r--Source/cmQtAutoGeneratorInitializer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.h b/Source/cmQtAutoGeneratorInitializer.h
index 9eebbd6..e06e1c4 100644
--- a/Source/cmQtAutoGeneratorInitializer.h
+++ b/Source/cmQtAutoGeneratorInitializer.h
@@ -65,8 +65,11 @@ private:
bool MocEnabled;
bool UicEnabled;
bool RccEnabled;
+ // Qt
std::string QtVersionMajor;
std::string QtVersionMinor;
+ std::string RccExecutable;
+ std::vector<std::string> RccListOptions;
// Configurations
std::string ConfigDefault;
std::vector<std::string> ConfigsList;