https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
e14974a CMake 3.16.7 27 May 2020, 10:13:45 UTC
041e57a Merge branch 'vs-sln-version' into release-3.16 Merge-request: !4765 19 May 2020, 12:39:59 UTC
88ad02f VS: Restore .sln support for VS Version Selector Since commit 3b51343ea1 (VS: Emit UTF-8 BOM for generated solution files, 2019-08-19, v3.16.0-rc1~237^2) the `.sln` file does not work with the VS Version Selector. Add a newline after the BOM to restore support. Fixes: #20725 19 May 2020, 12:24:37 UTC
36599e2 Merge branch 'fix-ClearSourcesCache' into release-3.16 Merge-request: !4751 15 May 2020, 13:53:05 UTC
481100e Merge branch 'backport-3.16-FindPkgConfig-isystem' into release-3.16 Merge-request: !4752 15 May 2020, 13:48:51 UTC
3719ddd Help: Add 3.16.7 release note for FindPkgConfig '-isystem' fix Add a release note for the change in commit 4d446c68d1 (FindPkgConfig: also handle "-isystem" prefixes for include directories, 2020-04-30). 15 May 2020, 13:46:06 UTC
a9f4f58 cmGeneratorTarget: Clear AllConfigSources in ClearSourcesCache In commit 40aa6c059c (cmGeneratorTarget: Add method to collect all sources for all configs, 2017-04-10, v3.9.0-rc1~268^2~5) we forgot to update `ClearSourcesCache` to also clear `AllConfigSources`. This leads to subtle cases where code paths like PCH handling that add sources during generation break depending on ordering. Suggested-by: Christian Fersch Fixes: #20712, #20702 15 May 2020, 12:26:43 UTC
b1a3131 Merge branch 'backport-3.16-objc-env-vars' into release-3.16 14 May 2020, 11:31:32 UTC
67b9f55 Objective C/C++: Honor CC and CXX env vars to select compiler If the `OBJC` or `OBJCXX` environment variable is not set to specify an Objective C or C++ compiler, check `CC` or `CXX` too. Fixes: #20703 14 May 2020, 11:17:48 UTC
ab9be66 Help: Document OBJC and OBJCXX env vars for Objective C/C++ compilers 14 May 2020, 11:10:06 UTC
4b81040 Merge branch 'pch-msvc-pragma' into release-3.16 Merge-request: !4736 11 May 2020, 17:34:25 UTC
6c2514d MSVC: Use 'pragma system_header' in PCH only on cl 19.13 and above VS 2017 15.6 introduced support for this pragma. Older MSVC versions warn that it is unknown. Fixes: #20692 11 May 2020, 17:31:15 UTC
9cd0523 Merge branch 'vs-pch-compile-opts' into release-3.16 Merge-request: !4734 11 May 2020, 16:03:45 UTC
6b2fb4f VS: Fix using PCH from source with COMPILE_OPTIONS If a source file gets per-source flags from both PCH and custom `COMPILE_OPTIONS`, combine them correctly. Fixes: #20694, #20456 11 May 2020, 15:58:41 UTC
68f60c0 Merge branch 'FindGTK2-harfbuzz-target' into release-3.16 Merge-request: !4725 09 May 2020, 10:40:26 UTC
5ab137b FindGTK2: Add harfbuzz target for dependency from pango Since commit effafca77e (FindGTK2: Add harfbuzz to GTK2_INCLUDE_DIRS, 2019-10-01, v3.16.0-rc1~22^2), pango's dependency on harfbuzz has been captured, but only for the `GTK2_INCLUDE_DIRS` and `GTK2_LIBRARIES` variables. Add the `GTK2::harfbuzz` imported target and update the `GTK2::pango` target to depend on it. Issue: #19531 09 May 2020, 10:38:18 UTC
6687a82 Merge branch 'backport-3.16-FindPkgConfig-isystem' into release-3.16 Merge-request: !4693 06 May 2020, 11:50:20 UTC
4d446c6 FindPkgConfig: also handle "-isystem" prefixes for include directories Fixes: #20652 05 May 2020, 16:30:38 UTC
f9283f0 Merge branch 'CheckLanguage-cuda-host' into release-3.16 Merge-request: !4711 05 May 2020, 14:00:54 UTC
5b304a7 CheckLanguage: Fix forwarding of CMAKE_CUDA_HOST_COMPILER Fix the condition added by commit fada8cbfd6 (CheckLanguage: Report CMAKE_CUDA_HOST_COMPILER if needed for compilation, 2019-05-31, v3.15.0-rc1~12^2) to activate CUDA-specific logic. The old condition had worked in our test suite only by accident because the loop variable used in the test happened to be the name and value that the old condition used! Update the test to use a different name. Fixes: #19013 05 May 2020, 13:50:29 UTC
a9490db Merge branch 'makefile-objc' into release-3.16 Merge-request: !4675 28 April 2020, 11:04:44 UTC
c4d09fd Makefiles: Add Objective C/C++ compilations to compile_commands.json Fixes: #20634 28 April 2020, 11:03:07 UTC
98aa628 Makefiles: Scan Objective C/C++ preprocessor dependencies Fixes: #20635 28 April 2020, 11:03:07 UTC
1d39c1e Merge branch 'pch-genex-absolute' into release-3.16 Merge-request: !4678 27 April 2020, 18:15:52 UTC
b204bae target_precompile_headers: Fix documented example using genex When the path to a header file is specified using a generator expression, evaluation of the genex must produce an absolute path. Update our documented example and add a test covering the case. Fixes: #20617 27 April 2020, 18:12:41 UTC
6046bae Merge branch 'ibmi-aix-exports' into release-3.16 Merge-request: !4611 14 April 2020, 18:50:11 UTC
096958d Merge branch 'FindMPI-pgi-spectrum-mpi-wrappers' into release-3.16 Merge-request: !4598 14 April 2020, 18:49:56 UTC
420e91c AIX: Activate symbol export/import IBM i (OS400) Fixes: #20582 14 April 2020, 18:45:51 UTC
cd449c6 FindMPI: Add the pgi compiler wrapper names used by IBM Spectrum MPI 10 April 2020, 16:01:59 UTC
4c82f30 CMake 3.16.6 10 April 2020, 11:37:32 UTC
dd31068 Merge branch 'doc-3.15-std-fix' into release-3.16 Merge-request: !4574 06 April 2020, 13:57:01 UTC
182a104 Help: Add 3.15 release note for change in -std= flag for compile features Issue: #19917 06 April 2020, 13:54:10 UTC
3f1cd55 Merge branch 'FindPython-fix-VIRTUALENV-eq-FIRST' into release-3.16 Merge-request: !4557 01 April 2020, 14:38:31 UTC
81beb28 FindPython: fix handling when FIND_VIRTUALENV == FIRST Fixes: #20525 01 April 2020, 14:36:46 UTC
9fce979 Merge branch 'backport-3.16-link-libs-config-case' into release-3.16 Merge-request: !4544 30 March 2020, 15:49:13 UTC
933d069 Merge branch 'aix-ExportImportList-install' into release-3.16 Merge-request: !4545 30 March 2020, 15:48:55 UTC
39e5a4d AIX: Install ExportImportList script with execute permission This script was added by commit 0f150b69d3 (AIX: Explicitly compute shared object exports for both XL and GNU, 2019-07-11, v3.16.0-rc1~418^2~2) but does not have a `.sh` extension so our existing install rules neglect to give it execute permission. Our test suite works on AIX in the build tree but the script is broken without execute permission on installation. Fixes: #20520 30 March 2020, 15:43:08 UTC
5a95b5e target_link_libraries: Fix regression in case of $<CONFIG> genex Since commit b8626261e9 (Precompile headers: Add methods to generate PCH sources, 2019-07-13, v3.16.0-rc1~182^2~4) we look up source files for a target using an upper-case configuration even though an original-case name is sufficient. Since commit 36ded610af (PCH: Generate sources during Compute step, 2019-10-05, v3.16.0-rc1~2^2) the source file lookup is the first time we compute many on-demand structures that depend on the configuration name. This caused the `$<CONFIG>` generator expression to evaluate to the upper-case configuration name in some cases where we used original-case before. Fix this by switching the source file lookup to the original-case config name. Add a test covering the symptom that led to the discovery of this problem. Fixes: #20517 30 March 2020, 15:24:27 UTC
6fdf05d Merge branch 'make-nested-silent' into release-3.16 Merge-request: !4515 26 March 2020, 11:37:06 UTC
d6d9da5 Makefiles: Fix silencing of nested calls for GNU make 4.3 Since GNU make 4.3, `.SILENT:` no longer causes nested `$(MAKE)` calls to get `-s` implicitly. Add the `-s` flag explicitly on such calls to suppress messages about Entering/Leaving directories. Fixes: #20487 26 March 2020, 11:34:24 UTC
2a085de Merge branch 'GetPrerequisites-vcruntime-is-system' into release-3.16 Merge-request: !4506 19 March 2020, 14:19:43 UTC
417b765 GetPrerequisites: Classify vcruntime libraries as system Previously GetPrerequisites classified `vcruntime*.dll` as type "other". They should be classified as type "system". 19 March 2020, 14:17:40 UTC
5a896bb Merge branch 'swift-link-line-spaces' into release-3.16 Merge-request: !4469 12 March 2020, 12:49:20 UTC
af39d1b Swift: Fix quoting of library search paths with spaces The library search paths added by commit 2746c61e6d (Swift: Add library search paths for dependencies, 2019-06-09, v3.16.0-rc1~561^2) need to be quoted properly on command lines to handle spaces and such. This was already done by `cmLinkLineComputer::ComputeLinkPath` for non-Swift-specific link directories. 12 March 2020, 12:46:11 UTC
2c3cf63 Merge branch 'ibmi-fix-libuv-build' into release-3.16 Merge-request: !4431 06 March 2020, 19:25:50 UTC
7d6bd14 libuv: Add support for building on IBM i (OS400) 06 March 2020, 19:24:01 UTC
2de8605 Merge branch 'cmstd-IBM-i' into release-3.16 Merge-request: !4430 05 March 2020, 20:09:09 UTC
917db81 cmstd: Remove -isystem option for IBM i (OS400) Much like AIX, IBM i (OS identifier "OS400") implicitly adds `extern "C"` around system header files included with the `-isystem` option. Update the condition added by commit c688b401d3 (cmstd: Modernize CMake system headers, 2019-08-04, v3.16.0-rc1~81^2~1) to treat `IBM i` as we do AIX. 05 March 2020, 20:07:46 UTC
b7d8c91 CMake 3.16.5 04 March 2020, 13:50:44 UTC
75d5232 Merge branch 'doc-rel-3.16-updates' into release-3.16 Merge-request: !4425 04 March 2020, 13:49:19 UTC
d25d8e9 Help: Update CMake 3.16 release notes for 3.16.5 27 February 2020, 13:52:52 UTC
4e6b14c Merge branch 'backport-3.16-FindPython-cache-cleanup' into release-3.16 1dc524f2 FindPython: Do not cache computed result variables in CMake 3.16 602d1d82 FindPython: Mark non-public cache entries INTERNAL in CMake 3.16 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4399 27 February 2020, 13:33:11 UTC
1dc524f FindPython: Do not cache computed result variables in CMake 3.16 Since commit 06d9e67fbd (FindPython: Add capability to specify directly artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally add the result variables `Python*_LIBRARY_RELEASE` and `Python*_LIBRARY_DEBUG` to the cache. They are always computed from other results and so should not be presented to users in cmake-gui and ccmake to edit. Issue: #20362 26 February 2020, 13:09:21 UTC
602d1d8 FindPython: Mark non-public cache entries INTERNAL in CMake 3.16 Since commit 06d9e67fbd (FindPython: Add capability to specify directly artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally expose cache entries named `_Python...` to users in cmake-gui and ccmake. Mark those entries as `INTERNAL` to hide them. Issue: #20362 26 February 2020, 13:09:16 UTC
ede4497 Merge branch 'FindPkgConfig-scope' into release-3.16 Merge-request: !4388 24 February 2020, 19:45:34 UTC
0aa91f9 Merge branch 'backport-cuda-non-device-link' into release-3.16 Merge-request: !4376 24 February 2020, 18:36:24 UTC
738f3f2 Ninja: Do not use nvcc response files with non-nvcc tools Since commit d91b5a72cd (Ninja: Add support for CUDA nvcc response files, 2019-05-30, v3.15.0-rc1~8^2) we use NVCC's `--options-file` option to avoid long link command lines via a response file. However, for non-device linking the host tools are used and the option does not make sense. Update the logic to use `--options-file` only for device linking. Linking with the host tools already has its own logic for response files. Fixes: #19954 24 February 2020, 18:31:33 UTC
c3e0d1f FindPkgConfig: set policies CMP0054 and CMP0057 to new One may encounter warnings if FindPkgConfig is used in any project, even indirectly, that has set any of these policies to old explicitely or requires an older version. 24 February 2020, 15:42:34 UTC
0f0d8f5 Merge branch 'backport-3.16-install-default-fix' into release-3.16 12 February 2020, 14:01:23 UTC
44a698c Merge branch 'release-3.15' into release-3.16 11 February 2020, 19:53:47 UTC
9442ae5 install: Fix regression when using default destinations In commit 9fc20a4f3e (install: Add sane set of defaults for DESTINATION and file type parameters, 2018-11-02, v3.14.0-rc1~410^2~1), a regression was introduced, in which an `install(TARGETS)` with a RUNTIME/LIBRARY/ARCHIVE DESTINATION but no PUBLIC_HEADER/PRIVATE_HEADER DESTINATION would then install the headers. The old behavior did not do this. Restore the old behavior. Fixes: #20326 11 February 2020, 13:34:16 UTC
37fa692 Merge branch 'backport-3.16-link-line-backtrace' into release-3.16 Merge-request: !4344 10 February 2020, 21:18:22 UTC
e756328 Propagate backtraces from LINK_LIBRARIES through to link line items Since commit d4d0dd0f6a (cmLinkLineComputer: Add ComputeLinkLibs overload with backtraces, 2019-09-13, v3.16.0-rc1~87^2~4), backtraces have been collected by `ComputeLinkLibs` by looking back through the link implementation libraries for one matching the text of the link line item. This is slow in projects with long link lines. Instead, teach `cmComputeLinkDepends` and `cmComputeLinkInformation` to carry backtrace information explicitly along with the text of each item. Fixes: #20322 10 February 2020, 21:11:38 UTC
3eae0aa Merge branch 'libarchive-win-codepage' into release-3.16 Merge-request: !4332 06 February 2020, 20:06:12 UTC
16e3152 libarchive: Add support for UTF-8 locale on Windows Backport libarchive upstream commit `c46e7993` (windows: Support UTF-8 locale, 2018-07-23, v3.4.0~105^2). Fixes: #20320 06 February 2020, 20:04:47 UTC
f7c54d2 libarchive: Fix WideCharToMultiByte output buffer size Fix `archive_string_append_from_wcs_in_codepage` to account for the already-used portion of the buffer when computing the size of the remaining buffer for ``WideCharToMultiByte` output. 06 February 2020, 20:04:47 UTC
44b8937 CMake 3.16.4 05 February 2020, 14:19:24 UTC
4b1a6a4 Merge topic 'vs-version-for-unity' into release-3.16 9135954e2f VS: Do not use native unity builds on VS 2017 versions less than 15.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4324 05 February 2020, 13:33:50 UTC
9135954 VS: Do not use native unity builds on VS 2017 versions less than 15.8 VS 2017 version 15.8 introduced support for unity builds implemented in part by the `$(VCTargetsPath)/Microsoft.Cpp.Unity.targets` file. Do not enable unity builds on VS 15 versions that do not have that file. Fixes: #20284 04 February 2020, 16:46:18 UTC
ebea30a CMake 3.15.7 04 February 2020, 14:02:13 UTC
24d57c2 Merge topic 'android-ndk-r19-binutils' into release-3.16 e3d3b7ddeb Android: Fix binutils selection with NDK r19+ unified toolchain Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4318 04 February 2020, 13:26:39 UTC
e3d3b7d Android: Fix binutils selection with NDK r19+ unified toolchain In commit 97bca2f9fa (Android: Use unified toolchain in NDK r19+, 2019-07-26, v3.16.0-rc1~342^2) we hard-coded use of the unified toolchain for NDK r19+ and skipped most of the old detection logic. However, in that fast path we left out setting `_CMAKE_TOOLCHAIN_PREFIX` for `CMakeFindBinutils` to select the matching binutils. Add it. Fixes: #20038 03 February 2020, 19:35:12 UTC
203abaf Merge topic 'aix-skip-exports' into release-3.16 a17f6eff43 AIX: Restore pre-3.16 undocumented method to suppress exports with XL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4303 31 January 2020, 14:13:59 UTC
a17f6ef AIX: Restore pre-3.16 undocumented method to suppress exports with XL In commit 0f150b69d3 (AIX: Explicitly compute shared object exports for both XL and GNU, 2019-07-11, v3.16.0-rc1~418^2~2) we dropped use of the old `CMAKE_XL_CreateExportList` cache entry for XL exports. However, some people were setting the value to an empty string as a way to disable automatic export of symbols. Restore this behavior when the option is explicitly set to an empty string. Issue: #20290 30 January 2020, 16:38:17 UTC
f972b92 Merge topic 'vs-16.4-custom-command-inputs' into release-3.16 58b0674687 VS: Tell VS 16.4 not to verify SYMBOLIC custom command inputs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4297 29 January 2020, 15:36:40 UTC
3c5f003 Merge branch 'vs-16.4-custom-command-inputs' into release-3.15 Merge-request: !4297 28 January 2020, 18:59:27 UTC
58b0674 VS: Tell VS 16.4 not to verify SYMBOLIC custom command inputs Extend the fix from commit 0578239d3a (VS: Tell VS 16.4 not to verify SYMBOLIC custom command outputs, 2019-09-23, v3.15.4~2^2) to apply to SYMBOLIC *inputs* too. This is needed when there is a chain of custom commands that use symbolic paths for ordering. Fixes: #20179 28 January 2020, 18:52:05 UTC
89ed119 Merge topic 'cpack-deb-fix-description' into release-3.16 baec299ecd CPack: Fix regression in Deb description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4271 27 January 2020, 14:27:36 UTC
baec299 CPack: Fix regression in Deb description Fixes: #20254 24 January 2020, 13:50:43 UTC
7458892 Merge topic 'get-runtime-dependencies-keyword-args' into release-3.16 4c8a917a87 file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4262 23 January 2020, 15:02:44 UTC
70adbc0 Merge topic 'findmpi-documentation' into release-3.16 95a501addb Help: Add more variable documentation to FindMPI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4263 23 January 2020, 15:01:56 UTC
95a501a Help: Add more variable documentation to FindMPI 22 January 2020, 19:46:09 UTC
4c8a917 file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments Also list all keywords that were missing values instead of only the first one. 22 January 2020, 18:05:46 UTC
39c357b Merge topic 'msvc-runtime-library-masm' into release-3.16 1421005835 ASM_MASM: Populate MSVC runtime library abstraction table Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4257 22 January 2020, 14:17:41 UTC
99e1be5 Merge branch 'msvc-runtime-library-masm' into release-3.15 Merge-request: !4257 21 January 2020, 17:55:36 UTC
1421005 ASM_MASM: Populate MSVC runtime library abstraction table In commit fb3370b6a1 (MSVC: Add abstraction for runtime library selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked populating the runtime library selection flags for the Microsoft assembler. It does not actually have any such flags, but since its compiler id is `MSVC` our generators expect the table to be populated. Use empty values. Without this fix, enabling the `ASM_MASM` language with policy `CMP0091` set to `NEW` causes an error due to the missing table entries. Fixes: #20236, #19453 21 January 2020, 17:54:50 UTC
21e60da CMake 3.16.3 21 January 2020, 15:17:47 UTC
bcb0816 Merge topic 'InstallRequiredSystemLibraries-redist' into release-3.16 7ca923bcaf IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Andrey Vihrov <andrey.vihrov@gmail.com> Merge-request: !4247 21 January 2020, 14:15:17 UTC
a3f9a9a Merge branch 'InstallRequiredSystemLibraries-redist' into release-3.15 Merge-request: !4247 20 January 2020, 18:22:22 UTC
7ca923b IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available VS now distributes these additional runtime libraries. Install them if available. Fixes: #20228 20 January 2020, 18:19:56 UTC
b168d8e Merge topic 'autogen_rcc_skip_unity' into release-3.16 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 20 January 2020, 16:54:13 UTC
582cc71 Merge topic 'pch-msvc-no-path-repetition' into release-3.16 07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4236 19 January 2020, 20:10:17 UTC
086d9b2 Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files `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" 17 January 2020, 14:48:35 UTC
4c907ea Merge topic 'findopenssl-dependencies-link-order' into release-3.16 d2880aaa06 FindOpenSSL: Fix ordering of dependency link flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4235 17 January 2020, 14:25:23 UTC
07fe1bc PCH: No repeated path for internal generated PCH files (MSVC case) Fixes: #19952 16 January 2020, 16:05:05 UTC
8cd35ba Merge topic 'nag-submodule' into release-3.16 f7f60ddcf9 Fortran: Add support for NAG Fortran submodules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4229 16 January 2020, 15:56:02 UTC
d2880aa FindOpenSSL: Fix ordering of dependency link flags Fixes: #20082, #20224 16 January 2020, 15:53:19 UTC
f7f60dd Fortran: Add support for NAG Fortran submodules They use a `.sub` extension. Fixes: #20220 15 January 2020, 19:12:22 UTC
3b3f247 Merge topic 'unity-lang-filename' into release-3.16 274a6f3699 Unity Build: include language in generated source file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4223 15 January 2020, 18:37:33 UTC
f0986f6 Merge topic 'python39' into release-3.16 f6474214b3 FindPython: Add support for version 3.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com> Acked-by: Björn Esser <besser82@fedoraproject.org> Merge-request: !4225 15 January 2020, 18:36:35 UTC
back to top