summaryrefslogtreecommitdiffstats
path: root/Modules/AutogenInfo.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Use integers instead of strings for the Qt versionSebastian Holtermann2017-11-191-1/+0
|
* Autogen: Add and use cmQtAutoGenerator base classSebastian Holtermann2017-11-191-0/+1
| | | | | | Adds the new base class `cmQtAutoGenerator` which contains common variables and methods used by `cmQtAutoGeneratorMocUic` and `cmQtAutoGeneratorRcc`.
* Autogen: Remove rcc code from cmQtAutoGeneratorsSebastian Holtermann2017-11-191-6/+0
|
* Autogen: Reintroduce per-config sources supportSebastian Holtermann2017-09-251-1/+3
| | | | Reintroduce per-config sources support in AUTOGEN but disable it by default.
* Autogen: Pass RCC build names and function names in info fileSebastian Holtermann2017-09-071-2/+2
| | | | | | | | | - 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: Iterate source files only onceSebastian Holtermann2017-09-071-1/+2
| | | | | | | | | | | | | | 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.
* Autogen: Initializer optimizations and cleanupsSebastian Holtermann2017-08-221-1/+1
|
* Autogen: Add AUTOMOC_MACRO_NAMES supportSebastian Holtermann2017-08-181-0/+1
| | | | Closes #17176
* Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.Sebastian Holtermann2017-05-261-3/+0
| | | | | Closes #14760 Closes #14313
* Autogen: Pass build directory in Info fileSebastian Holtermann2017-05-261-0/+1
|
* Autogen: Pass explicit predefines header to moc if possibleAleix Pol2017-04-201-0/+1
| | | | | | | | | | | 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
* Autogen: New short InfoGet functionsSebastian Holtermann2017-03-021-1/+1
|
* Autogen: Add AUTOUIC_SEARCH_PATHS supportSebastian Holtermann2017-03-021-0/+1
| | | | Closes #15227
* Autogen: Add AUTOMOC_DEPEND_FILTERS supportSebastian Holtermann2017-02-221-0/+1
|
* Autogen: Overhaul and simplify AutogenInfo.cmake file generationSebastian Holtermann2017-02-211-6/+6
|
* Autogen: Sort AutogenInfo.cmake.inSebastian Holtermann2017-02-211-14/+20
| | | | | Also rename AM_SKIP_MOC to AM_MOC_SKIP and AM_SKIP_UIC to AM_UIC_SKIP
* AUTOGEN: Rename config variablesSebastian Holtermann2017-01-101-4/+4
| | | | The new names describe the variables use cases better.
* QtAutogen: Rename variable templates in config templateSebastian Holtermann2016-12-061-4/+4
|
* QtAutogen: Rename config AM_RELAXED_MODE to AM_MOC_RELAXED_MODESebastian Holtermann2016-12-061-1/+1
|
* QtAutogen: Regenerate qrc files if their input changes (#15074)Stephen Kelly2014-10-241-0/+1
| | | | | | | | | | | | | | | | | Get dependencies from the output of ``rcc --list`` if using Qt 5. Otherwise process the file in the same way as the qt4_add_resources macro. This does not work for RCC files which are generated. The cmake_autogen build step is implemented as a PRE_BUILD step of the target currently if possible, rather than a standalone custom target. This is to keep the number of (synthesized) custom targets that appear in the UI low, but in some cases it is necessary to fall back to a full custom target. Fall back to a full custom target for the VS builds if autorcc is used.
* QtAutogen: Put generated qrc files in a target-specific dir.Stephen Kelly2014-04-181-0/+1
|
* QtAutogen: Separate source file processing from AUTOMOC.Stephen Kelly2014-01-281-1/+1
| | | | This will allow using AUTOUIC without using AUTOMOC for example.
* Add automatic rcc invocation for Qt.Stephen Kelly2013-10-241-0/+4
| | | | | This replaces the need to invoke qt4_add_resources by allowing adding the source .qrc file directly to the target sources.
* Add automatic uic invocation for Qt.Stephen Kelly2013-10-241-0/+5
| | | | | | | | | | | | 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.
* Record which files are skipped by automoc.Stephen Kelly2013-10-241-0/+1
| | | | They may not be skipped by autouic.
* Rename the AutomocInfo.cmake file to be more generic.Stephen Kelly2013-10-241-0/+14