- Sep 20, 2019
-
-
Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
-
- Sep 19, 2019
-
-
cc0900d9 Help: Add release notes for AUTOMOC_PATH_PREFIX 692d8e34 Help: Add documentation for AUTOMOC_PATH_PREFIX 1933ade9 Tests: At QtAutogen.MocIncludeSymlink test 706d9738 Tests: Merge QtAutogen.MocIncludeStrict and MocIncludeRelaxed d018d27c Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX) 77983c81 Autogen: Add IsHeader flag to SourceFileT class f9e5441e Autogen: Abbreviate file paths in messages 51676cf6 Autogen: Split JobEvalCacheT job into separate moc and uic jobs ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3818
-
9dba84cf Refactor: Use cmStrCat to construct error strings Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3734
-
13a7c858 Use _CMAKE_TOOLCHAIN_PREFIX for install_name_tool as well Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3830
-
44e8b8f1 FindGnuTLS: add target GnuTLS::GnuTLS Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3825
-
Kitware Robot authored
-
- Sep 18, 2019
-
-
Isuru Fernando authored
-
Also add a test case for the module.
-
9c45b95d cmMakefile: Remove unused AddUtilityCommand overload 7f3ecbe7 cmCustomCommandLine: Provide command line make functions Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3819
-
-
-
-
-
c9c1eb99 cmCPackGeneratorFactory: rule of zero Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3826
-
729d997f 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
-
Kitware Robot authored
- Sep 17, 2019
-
-
Tushar Maheshwari authored
-
3b409643 Byproducts: Add test for collapsing of full paths in byproducts 445ff5cc Byproducts: collapse full paths of custom target byproducts Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3804
-
8c83f39a cmSourceFile: use unique_ptr for CustomCommand Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !3815
-
bd5006e8 IAR: Add v850 support Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3821
-
28cb86d7 FindPkgConfig: Allow libraries that can't be found with their full path Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Rolf Eike Beer <eike@sf-mail.de> Merge-request: !3781
-
0301a76b FindEnvMod: Remove unreliable test case Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3823
-
Cristian Adam authored
Add the ability to share precompiled headers artifacts between targets. Fixes: #19659
-
Kitware Robot authored
-
- Sep 16, 2019
-
-
Daniel Eiband authored
-
Daniel Eiband authored
Reduce boilerplate necessary to create custom command lines by introducing and applying cmMakeCommandLine and cmMakeSingleCommandLine functions.
-
Chuck Atkins authored
There's no way to know that loading an arbitrary module doesn't pull in extra dependent modules so the test case asserting that exactly one module was loaded isn't valid.
-
Chuck Atkins authored
pkg-config's .pc files can sometimes provide libraries that are visible to the linker but not present in CMake's known search paths. In the case where CMake can find some, but not all of the library dependencies provided in a .pc file, this allows them to be passed through as "-lfoo" when the full path can't be found. This also removes the test failure cases that occured because of this scenario and adjsuts the remaining tests to account for not-found libraries
-
Sebastian Holtermann authored
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"
-
Sebastian Holtermann authored
-
Sebastian Holtermann authored
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.
-
Sebastian Holtermann authored
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.
-
Sebastian Holtermann authored
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).
-
Sebastian Holtermann authored
-
Sebastian Holtermann authored
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`.
-
Sebastian Holtermann authored
-
Sebastian Holtermann authored
-
Sebastian Holtermann authored
-
Sebastian Holtermann authored
-