summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorInitializer.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Skip generated files for compatibility with CMake 3.8Brad King2017-07-071-0/+7
| | | | | | | | | | | | | | | | The change in commit v3.9.0-rc1~464^2~8 (Autogen: Add AUTOMOC/UIC support for generated source files, 2017-03-02) changes behavior of existing projects that may not expect `AUTOGEN` on generated files and do not yet set `SKIP_AUTOGEN` on them. Disable the behavior change for now to fix the regression for CMake 3.9. We can restore it later with a policy. In order to keep the implementation and tests working, add an undocumented property we can use in the tests to enable the behavior before the policy is introduced. Fixes: #17031 Issue: #16186
* Autogen: Do not use per-config file suffixes with VS yetBrad King2017-06-071-0/+4
| | | | | | | | | The change in commit v3.9.0-rc1~42^2~1 (Autogen: Per-config file suffixes, 2017-05-15) broke Visual Studio builds because the generators do not yet fully support per-config sources. Disable the behavior on Visual Studio generators for now. Fixes: #16939
* cmQtAutoGeneratorInitializer: Remove unused local variableBrad King2017-05-301-2/+0
|
* Merge topic 'reduce-string-copying'Brad King2017-05-281-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 2c2bb5f5 Remove unnecessary operator<< usage 1e4e2f99 Remove unused variables 25486156 Improved checking for number of arguments passed 86dc86dd Add const-reference qualifications 76bdb407 Change std::basic_string<char> to std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !886
| * Add const-reference qualificationsPavel Solodovnikov2017-05-261-1/+1
| |
* | Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.Sebastian Holtermann2017-05-261-141/+235
| | | | | | | | | | Closes #14760 Closes #14313
* | Autogen: Pass build directory in Info fileSebastian Holtermann2017-05-261-5/+7
|/
* 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
|