Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | IWYU: Mark cmConfigure.h with pragma: keep | Daniel Pfeifer | 2017-08-26 | 1 | -1/+0 |
| | | | | Also remove `#include "cmConfigure.h"` from most source files. | ||||
* | Use C++11 nullptr | Daniel Pfeifer | 2017-08-24 | 1 | -8/+8 |
| | |||||
* | Autogen: Add AUTOMOC_MACRO_NAMES support | Sebastian Holtermann | 2017-08-18 | 1 | -9/+19 |
| | | | | Closes #17176 | ||||
* | Merge branch 'backport-autogen-autouic-lookup' into autogen-autouic-lookup | Brad King | 2017-08-15 | 1 | -20/+49 |
|\ | |||||
| * | Autogen: Restore AUTOUIC lookup paths from 3.8.2 | Sebastian Holtermann | 2017-08-15 | 1 | -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 verbose | Matthias Kuhn | 2017-08-12 | 1 | -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 King | 2017-08-10 | 1 | -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 directory | Sebastian Holtermann | 2017-08-08 | 1 | -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 demand | Sebastian Holtermann | 2017-08-05 | 1 | -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 initialization | Sebastian Holtermann | 2017-08-05 | 1 | -3/+3 |
| | | | | | | | | The configuration suffix was used before it was initialized. | ||||
* | | Autogen: Add per-config suffix to moc_predefs.h | Sebastian Holtermann | 2017-08-05 | 1 | -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.cpp | Sebastian Holtermann | 2017-08-05 | 1 | -5/+3 |
| | | |||||
* | | Merge topic 'autogen_skip_included' | Brad King | 2017-07-11 | 1 | -28/+33 |
|\ \ | |/ | | | | | | | | | | | ecac50e1 Autogen: Skip included files on demand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1039 | ||||
| * | Autogen: Skip included files on demand | Sebastian Holtermann | 2017-07-10 | 1 | -28/+33 |
| | | |||||
| * | Merge branch 'autogen_p' into release-3.9 | Brad King | 2017-07-05 | 1 | -1/+0 |
| |\ | |||||
* | \ | Merge topic 'autogen_p' | Brad King | 2017-07-06 | 1 | -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 found | Sebastian Holtermann | 2017-07-02 | 1 | -1/+0 |
| | | | |||||
* | | | Merge topic 'autogen-header-skip' | Brad King | 2017-07-05 | 1 | -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 list | Sebastian Holtermann | 2017-06-30 | 1 | -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 brace | Sebastian Holtermann | 2017-06-20 | 1 | -2/+4 |
|/ | | | | Closes #16971 | ||||
* | Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property. | Sebastian Holtermann | 2017-05-26 | 1 | -59/+83 |
| | | | | | Closes #14760 Closes #14313 | ||||
* | Autogen: Pass build directory in Info file | Sebastian Holtermann | 2017-05-26 | 1 | -16/+16 |
| | |||||
* | Autogen: Add -DWIN32 to definitions list on demand | Sebastian Holtermann | 2017-05-13 | 1 | -6/+8 |
| | |||||
* | Autogen: Include moc/uic/rcc binary in settings hash | Sebastian Holtermann | 2017-05-13 | 1 | -8/+15 |
| | |||||
* | cmake: initialize with Role that controls which commands to register | Daniel Pfeifer | 2017-05-08 | 1 | -1/+1 |
| | |||||
* | Autogen: Use FileWrite to write the settings file | Sebastian Holtermann | 2017-04-22 | 1 | -19/+21 |
| | |||||
* | Autogen: Save the hash of the old settings string only | Sebastian Holtermann | 2017-04-22 | 1 | -27/+34 |
| | |||||
* | Autogen: Generate moc_predefs.h only on demand | Sebastian Holtermann | 2017-04-22 | 1 | -30/+41 |
| | |||||
* | Autogen: Uppercase function name | Sebastian Holtermann | 2017-04-22 | 1 | -7/+7 |
| | |||||
* | Autogen: New QuotedCommand function for logging | Sebastian Holtermann | 2017-04-22 | 1 | -22/+24 |
| | |||||
* | Autogen: Use FileDiffers and FileWrite for AUTOMOC | Sebastian Holtermann | 2017-04-22 | 1 | -81/+54 |
| | |||||
* | Autogen: Add FileDiffers and FileWrite methods | Sebastian Holtermann | 2017-04-22 | 1 | -0/+43 |
| | |||||
* | Autogen: MakeParentDirectory logPrefix parameter | Sebastian Holtermann | 2017-04-22 | 1 | -7/+11 |
| | |||||
* | Autogen: Determine settings file name only once | Sebastian Holtermann | 2017-04-22 | 1 | -21/+17 |
| | |||||
* | Autogen: Overhaul class variable names and sorting | Sebastian Holtermann | 2017-04-22 | 1 | -45/+45 |
| | |||||
* | Merge topic 'autogen-fixes' | Brad King | 2017-04-21 | 1 | -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 possible | Aleix Pol | 2017-04-20 | 1 | -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 includes | Daniel Pfeifer | 2017-04-11 | 1 | -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 logging | Sebastian Holtermann | 2017-03-06 | 1 | -58/+59 |
| | |||||
* | Autogen: Error return when a scan file is not readable | Sebastian Holtermann | 2017-03-06 | 1 | -39/+66 |
| | |||||
* | Autogen: Add support for generated .qrc files | Sebastian Holtermann | 2017-03-06 | 1 | -31/+35 |
| | |||||
* | Autogen: Embrace qrc file lists in braces in AutogenInfo.cmake | Sebastian Holtermann | 2017-03-06 | 1 | -23/+27 |
| | | | | This allows empty .qrc files in any list position. | ||||
* | Autogen: Add cmQtAutogeneratorCommon class with shared types and functions | Sebastian Holtermann | 2017-03-06 | 1 | -4/+8 |
| | |||||
* | Autogen: New short InfoGet functions | Sebastian Holtermann | 2017-03-02 | 1 | -70/+60 |
| | |||||
* | Autogen: Parse enabled feature configuration only | Sebastian Holtermann | 2017-03-02 | 1 | -108/+117 |
| | |||||
* | Autogen: Add missing return on error | Sebastian Holtermann | 2017-03-02 | 1 | -0/+1 |
| | |||||
* | Autogen: Rename and merge moc related methods | Sebastian Holtermann | 2017-03-02 | 1 | -34/+18 |
| | |||||
* | Autogen: Add AUTOUIC_SEARCH_PATHS support | Sebastian Holtermann | 2017-03-02 | 1 | -49/+89 |
| | | | | Closes #15227 | ||||
* | Autogen: Add subDirPrefix function | Sebastian Holtermann | 2017-03-02 | 1 | -13/+15 |
| | |||||
* | Autogen: Merge FindInIncludeDirectories into FindIncludeFile | Sebastian Holtermann | 2017-03-01 | 1 | -26/+20 |
| |