summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Add release notes for AUTOMOC_PATH_PREFIXSebastian Holtermann2019-09-181-0/+13
|
* Help: Add documentation for AUTOMOC_PATH_PREFIXSebastian Holtermann2019-09-184-0/+45
|
* Tests: At QtAutogen.MocIncludeSymlink testSebastian Holtermann2019-09-182-0/+81
|
* Tests: Merge QtAutogen.MocIncludeStrict and MocIncludeRelaxedSebastian Holtermann2019-09-1897-896/+1011
|
* Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX)Sebastian Holtermann2019-09-165-37/+84
| | | | | | | | | | | | | | | | The new `AUTOMOC_PATH_PREFIX` boolean target property enables automatic generation of the path prefix `-p` option for `moc`. `AUTOMOC_PATH_PREFIX` is initialized from the variable `CMAKE_AUTOMOC_PATH_PREFIX`, which is ON by default. When `AUTOMOC_PATH_PREFIX` is enabled, CMake tests if a `moc`ed header file is in one of the include directories. If so, then the `-p` option, with the relative path of the header parent directory to the respective include directory, is added to the `moc` command. If the header file is not in an include directory, the `-p` option is omitted. Closes: #18815 "AUTOMOC: generated files include full relative path, breaking certain reproducible builds"
* Autogen: Add IsHeader flag to SourceFileT classSebastian Holtermann2019-09-162-76/+84
|
* Autogen: Abbreviate file paths in messagesSebastian Holtermann2019-09-166-210/+264
| | | | | | | | | | | This introduces the `cmQtAutoGenerator::MessagePath` method, that abbreviates paths by placing a - "SRC:" prefix in place of the project source directory - "BIN:" prefix in place of the project binary directory The method is used in `AUTO{MOC,UIC,RCC}` when paths are displayed in messages. This makes the messages generated by `AUTO{MOC,UIC,RCC}` shorter and improves their readability.
* Autogen: Split JobEvalCacheT job into separate moc and uic jobsSebastian Holtermann2019-09-162-259/+319
| | | | | | | | | This splits the `JobEvalCacheT` job into separate `JobEvalCacheMocT` and `JobEvalCacheUicT` classes, that run concurrently. The `JobEvalCache*T::FindIncluded*` methods are overhauled to store probed directoriy names only if probing fails. Warning messages are refactored to show the file name and the probed directories instead of all probed file paths. This is easier to read.
* Autogen: Split JobProbeDepsT job into separate moc and uic jobsSebastian Holtermann2019-09-164-66/+124
| | | | | | | | | | | | | By splitting `JobProbeDepsT` into two independent `JobProbeDepsMocT`, `JobProbeDepsUicT`, the moc and uic job generation will happen concurrently. This should improve the execution speed, when both AUTOMOC and AUTOUIC are enabled. Parent directory names for moc and uic output files are are collected in a `std::unordered_set<std::string>` and get created in a batch. Beforehand we tried to create the parent directory for each output file. This led to duplications of `MakeDirectory` calls when there were multiple output files in the same directory (which is the case usually).
* Autogen: Rename job classesSebastian Holtermann2019-09-162-107/+57
|
* Autogen: Remove CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE sort duplicationSebastian Holtermann2019-09-163-43/+4
| | | | | | | This removes code that sorts include directories for `AUTOMOC` according to `CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE`. This is possible because the included directories passed to `AUTOMOC` are already sorted, also with respect to `CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE`.
* Autogen: Use CollapseFullPath instead of RealPath to support symbolic linksSebastian Holtermann2019-09-163-36/+33
|
* Autogen: Sanitize include and search directoriesSebastian Holtermann2019-09-161-9/+41
|
* Autogen: Modernize by using an unnamed namespace instead of static functionsSebastian Holtermann2019-09-161-6/+9
|
* Autogen: Compute and store generator pointers once in initializer constructorSebastian Holtermann2019-09-162-129/+124
|
* Merge topic 'tidy-deprecated-headers'Brad King2019-09-16178-290/+289
|\ | | | | | | | | | | | | f30523d090 clang-tidy: modernize-deprecated-headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3792
| * clang-tidy: modernize-deprecated-headersRegina Pfeifer2019-09-16178-290/+289
| |
* | Merge topic 'prepare-deferred-custom-command-creation'Brad King2019-09-167-57/+65
|\ \ | | | | | | | | | | | | | | | | | | | | | 5d28e361b7 add_custom_command: Move append functionality into class cmMakefile 4fb29850ad add_custom_command: Refactor setting implicit depends Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3810
| * | add_custom_command: Move append functionality into class cmMakefileDaniel Eiband2019-09-133-9/+24
| | |
| * | add_custom_command: Refactor setting implicit dependsDaniel Eiband2019-09-127-48/+41
| |/ | | | | | | | | Implicit dependencies are now passed as argument to AddCustomCommandToOutput. This is necessary to be able to delay custom command creation.
* | Merge topic 'add_custom_command-genex-slash'Brad King2019-09-164-8/+29
|\ \ | | | | | | | | | | | | | | | | | | c16641607f add_custom_command: Delay slash conversion until after genex evaluation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3791
| * | add_custom_command: Delay slash conversion until after genex evaluationSebastian Lipponer2019-09-134-8/+29
| | | | | | | | | | | | | | | | | | Generator expressions may contain or produce backslashes. Fixes: #19553
* | | Merge topic 'remove-unused-class'Brad King2019-09-162-171/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7bf8eb7877 Remove unused cmInstallExportAndroidMKGenerator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3812
| * | | Remove unused cmInstallExportAndroidMKGeneratorTushar Maheshwari2019-09-132-171/+0
| | | | | | | | | | | | | | | | | | | | This class was added by commit 42ce9f1e71 (Add support for creating prebuilt Android.mk files, 2016-07-12, v3.7.0-rc1~126^2) but not used.
* | | | CMake Nightly Date StampKitware Robot2019-09-161-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2019-09-151-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2019-09-141-1/+1
|/ / /
* | | Merge topic 'target-level-dependencies-via-byproducts'Brad King2019-09-138-74/+279
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 482d858500 Depend: Add test for target-level dependencies via byproducts f6574c9a81 Depend: Hook up automatic target-level dependencies via byproducts 2edb0b71ed cmMakefile: Add lookup from source name to targets via byproducts 62d5932389 Refatoring: Extract AnyOutputMatches utility Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3806
| * | | Depend: Add test for target-level dependencies via byproductsDaniel Eiband2019-09-123-7/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test for target-level dependency of custom target to POST_BUILD event via byproduct. Remove explicit dependencies in test which are no longe required due to introduced dependencies on build events via byproducts. Issue: #19005
| * | | Depend: Hook up automatic target-level dependencies via byproductsDaniel Eiband2019-09-123-18/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Target-level dependencies to utility targets are added from another target if the other target requires a byproduct of the utility target or if it requires a byproduct of PRE_BUILD, PRE_LINK, or POST_BUILD build events of a target. Issue: #19005
| * | | cmMakefile: Add lookup from source name to targets via byproductsDaniel Eiband2019-09-122-36/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given an output source name it is now possible to query which target has a byproduct of this name or has a PRE_BUILD, PRE_LINK, or POST_BUILD build event with a byproduct of this name. In a call to GetSourceFileWithOutput a matching byproduct can now optionally be returned as fallback if there is no matching output of a custom command. Default behavior is not changed by this commit.
| * | | Refatoring: Extract AnyOutputMatches utilityDaniel Eiband2019-09-121-15/+22
| | |/ | |/|
* | | Merge topic 'cpack-wix-start-menu'Brad King2019-09-133-12/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d69457077d CPackWIX: Allow omitting program menu folder and uninstall shortcut Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3802
| * | | CPackWIX: Allow omitting program menu folder and uninstall shortcutAlexej Harm2019-09-123-12/+37
| | | |
* | | | Merge topic 'free-free-set-them-free'Brad King2019-09-1341-908/+373
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a81e9a0ced cmSubdirCommand: Port away from cmCommand 573cd4e4b4 cmSetTestsPropertiesCommand: Port away from cmCommand 95f23ea5d5 cmSetSourceFilesPropertiesCommand: Port away from cmCommand 706400d417 cmRemoveDefinitionsCommand: Port away from cmCommand 7f86990262 cmQTWrapUICommand: Port away from cmCommand 56bfb8de5d cmQTWrapCPPCommand: Port away from cmCommand 83b3f76a3b cmLinkLibrariesCommand: Port away from cmCommand b85407ae76 cmInstallTargetsCommand: Port away from cmCommand ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3807
| * | | | cmSubdirCommand: Port away from cmCommandRegina Pfeifer2019-09-123-46/+15
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmSetTestsPropertiesCommand: Port away from cmCommandRegina Pfeifer2019-09-123-39/+20
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmSetSourceFilesPropertiesCommand: Port away from cmCommandRegina Pfeifer2019-09-123-44/+25
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmRemoveDefinitionsCommand: Port away from cmCommandRegina Pfeifer2019-09-123-42/+8
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmQTWrapUICommand: Port away from cmCommandRegina Pfeifer2019-09-123-62/+32
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmQTWrapCPPCommand: Port away from cmCommandRegina Pfeifer2019-09-123-51/+23
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmLinkLibrariesCommand: Port away from cmCommandRegina Pfeifer2019-09-123-43/+14
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmInstallTargetsCommand: Port away from cmCommandRegina Pfeifer2019-09-123-44/+16
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmInstallProgramsCommand: Port away from cmCommandRegina Pfeifer2019-09-123-40/+13
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmInstallFilesCommand: Port away from cmCommandRegina Pfeifer2019-09-123-41/+15
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmIncludeRegularExpressionCommand: Port away from cmCommandRegina Pfeifer2019-09-123-40/+13
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmIncludeExternalMSProjectCommand: Port away from cmCommandRegina Pfeifer2019-09-123-48/+20
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmGetTestPropertyCommand: Port away from cmCommandRegina Pfeifer2019-09-123-30/+11
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmGetTargetPropertyCommand: Port away from cmCommandRegina Pfeifer2019-09-123-34/+16
| | | | | | | | | | | | | | | | | | | | Ref: #19499
| * | | | cmGetSourceFilePropertyCommand: Port away from cmCommandRegina Pfeifer2019-09-123-30/+12
| | | | | | | | | | | | | | | | | | | | Ref: #19499