summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
Commit message (Collapse)AuthorAgeFilesLines
* IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-261-1/+0
| | | | Also remove `#include "cmConfigure.h"` from most source files.
* Use C++11 nullptrDaniel Pfeifer2017-08-241-8/+8
|
* Autogen: Add AUTOMOC_MACRO_NAMES supportSebastian Holtermann2017-08-181-9/+19
| | | | Closes #17176
* Merge branch 'backport-autogen-autouic-lookup' into autogen-autouic-lookupBrad King2017-08-151-20/+49
|\
| * Autogen: Restore AUTOUIC lookup paths from 3.8.2Sebastian Holtermann2017-08-151-20/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When encountering an `#include "<PATH>ui_<BASE>.h"` statement, search for `<BASE>.ui` in - <SOURCE_DIR>/<BASE>.ui - <SOURCE_DIR>/<PATH><BASE>.ui - <AUTOUIC_SEARCH_PATH>/<BASE>.ui - <AUTOUIC_SEARCH_PATH>/<PATH><BASE>.ui In CMake 3.8.2 the lookup list was - <SOURCE_DIR>/<BASE>.ui In CMake 3.9.[01] the lookup list was - <SOURCE_DIR>/<PATH><BASE.ui> - <AUTOUIC_SEARCH_PATH>/<PATH><BASE>.ui Closes #17168
* | Autogen: Only print Qt Autogenerator messages when verboseMatthias Kuhn2017-08-121-6/+18
| | | | | | | | | | | | | | Unconditionally printing these messages prevents ninja builds from filtering successful commands and only show errors and warnings. Fix #17157
* | Merge topic 'autogen-create-include-dir'Brad King2017-08-101-0/+11
|\ \ | |/ | | | | | | | | | | 6a0605c7 Autogen: Always create AUTOMOC/AUTOUIC include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1113
| * Autogen: Always create AUTOMOC/AUTOUIC include directorySebastian Holtermann2017-08-081-0/+11
| | | | | | | | | | | | | | | | The **AUTOGEN** include directory was always passed to the compiler but only generated on demand. To avoid compiler complaints when using `-Wmissing-include-dirs` make sure the directory gets created always. Closes #17147
* | Autogen: Generate rcc wrapper file on demandSebastian Holtermann2017-08-051-1/+35
| | | | | | | | | | | | | | | | | | | | | | For multi configuration generators remove per-config qrc_FOO_$<CONFIG>.cpp source file support. Instead use a single source file qrc_FOO.cpp which is a wrapper that includes the actual rcc generated qrc_FOO_CONFIG.cpp file. This way, after a repeated configuration change, only the wrapper file qrc_FOO.cpp must be regenerated to include the appropriate qrc_FOO_CONFIG.cpp file.
* | Autogen: Fix configuration suffix initializationSebastian Holtermann2017-08-051-3/+3
| | | | | | | | The configuration suffix was used before it was initialized.
* | Autogen: Add per-config suffix to moc_predefs.hSebastian Holtermann2017-08-051-1/+3
| | | | | | | | | | moc_predefs.h is generated using per-config -D definitions and therefore must be configuration specific as well.
* | Autogen: Remove per-config suffix for mocs_compilations.cppSebastian Holtermann2017-08-051-5/+3
| |
* | Merge topic 'autogen_skip_included'Brad King2017-07-111-28/+33
|\ \ | |/ | | | | | | | | | | ecac50e1 Autogen: Skip included files on demand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1039
| * Autogen: Skip included files on demandSebastian Holtermann2017-07-101-28/+33
| |
| * Merge branch 'autogen_p' into release-3.9Brad King2017-07-051-1/+0
| |\
* | \ Merge topic 'autogen_p'Brad King2017-07-061-1/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 251bcbed Autogen: Continue search for FOO_p.h when FOO.h was found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1022
| * | Autogen: Continue search for FOO_p.h when FOO.h was foundSebastian Holtermann2017-07-021-1/+0
| | |
* | | Merge topic 'autogen-header-skip'Brad King2017-07-051-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 83d8acee Autogen: Check .moc header name against SKIP list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1017
| * | Autogen: Check .moc header name against SKIP listSebastian Holtermann2017-06-301-1/+1
| |/ | | | | | | | | | | When encountering an #include "FOO.moc" statement where FOO.hpp was chosen over FOO.cpp as the moc source, the FOO.hpp name was not checked against the moc SKIP list.
* | Autogen: Check for Q_OBJECT/Q_GADGET after braceSebastian Holtermann2017-06-201-2/+4
|/ | | | Closes #16971
* Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.Sebastian Holtermann2017-05-261-59/+83
| | | | | Closes #14760 Closes #14313
* Autogen: Pass build directory in Info fileSebastian Holtermann2017-05-261-16/+16
|
* Autogen: Add -DWIN32 to definitions list on demandSebastian Holtermann2017-05-131-6/+8
|
* Autogen: Include moc/uic/rcc binary in settings hashSebastian Holtermann2017-05-131-8/+15
|
* cmake: initialize with Role that controls which commands to registerDaniel Pfeifer2017-05-081-1/+1
|
* Autogen: Use FileWrite to write the settings fileSebastian Holtermann2017-04-221-19/+21
|
* Autogen: Save the hash of the old settings string onlySebastian Holtermann2017-04-221-27/+34
|
* Autogen: Generate moc_predefs.h only on demandSebastian Holtermann2017-04-221-30/+41
|
* Autogen: Uppercase function nameSebastian Holtermann2017-04-221-7/+7
|
* Autogen: New QuotedCommand function for loggingSebastian Holtermann2017-04-221-22/+24
|
* Autogen: Use FileDiffers and FileWrite for AUTOMOCSebastian Holtermann2017-04-221-81/+54
|
* Autogen: Add FileDiffers and FileWrite methodsSebastian Holtermann2017-04-221-0/+43
|
* Autogen: MakeParentDirectory logPrefix parameterSebastian Holtermann2017-04-221-7/+11
|
* Autogen: Determine settings file name only onceSebastian Holtermann2017-04-221-21/+17
|
* Autogen: Overhaul class variable names and sortingSebastian Holtermann2017-04-221-45/+45
|
* Merge topic 'autogen-fixes'Brad King2017-04-211-3/+60
|\ | | | | | | | | | | | | 09035319 Autogen: Pass explicit predefines header to moc if possible Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !671
| * Autogen: Pass explicit predefines header to moc if possibleAleix Pol2017-04-201-3/+60
| | | | | | | | | | | | | | | | | | | | | | Qt is relying on whoever calls moc to include a file with the predefined values that will be used by the compiler, otherwise moc takes wrong paths and weird things happen. Instead, generate an include file and feed it to all mocs to make sure it's generating correct code. Co-Author: Sebastian Holtermann <sebholt@xwmw.org> Fixes: #16640
* | Use quotes for non-system includesDaniel Pfeifer2017-04-111-3/+3
|/ | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* Autogen: Add RunCommand method with built in loggingSebastian Holtermann2017-03-061-58/+59
|
* Autogen: Error return when a scan file is not readableSebastian Holtermann2017-03-061-39/+66
|
* Autogen: Add support for generated .qrc filesSebastian Holtermann2017-03-061-31/+35
|
* Autogen: Embrace qrc file lists in braces in AutogenInfo.cmakeSebastian Holtermann2017-03-061-23/+27
| | | | This allows empty .qrc files in any list position.
* Autogen: Add cmQtAutogeneratorCommon class with shared types and functionsSebastian Holtermann2017-03-061-4/+8
|
* Autogen: New short InfoGet functionsSebastian Holtermann2017-03-021-70/+60
|
* Autogen: Parse enabled feature configuration onlySebastian Holtermann2017-03-021-108/+117
|
* Autogen: Add missing return on errorSebastian Holtermann2017-03-021-0/+1
|
* Autogen: Rename and merge moc related methodsSebastian Holtermann2017-03-021-34/+18
|
* Autogen: Add AUTOUIC_SEARCH_PATHS supportSebastian Holtermann2017-03-021-49/+89
| | | | Closes #15227
* Autogen: Add subDirPrefix functionSebastian Holtermann2017-03-021-13/+15
|
* Autogen: Merge FindInIncludeDirectories into FindIncludeFileSebastian Holtermann2017-03-011-26/+20
|