summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'autogen_path_prefix'Brad King2019-09-1910-883/+1047
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc0900d9cd Help: Add release notes for AUTOMOC_PATH_PREFIX 692d8e3492 Help: Add documentation for AUTOMOC_PATH_PREFIX 1933ade9f1 Tests: At QtAutogen.MocIncludeSymlink test 706d9738a6 Tests: Merge QtAutogen.MocIncludeStrict and MocIncludeRelaxed d018d27c10 Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX) 77983c8147 Autogen: Add IsHeader flag to SourceFileT class f9e5441eb4 Autogen: Abbreviate file paths in messages 51676cf655 Autogen: Split JobEvalCacheT job into separate moc and uic jobs ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3818
| * Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX)Sebastian Holtermann2019-09-164-37/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'refactor-string-concat'Brad King2019-09-1931-797/+545
|\ \ | | | | | | | | | | | | | | | | | | 9dba84cfa5 Refactor: Use cmStrCat to construct error strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3734
| * | Refactor: Use cmStrCat to construct error stringsAsit Dhal2019-09-1831-797/+545
| | | | | | | | | | | | | | | Replace string construction using std::stringstream with cmStrCat and cmWrap.
* | | CMake Nightly Date StampKitware Robot2019-09-191-1/+1
|/ /
* | Merge topic 'command-line-make-functions'Brad King2019-09-1814-186/+93
|\ \ | | | | | | | | | | | | | | | | | | | | | 9c45b95ddd cmMakefile: Remove unused AddUtilityCommand overload 7f3ecbe7d7 cmCustomCommandLine: Provide command line make functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3819
| * | cmMakefile: Remove unused AddUtilityCommand overloadDaniel Eiband2019-09-162-37/+0
| | |
| * | cmCustomCommandLine: Provide command line make functionsDaniel Eiband2019-09-1612-149/+93
| |/ | | | | | | | | Reduce boilerplate necessary to create custom command lines by introducing and applying cmMakeCommandLine and cmMakeSingleCommandLine functions.
* | Merge topic 'smart_ptr/cmCPackGeneratorFactory'Kyle Edwards2019-09-183-31/+11
|\ \ | | | | | | | | | | | | | | | | | | c9c1eb99fe cmCPackGeneratorFactory: rule of zero Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3826
| * | cmCPackGeneratorFactory: rule of zeroTushar Maheshwari2019-09-173-31/+11
| | |
* | | Merge topic 'shared-pch'Brad King2019-09-188-50/+264
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 729d997f10 Precompile Headers: Add REUSE_FROM signature Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rickard Englund <rickard@r-englund.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Merge-request: !3762
| * | | Precompile Headers: Add REUSE_FROM signatureCristian Adam2019-09-178-50/+264
| | |/ | |/| | | | | | | | | | | | | | | | Add the ability to share precompiled headers artifacts between targets. Fixes: #19659
* | | CMake Nightly Date StampKitware Robot2019-09-181-1/+1
| |/ |/|
* | Merge topic 'byproduct-collapse-full-path'Brad King2019-09-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 3b409643bd Byproducts: Add test for collapsing of full paths in byproducts 445ff5ccdf Byproducts: collapse full paths of custom target byproducts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3804
| * | Byproducts: collapse full paths of custom target byproductsDaniel Eiband2019-09-131-1/+1
| | | | | | | | | | | | | | | Collapse full paths of add_custom_target command byproducts for symmetry with byproducts passed to the add_custom_command command.
* | | Merge topic 'smart_ptr/cmSourceFile'Brad King2019-09-173-30/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c83f39a90 cmSourceFile: use unique_ptr for CustomCommand Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !3815
| * | | cmSourceFile: use unique_ptr for CustomCommandTushar Maheshwari2019-09-133-30/+14
| |/ /
* | | CMake Nightly Date StampKitware Robot2019-09-171-1/+1
| |/ |/|
* | Merge topic 'tidy-deprecated-headers'Brad King2019-09-16176-288/+288
|\ \ | | | | | | | | | | | | | | | | | | f30523d090 clang-tidy: modernize-deprecated-headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3792
| * | clang-tidy: modernize-deprecated-headersRegina Pfeifer2019-09-16176-288/+288
| | |
* | | 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-162-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-132-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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-133-61/+237
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Hook up automatic target-level dependencies via byproductsDaniel Eiband2019-09-121-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-132-12/+33
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-122-12/+33
| | | |
* | | | 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