summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'multi-ninja-pch'Brad King2020-01-2013-133/+192
|\ | | | | | | | | | | | | a55df20499 Multi-Ninja: Add precompile headers support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4201
| * Multi-Ninja: Add precompile headers supportCristian Adam2020-01-1713-133/+192
| | | | | | | | Fixes: #19789
* | Merge topic 'realpath-cache'Brad King2020-01-203-2/+17
|\ \ | | | | | | | | | | | | | | | | | | 9d5a554cc9 cmGlobalGenerator: Add cache for realpath() results Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4220
| * | cmGlobalGenerator: Add cache for realpath() resultsTim Blechmann2020-01-163-2/+17
| | | | | | | | | | | | | | | Cache the results of `realpath()` system calls in `cmGlobalGenerator` to avoid repeating such calls for the same paths over and over.
* | | Merge branch 'release-3.16'Brad King2020-01-200-0/+0
|\ \ \
| * \ \ Merge topic 'autogen_rcc_skip_unity' into release-3.16Brad King2020-01-202-14/+19
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 086d9b2bab Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !4237
* | \ \ \ Merge topic 'autogen_rcc_skip_unity'Brad King2020-01-202-14/+19
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 086d9b2bab Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !4237
| * | | | Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated filesSebastian Holtermann2020-01-172-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `rcc` generated files are not compatible with unity builds, because they contain classes in anonymous namespaces and static data with identical names. This patch sets the source file property `SKIP_UNITY_BUILD_INCLUSION` to `On` on all `AUTORCC` generated files to exclude them from unity build files. Fixes: #20191 "QT5: Exclude resource files from unity build"
* | | | | Merge topic 'fphsa-name-mismatch'Brad King2020-01-2015-4/+121
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be4d1bdf9a FPHSA: acknowledge the name mismatches in CMake-owned modules ee4673c1ae FPHSA: detect package name mismatches Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Eric Noulard <eric.noulard@gmail.com> Merge-request: !4123
| * | | | | FPHSA: acknowledge the name mismatches in CMake-owned modulesBen Boeckel2020-01-145-1/+8
| | | | | |
| * | | | | FPHSA: detect package name mismatchesBen Boeckel2020-01-1410-3/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `FPHSA_NAME_MISMATCHED` variable may be set if this is intentional (but should be cleared after the call to not affect other FPHSA calls). It may also be passed via the `NAME_MISMATCHED` option for new-signature FPHSA calls.
* | | | | | Merge topic 'acc-fix-in-source-depends-path'Brad King2020-01-204-6/+38
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba3a417dce Tests/CustomCommand: add a test for depending on a `./path` e23475dc73 Tests/CustomCommand: fix custom command line to actually make its output db4780d584 cmGeneratorTarget: search for relative paths to the binary directory ec479f101f cmLocalGenerator: collapse the path after construction fd0ba705ce add_custom_command: check if a relative path should be an in-source path fd84f510f8 cmLocalGenerator: simplify the current source dir query Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4195
| * | | | | | Tests/CustomCommand: add a test for depending on a `./path`Ben Boeckel2020-01-161-0/+8
| | | | | | |
| * | | | | | Tests/CustomCommand: fix custom command line to actually make its outputBen Boeckel2020-01-161-1/+1
| | | | | | |
| * | | | | | cmGeneratorTarget: search for relative paths to the binary directoryBen Boeckel2020-01-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dependencies in the form `./somepath.txt` are not found otherwise because we only match on last-path-component searches and `.` never shows up in a full path as a full component.
| * | | | | | cmLocalGenerator: collapse the path after constructionBen Boeckel2020-01-162-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The path may contain `..` or `.` components naïvely, so compute them out before letting the generator handle them.
| * | | | | | add_custom_command: check if a relative path should be an in-source pathBen Boeckel2020-01-163-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This still is broken for dependencies on generated paths where they get generated to the source directory rather than the build directory however, but there's no way to determine that is the case. Fixes: #20194
| * | | | | | cmLocalGenerator: simplify the current source dir queryBen Boeckel2020-01-161-2/+1
| | | | | | |
* | | | | | | Merge topic 'stl-support'Brad King2020-01-203-1/+87
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9a3f2e7e2 STL Support: enhance behavior of cm::dynamic_reference_cast 04c2f67492 STL Support: extends type_traits for future developments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4216
| * | | | | | | STL Support: enhance behavior of cm::dynamic_reference_castMarc Chevrier2020-01-171-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure cm::dynamic_reference_cast has same behavior as dynamic_cast on reference: raise std::bad_cast if dynamic_cast is not possible.
| * | | | | | | STL Support: extends type_traits for future developmentsMarc Chevrier2020-01-172-0/+78
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2020-01-201-1/+1
| | | | | | |
* | | | | | | Merge branch 'release-3.16'Craig Scott2020-01-190-0/+0
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | Merge topic 'pch-msvc-no-path-repetition' into release-3.16Craig Scott2020-01-191-1/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4236
* | \ \ \ \ \ \ Merge topic 'pch-msvc-no-path-repetition'Craig Scott2020-01-191-1/+2
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4236
| * | | | | | | PCH: No repeated path for internal generated PCH files (MSVC case)Cristian Adam2020-01-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19952
* | | | | | | | CMake Nightly Date StampKitware Robot2020-01-191-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2020-01-181-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'step5'Brad King2020-01-171-4/+10
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc2d1b1347 Tutorial: Clarify Step 5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4231
| * | | | | | | | Tutorial: Clarify Step 5Betsy McPhail2020-01-161-4/+10
| | | | | | | | |
* | | | | | | | | Merge topic 'out-of-dir-link-list'Brad King2020-01-1718-140/+214
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0e67da061 target_link_libraries: Fix out-of-dir linking of a list of targets acee629103 cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct ba675f1ecc Tests: Enable CMP0022 in ExportImport out-of-dir linking case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4226
| * | | | | | | | | target_link_libraries: Fix out-of-dir linking of a list of targetsBrad King2020-01-1617-85/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a case like target_link_libraries(targetInOtherDir PUBLIC "$<1:a;b>") then all entries in the list need to be looked up in the caller's scope. Previously our `::@(directory-id)` suffix would apply only to the last entry. Instead surround the entire entry by a pair `::@(directory-id);...;::@` so that the `::@` syntax can encode a directory lookup scope change evaluated as the list is processed. Fixes: #20204
| * | | | | | | | | cmTargetLinkLibrariesCommand: Move HandleLibrary to helper structBrad King2020-01-161-65/+82
| | | | | | | | | |
| * | | | | | | | | Tests: Enable CMP0022 in ExportImport out-of-dir linking caseBrad King2020-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since out-of-dir linking is enabled by CMP0079, which is newer than CMP0022, it is likely that both will be set in practice when out-of-dir linking is used.
* | | | | | | | | | Merge topic 'cmake-ctest-arguments'Brad King2020-01-177-0/+39
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4153d8445b Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4168
| * | | | | | | | | | Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctestRobert Goulet2020-01-157-0/+39
| | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20172
* | | | | | | | | | Merge topic 'rename-cross-config-variable'Brad King2020-01-176-22/+26
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 310b58e961 Ninja Multi-Config: Rename variable to be more consistent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4234
| * | | | | | | | | | Ninja Multi-Config: Rename variable to be more consistentKyle Edwards2020-01-166-22/+26
| | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also make some tweaks to the documentation.
* | | | | | | | | | Merge topic 'feature/cmSourceFile-avoid-unnecessary-copy'Brad King2020-01-171-2/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5da3d01fd1 cmSourceFile: avoid unnnecessary copies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4233
| * | | | | | | | | | cmSourceFile: avoid unnnecessary copiesTim Blechmann2020-01-161-2/+2
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the copies in `cmSourceFile::FindFullPath` are one of the hotspots of my build system: we can easily avoid them by capturing by reference instead of by value
* | | | | | | | | | Merge topic 'csharp-default-langversion'Brad King2020-01-171-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e882b4275 CSharp: Set C# compiler to default version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4232
| * | | | | | | | | | CSharp: Set C# compiler to default versionSumit Bhardwaj2020-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the hard-coded ``/langversion:3`` option and let the compiler choose the default language version automatically as documented at https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version Fixes: #17674
* | | | | | | | | | | Merge branch 'release-3.16'Brad King2020-01-170-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge topic 'findopenssl-dependencies-link-order' into release-3.16Brad King2020-01-171-7/+5
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2880aaa06 FindOpenSSL: Fix ordering of dependency link flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4235
* | \ \ \ \ \ \ \ \ \ \ Merge topic 'findopenssl-dependencies-link-order'Brad King2020-01-170-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2880aaa06 FindOpenSSL: Fix ordering of dependency link flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4235
| * | | | | | | | | | | FindOpenSSL: Fix ordering of dependency link flagsAshley Whetter2020-01-161-7/+5
| | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20082, #20224
* | | | | | | | | | | Merge topic 'cpack-custom-dmg-names'Craig Scott2020-01-1710-1/+94
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d6f4b9316 CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME b53230fbee Tests: Add DragNDrop as a testable CPack generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4227
| * | | | | | | | | | | CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAMEAndrew Fuller2020-01-166-1/+26
| | | | | | | | | | | |
| * | | | | | | | | | | Tests: Add DragNDrop as a testable CPack generatorAndrew Fuller2020-01-164-0/+68
| | | | | | | | | | | |
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2020-01-171-1/+1
| |_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | |