summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.h
Commit message (Collapse)AuthorAgeFilesLines
* Constify autogen handling.Stephen Kelly2013-12-111-4/+4
|
* Autogen: Split AutoRcc handling into two methodsStephen Kelly2013-12-111-0/+1
| | | | | The initialize method changes the target, whereas the setup method does not.
* QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property.Stephen Kelly2013-11-271-1/+2
| | | | | | | | | | | | | | | | | | | | Transitively consume the property from linked dependents. Implement configuration-specific support by following the pattern set out for compile definitions and includes in cmQtAutoGenerators. Implement support for origin-tracking with CMAKE_DEBUG_TARGET_PROPERTIES. This is motivated by the needs of KDE, which provides a separate translation system based on gettext instead of the Qt linguist translation system. The Qt uic tool provides command line options for configuring the method used to translate text, and to add an include directive to the generated file to provide the method. http://thread.gmane.org/gmane.comp.kde.devel.frameworks/7930/focus=7992 Implement the interface to provide the uic options as a usage-requirement on the KI18n target, as designed for KDE.
* cmAutogen: Rename method to InitializeAutogenTargetStephen Kelly2013-11-051-1/+1
| | | | This reflects better what it is doing.
* Add automatic rcc invocation for Qt.Stephen Kelly2013-10-241-0/+9
| | | | | 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-3/+24
| | | | | | | | | | | | 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.
* Rename RunAutomoc to RunAutogen.Stephen Kelly2013-10-241-1/+1
| | | | It will soon be used to process ui and rcc files too.
* Extract an SetupAutoMocTarget method.Stephen Kelly2013-10-241-0/+5
| | | | This class will soon gain methods for autouic and autorcc.
* Rename method to reflect generic use.Stephen Kelly2013-10-241-1/+1
|
* Rename the cmQtAutomoc class to cmQtAutoGenerators.Stephen Kelly2013-10-241-0/+96
It will be extended to process .ui and .qrc files too.