CMake merge requestshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests2019-07-26T07:37:25-04:00https://gitlab.kitware.com/cmake/cmake/-/merge_requests/3608Help: Add 3.15.1 release notes2019-07-26T07:37:25-04:00Brad KingHelp: Add 3.15.1 release notes3.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3605FindMPI: make sure computed link flags are not de-duplicated2019-07-26T07:13:28-04:00Robert MaynardFindMPI: make sure computed link flags are not de-duplicatedFixes: #19516
Topic-rename: FindMPI-link-flags
Fixes: #19516
Topic-rename: FindMPI-link-flags
3.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3599Makefile: Fix regression in dependencies on relative includes2019-08-04T11:24:51-04:00Brad KingMakefile: Fix regression in dependencies on relative includesSince !3117, one code path now calls `CollapseFullPath` with a base path that may be relative. Backport utils/kwsys!145 to handle such base paths.
This case occurs when a build tree is placed in a directory inside a source tree such th...Since !3117, one code path now calls `CollapseFullPath` with a base path that may be relative. Backport utils/kwsys!145 to handle such base paths.
This case occurs when a build tree is placed in a directory inside a source tree such that CMake is willing to generate a relative path from the build tree to the source tree. Add a test covering this case.
Fixes: #195073.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3592Clang: For MSVC ABI do not use modes older than C++142020-02-03T12:06:14-05:00Brad KingClang: For MSVC ABI do not use modes older than C++14Since !2992 we support the GNU-like Clang that
targets the MSVC ABI. However, Clang cannot compile with the MSVC
standard library unless it runs in a mode aware of C++14 (since MSVC
itself does not even have a lower mode). When `CMA...Since !2992 we support the GNU-like Clang that
targets the MSVC ABI. However, Clang cannot compile with the MSVC
standard library unless it runs in a mode aware of C++14 (since MSVC
itself does not even have a lower mode). When `CMAKE_CXX_STANDARD` is
set to 98 or 11, use C++14 anyway.
Since Clang's default mode is aware of C++14, another option is to not
add any flags for 98 or 11. However, if a future Clang version ever
defaults to a higher C++ standard, setting the standard to 98 or 11
should at least not use a mode higher than 14.
Also revert test and tutorial updates from !2992 that were meant to work around the standard selection problem.
In particular, changing the tests in this way broke the tutorial's narrative.
Fixes: #19496
3.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3591Fix allocation in CROSSCOMPILING_EMULATOR evaluation2019-07-24T08:16:14-04:00kfaziFix allocation in CROSSCOMPILING_EMULATOR evaluationIn !3402 the new member `cmCustomCommandGenerator::EmulatorsWithArguments` was not initialized to the proper size. Fix this and add a test case covering the crash that could occur with multiple commands where an emulator appears only in...In !3402 the new member `cmCustomCommandGenerator::EmulatorsWithArguments` was not initialized to the proper size. Fix this and add a test case covering the crash that could occur with multiple commands where an emulator appears only in a later command.
Fixes: #19500
Topic-rename: fix-emulator-arguments
3.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3585IRSL: Fix discovery of VS 2019 v141 toolset redistributables2019-07-23T07:38:16-04:00James ButlerIRSL: Fix discovery of VS 2019 v141 toolset redistributablesThis updates the logic in `InstallRequiredSystemLibraries` so that the v141 redistributable path is searched for in multiple VS versions (VS2017 and VS2019).
A second minor commit fixes a typo that would prevent a warning message when...This updates the logic in `InstallRequiredSystemLibraries` so that the v141 redistributable path is searched for in multiple VS versions (VS2017 and VS2019).
A second minor commit fixes a typo that would prevent a warning message when the `MSVC_TOOLSET_VERSION` is greater than or equal to 143.
Fixes: #19488
Topic-rename: InstallRequiredSystemLibraries-redist
3.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3573MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set2019-07-19T11:57:14-04:00Brad KingMSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not setBy default `CMAKE_MSVC_RUNTIME_LIBRARY` is not set. Document the
default runtime library selection in that case. We already test it.
Follow up to !3211 and !3249.By default `CMAKE_MSVC_RUNTIME_LIBRARY` is not set. Document the
default runtime library selection in that case. We already test it.
Follow up to !3211 and !3249.3.15.1Robert MaynardRobert Maynardhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3569VS: Place intermediate files in the "ASM List Location" next to objects2023-02-03T15:37:28-05:00Brad KingVS: Place intermediate files in the "ASM List Location" next to objectsThe `AssemblerListingLocation` setting in VS project files is meant for intermediate files created during the build much like object files. When the VS 7 generator was first under development, commit 49aebe6c99934dec634a3b497128465645db...The `AssemblerListingLocation` setting in VS project files is meant for intermediate files created during the build much like object files. When the VS 7 generator was first under development, commit 49aebe6c99934dec634a3b497128465645db406c placed both object files and the ASM list location in the same directory. Later commit f9aef0e422b7e308d48bb409c435cc78739c4804 moved the object files to a per-target directory but the ASM list location was not moved with them. Move it now.
Fixes: #194803.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3568Swift: Backport improvements for 3.15.1 Release2019-07-23T08:43:06-04:00Saleem AbdulrasoolSwift: Backport improvements for 3.15.1 ReleaseThis backports the improvements made to CMake for Swift to the 3.15 branch for inclusion in the 3.15.1 release. These changes are high value changes enabling static libraries and correcting dynamic library builds on Linux platforms. Ad...This backports the improvements made to CMake for Swift to the 3.15 branch for inclusion in the 3.15.1 release. These changes are high value changes enabling static libraries and correcting dynamic library builds on Linux platforms. Additionally, they enable multithreaded compilation without which the builds are incredibly slow.3.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3564FindPython: ensure interpreter is founded when cross-compiling2019-07-18T07:43:58-04:00Marc ChevrierFindPython: ensure interpreter is founded when cross-compilingFixes: #19473
topic-rename: FindPython-interpreter-crosscompilingFixes: #19473
topic-rename: FindPython-interpreter-crosscompiling3.15.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3563CTest: Generate Done.xml before calculating its hash2019-07-19T12:04:20-04:00Betsy McPhailCTest: Generate Done.xml before calculating its hashFixes: #19489
Topic-rename: ctest-done-hash
Fixes: #19489
Topic-rename: ctest-done-hash
3.15.1Brad KingBrad King