summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorInitializer.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'autogen-fixes'Brad King2017-04-211-0/+41
|\ | | | | | | | | | | | | 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-0/+41
| | | | | | | | | | | | | | | | | | | | | | 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
* | cmGlobalVisualStudioGenerator: Drop VS7 enumeration valueBrad King2017-04-191-2/+2
| | | | | | | | | | We no longer support the VS 7.0 (.NET 2002) IDE, so drop the enumeration value corresponding to its version.
* | Use quotes for non-system includesDaniel Pfeifer2017-04-111-2/+2
|/ | | | | | | | | | | | | 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'
* Add self-sufficient wrapper for <sys/stat.h>Daniel Pfeifer2017-03-241-1/+1
|
* Autogen: include what you useDaniel Pfeifer2017-03-231-5/+1
|
* Autogen: Add AUTOGEN_SOURCE_GROUP supportSebastian Holtermann2017-03-161-6/+67
| | | | Closes: #16501
* Autogen: Add AUTOMOC/UIC support for generated source filesSebastian Holtermann2017-03-061-92/+122
| | | | | Closes #16186 Closes #14379
* Autogen: Initializer cleanupsSebastian Holtermann2017-03-061-73/+70
|
* Autogen: Add support for generated .qrc filesSebastian Holtermann2017-03-061-4/+11
|
* Autogen: Embrace qrc file lists in braces in AutogenInfo.cmakeSebastian Holtermann2017-03-061-2/+3
| | | | This allows empty .qrc files in any list position.
* Autogen: Remove unused variablesSebastian Holtermann2017-03-061-3/+0
|
* Autogen: Add cmQtAutogeneratorCommon class with shared types and functionsSebastian Holtermann2017-03-061-162/+24
|
* Autogen: New short InfoGet functionsSebastian Holtermann2017-03-021-1/+1
|
* Autogen: Add AUTOUIC_SEARCH_PATHS supportSebastian Holtermann2017-03-021-0/+13
| | | | Closes #15227
* Autogen: Add AUTOMOC_DEPEND_FILTERS supportSebastian Holtermann2017-02-221-0/+2
|
* Autogen: Overhaul and simplify AutogenInfo.cmake file generationSebastian Holtermann2017-02-211-315/+318
|
* Autogen: Optimize GetCompileDefinitionsAndDirectories functionSebastian Holtermann2017-02-211-18/+20
|
* Autogen: Sort AutogenInfo.cmake.inSebastian Holtermann2017-02-211-4/+4
| | | | | Also rename AM_SKIP_MOC to AM_MOC_SKIP and AM_SKIP_UIC to AM_UIC_SKIP
* Autogen: Initializer: Add old settings file to clean filesSebastian Holtermann2017-01-121-0/+8
|
* AUTOGEN: Initializer: Always remember skipped filesSebastian Holtermann2017-01-101-26/+35
|
* AUTOGEN: Initializer: Enable SKIP_AUTOGEN on all AUTOGEN generated sourcesSebastian Holtermann2017-01-101-2/+4
|
* AUTOGEN: Initializer: Introduce SKIP_AUTOGEN checksSebastian Holtermann2017-01-101-1/+7
|
* AUTOGEN: Rename config variablesSebastian Holtermann2017-01-101-16/+16
| | | | The new names describe the variables use cases better.
* AUTOGEN: Make skipMoc and skipUic blacklists behave the same waySebastian Holtermann2017-01-101-18/+31
| | | | | | | Before skipMoc was a list of files that were not included in the sources. Now the skipMoc files are added to the sources as well in case they are needed for uic processing. skipMoc becomes a blacklist just like skipUic.
* QtAutogen: Generate rcc output file names in one place onlySebastian Holtermann2016-12-071-31/+7
|
* QtAutogen: Add rcc output files to autogen target byproductsSebastian Holtermann2016-12-071-29/+27
|
* QtAutogen: Add moc compilation file to autogen target byproductsSebastian Holtermann2016-12-071-10/+12
| | | | Closes: #16389
* QtAutogen: Reconfigure when .qrc file changesSebastian Holtermann2016-12-071-11/+15
| | | | | | Add .qrc files to the CMake depends. When the .qrc file changes the build system gets reconfigured and the resource files watch list gets updated.
* QtAutogen: Rename autogen target to *_autogen from *_automocSebastian Holtermann2016-12-071-1/+1
|
* QtAutogen: Inline single use variable definitionsSebastian Holtermann2016-12-071-8/+5
|
* QtAutogen: Determine the Qt major version in only one waySebastian Holtermann2016-12-071-45/+34
|
* QtAutogen: Clean removes autogen build directorySebastian Holtermann2016-12-071-5/+3
| | | | | Cleaning removes the entire autogen build directory instead of single files.
* QtAutogen: Generate included ui_ and moc_ files in _automoc/includesSebastian Holtermann2016-12-071-2/+15
| | | | | | | | | | ui_ and moc_ files that are include in source files get generated in $CURRENT_BUILD_DIR/$TARGETNAME_automoc/include. The directory is added to the INCLUDE_DIRECTORIES of the origin target in the generation stage. From now on all autogen files get generated below $CURRENT_BUILD_DIR/$TARGETNAME_automoc.
* QtAutogen: Use checksum based subdirectories to avoid name collisionsSebastian Holtermann2016-12-071-14/+26
|
* QtAutogen: Remove .dir suffix from automoc build directorySebastian Holtermann2016-12-071-1/+1
|
* QtAutogen: Generate moc compilation in _automoc.dir/moc_compilation.cppSebastian Holtermann2016-12-071-7/+3
|
* QtAutogen: Use upper case for MOC, UIC and RCC in messagesSebastian Holtermann2016-12-071-3/+3
|
* QtAutogen: CommentsSebastian Holtermann2016-12-061-0/+3
|
* QtAutogen: For loop feature test optimizationSebastian Holtermann2016-12-061-12/+11
|
* QtAutogen: Variable scope optimizationsSebastian Holtermann2016-12-061-34/+39
|
* QtAutogen: Rename variable templates in config templateSebastian Holtermann2016-12-061-6/+3
|
* QtAutogen: Make strings constSebastian Holtermann2016-12-061-2/+2
|
* QtAutogen: Change config file permissions only on demandSebastian Holtermann2016-12-061-10/+15
|
* QtAutogen: Inline single use variableSebastian Holtermann2016-12-061-6/+2
|
* QtAutogen: Remove unused intermediate definition in makefileSebastian Holtermann2016-12-061-5/+1
|
* QtAutogen: Moc related variable renamedSebastian Holtermann2016-12-061-6/+6
|
* QtAutogen: Moc related variable renamedSebastian Holtermann2016-12-061-6/+6
|
* QtAutogen: Target directory name function renameSebastian Holtermann2016-12-061-3/+3
|
* QtAutogen: Move util functions to file beginSebastian Holtermann2016-12-061-20/+20
|