Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Autogen: Rename cmQtAutoGenerators to cmQtAutoGeneratorMocUic | Sebastian Holtermann | 2017-11-19 | 1 | -228/+0 |
| | |||||
* | Autogen: Remove rcc code from cmQtAutoGenerators | Sebastian Holtermann | 2017-11-19 | 1 | -21/+1 |
| | |||||
* | Autogen: Reintroduce per-config sources support | Sebastian Holtermann | 2017-09-25 | 1 | -1/+2 |
| | | | | Reintroduce per-config sources support in AUTOGEN but disable it by default. | ||||
* | Autogen: Rename cmQtAutoGen::GeneratorType to cmQtAutogen::Generator | Sebastian Holtermann | 2017-09-25 | 1 | -9/+9 |
| | |||||
* | Autogen: In VERBOSE mode print why files are (re)generated | Sebastian Holtermann | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Autogen: Refactor cmQtAutoGenerators | Sebastian Holtermann | 2017-09-20 | 1 | -126/+113 |
| | | | | | | | | | | | | | | | | | | | | The refactoring of cmQtAutoGenerators serializes the program flow and makes it less jumpy in terms of function calling. Instead of keeping and passing multiple std::vectors and std::maps in function arguments, single lists with job descriptions are used, one job list for MOC, UIC, RCC respectively. Several utility functions and methods were replaced with scoped lambdas and the remaining methods were sorted by their scope (MOC, UIC, RCC). Error and warning messages were refactored to be more verbose about the problem at hand. The source parsing algorithms were rewritten in large parts. In the process a lack of functionality of CMAKE_AUTOMOC_DEPEND_FILTERS was discovered and fixed. CMAKE_AUTOMOC_DEPEND_FILTERS did not extract dependency file names from headers that were not in the target sources but were registered to AUTOMOC by a `#include "moc_<NAME>.cpp"` statement. A test for this use case is provided in a follow up commit. | ||||
* | Autogen: Set CM_DISABLE_COPY in cmQtAutoGenerators | Sebastian Holtermann | 2017-09-07 | 1 | -0/+1 |
| | |||||
* | Autogen: Refactor logging | Sebastian Holtermann | 2017-09-07 | 1 | -10/+27 |
| | |||||
* | Autogen: More use of scoped lambdas | Sebastian Holtermann | 2017-09-07 | 1 | -0/+1 |
| | |||||
* | Autogen: Use list of lists functions for UIC options | Sebastian Holtermann | 2017-09-07 | 1 | -1/+1 |
| | |||||
* | Autogen: Pass RCC build names and function names in info file | Sebastian Holtermann | 2017-09-07 | 1 | -5/+11 |
| | | | | | | | | | - The output file name of the `rcc` command get computed once in the AUTOGEN initializer and is passed in the info file. - The function name for the `-name` option of `rcc` gets computed once in the AUTOGEN initializer and is passed along with the other `rcc` options in the info file. | ||||
* | Autogen: Use single KeyRegExp filter struct | Sebastian Holtermann | 2017-09-07 | 1 | -7/+20 |
| | |||||
* | Autogen: Use the same algorithm for RCC and UIC option merging | Sebastian Holtermann | 2017-09-07 | 1 | -1/+0 |
| | |||||
* | Autogen: Iterate source files only once | Sebastian Holtermann | 2017-09-07 | 1 | -3/+4 |
| | | | | | | | | | | | | | | This is a large commit that serves multiple purposes - Iterate source files only once and store all extracted information in a cmQtAutogenDigest class that can be reused. This is brings speed improvements because several properties are only evaluated once. More that that it helps to avoid duplication of code with non trivial files property checks. - Fix the Visual Studio generator to use PRE_BUILD when possible. - Convert `for( ... )` loops to C++11 range base loops where possible (cmQtAutogen*.cxx only). - String concatenation optimizations. | ||||
* | clang-format: format all code as Cpp11 | Daniel Pfeifer | 2017-08-30 | 1 | -12/+12 |
| | |||||
* | Use C++11 nullptr | Daniel Pfeifer | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Autogen: Add AUTOMOC_MACRO_NAMES support | Sebastian Holtermann | 2017-08-18 | 1 | -1/+1 |
| | | | | Closes #17176 | ||||
* | Autogen: Restore AUTOUIC lookup paths from 3.8.2 | Sebastian Holtermann | 2017-08-15 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | 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: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property. | Sebastian Holtermann | 2017-05-26 | 1 | -9/+9 |
| | | | | | Closes #14760 Closes #14313 | ||||
* | Autogen: Pass build directory in Info file | Sebastian Holtermann | 2017-05-26 | 1 | -1/+1 |
| | |||||
* | Autogen: Generate moc_predefs.h only on demand | Sebastian Holtermann | 2017-04-22 | 1 | -0/+1 |
| | |||||
* | Autogen: Add FileDiffers and FileWrite methods | Sebastian Holtermann | 2017-04-22 | 1 | -0/+4 |
| | |||||
* | Autogen: MakeParentDirectory logPrefix parameter | Sebastian Holtermann | 2017-04-22 | 1 | -1/+2 |
| | |||||
* | Autogen: Determine settings file name only once | Sebastian Holtermann | 2017-04-22 | 1 | -3/+3 |
| | |||||
* | Autogen: Overhaul class variable names and sorting | Sebastian Holtermann | 2017-04-22 | 1 | -41/+38 |
| | |||||
* | Merge topic 'autogen-fixes' | Brad King | 2017-04-21 | 1 | -2/+6 |
|\ | | | | | | | | | | | | | 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 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | 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' | ||||
* | | cmConfigure: Ensure separate include block in headers | Daniel Pfeifer | 2017-04-11 | 1 | -0/+1 |
|/ | | | | | | | | | | | Make sure that `#include <cmConfigure.h>` is followed by an empty line in header files. This is necessary to make sure that changing <> to "" does not affect the include ordering of clang-format. Automate with: git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \ | xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }' | ||||
* | Autogen: Add RunCommand method with built in logging | Sebastian Holtermann | 2017-03-06 | 1 | -0/+2 |
| | |||||
* | Autogen: Error return when a scan file is not readable | Sebastian Holtermann | 2017-03-06 | 1 | -1/+1 |
| | |||||
* | Autogen: Rename and merge moc related methods | Sebastian Holtermann | 2017-03-02 | 1 | -7/+5 |
| | |||||
* | Autogen: Add AUTOUIC_SEARCH_PATHS support | Sebastian Holtermann | 2017-03-02 | 1 | -0/+3 |
| | | | | Closes #15227 | ||||
* | Autogen: Add subDirPrefix function | Sebastian Holtermann | 2017-03-02 | 1 | -1/+1 |
| | |||||
* | Autogen: Merge FindInIncludeDirectories into FindIncludeFile | Sebastian Holtermann | 2017-03-01 | 1 | -3/+2 |
| | |||||
* | Autogen: Add AUTOMOC_DEPEND_FILTERS support | Sebastian Holtermann | 2017-02-22 | 1 | -0/+1 |
| | |||||
* | Autogen: Log simplifications | Sebastian Holtermann | 2017-02-21 | 1 | -2/+2 |
| | | | | | The logging methods now automatically add an end-of-line to the message if it is missing. | ||||
* | Autogen: Rebuild moc when Q_PLUGIN_METADATA json file changes | Sebastian Holtermann | 2017-02-21 | 1 | -19/+43 |
| | | | | Closes #15419 | ||||
* | Autogen: Search moc includes in include directories | Sebastian Holtermann | 2017-02-21 | 1 | -3/+5 |
| | |||||
* | Autogen: Add FindInIncludeDirectories method | Sebastian Holtermann | 2017-02-21 | 1 | -0/+2 |
| | |||||
* | Autogen: Synchronize header/source argument names | Sebastian Holtermann | 2017-02-21 | 1 | -10/+10 |
| | |||||
* | Autogen: Split moc include paths on info reading | Sebastian Holtermann | 2017-02-21 | 1 | -1/+1 |
| | |||||
* | Autogen: Loop based macro detection instead of code duplication | Sebastian Holtermann | 2017-02-21 | 1 | -3/+5 |
| | |||||
* | Autogen: Acquire and store header extensions in Init() | Sebastian Holtermann | 2017-02-21 | 1 | -17/+12 |
| | |||||
* | Autogen: Overhaul FindMatchingHeader function | Sebastian Holtermann | 2017-02-21 | 1 | -0/+7 |
| | |||||
* | Autogen: Rename moc related variables | Sebastian Holtermann | 2017-02-21 | 1 | -3/+3 |
| | |||||
* | Autogen: Overhaul moc include list generation | Sebastian Holtermann | 2017-02-21 | 1 | -2/+1 |
| | |||||
* | Autogen: Move method declarations; Remove comments | Sebastian Holtermann | 2017-02-19 | 1 | -10/+10 |
| | |||||
* | Autogen: Rename SkipFoo variables/methods to FooSkip | Sebastian Holtermann | 2017-02-19 | 1 | -4/+4 |
| | |||||
* | Autogen: Split moc options info string immediately | Sebastian Holtermann | 2017-02-19 | 1 | -1/+0 |
| |