diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-07-25 07:24:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-24 10:30:38 (GMT) |
commit | 84218e1870ab075c9e2be1f2947358702c849fed (patch) | |
tree | bf9c4c40c03ef8d5e07340457969b5181b7ef458 /Source/cmMakefile.h | |
parent | 94a0ca604ca6ba3699b6d309938e881b2a3984a0 (diff) | |
download | CMake-84218e1870ab075c9e2be1f2947358702c849fed.zip CMake-84218e1870ab075c9e2be1f2947358702c849fed.tar.gz CMake-84218e1870ab075c9e2be1f2947358702c849fed.tar.bz2 |
Add automatic uic invocation for Qt.
The source files are already processed by cmQtAutomoc to look for
moc includes, so extend that to also look for ui_ includes and
find corresponding .ui files to process.
This replaces the need to invoke qt4_wrap_ui().
As the ui files are not likely to be part of the SOURCES of the
target, store the options associated with them separately in the
cmMakefile for querying during the autogen run.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index ca82336..794873a 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -884,6 +884,9 @@ public: bool IsGeneratingBuildSystem(){ return this->GeneratingBuildSystem; } void SetGeneratingBuildSystem(){ this->GeneratingBuildSystem = true; } + void AddQtUiFileWithOptions(cmSourceFile *sf); + std::vector<cmSourceFile*> GetQtUiFilesWithOptions() const; + std::set<cmStdString> const & GetSystemIncludeDirectories() const { return this->SystemIncludeDirectories; } @@ -1061,6 +1064,8 @@ private: cmSourceFile* source); void UpdateOutputToSourceMap(std::string const& output, cmSourceFile* source); + + std::vector<cmSourceFile*> QtUiFilesWithOptions; }; //---------------------------------------------------------------------------- |