https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
3e55487 CMake 3.12.3 03 October 2018, 12:20:44 UTC
7787fb6 Merge branch 'fix-csharp-target-type' into release-3.12 Merge-request: !2427 02 October 2018, 18:58:57 UTC
375b420 CSharp: Fix regression in VS project type selection A that target contains only `.cs` sources should be generated as a `.csproj` project even if it links to non-CSharp static libraries. The latter case was broken by refactoring in commit v3.12.0-rc1~160^2~7 (remove TargetIsCSharpOnly() and use methods from cmGeneratorTarget, 2018-03-19). The reason is that the `HasLanguage` method added by commit v3.12.0-rc1~239^2~6 (cmGeneratorTarget: add HasLanguage() as wrapper for GetLanguages(), 2018-03-19) enforces its "exclusive" check on the combined set of source file languages and the link language. To restore the original `TargetIsCSharpOnly` semantics, update `HasLanguage` to enforce exclusiveness only on the list of sources. Fixes: #18239 02 October 2018, 18:58:11 UTC
8b21aa0 VS: Fix CSharp flag selection when linking to a static C++ library When a CSharp target links to a static C++ library, CMake will compute the link language as C++ instead of CSharp. That may be incorrect and needs further investigation, but it does not affect how VS drives C# linking. However, it does break our flag language selection logic and causes C++ flags to be used for CSharp. In particular, this drops the `-platform:x86` flag on 32-bit builds. Fix this by always selecting the CSharp flags when generating a `.csproj` project type. Issue: #18239 02 October 2018, 18:58:11 UTC
518c506 Merge branch 'libuv-gnu-hurd' into release-3.12 Merge-request: !2422 01 October 2018, 12:24:35 UTC
3c0bfb5 libuv: do not require PATH_MAX to be defined Some platforms (e.g. GNU/Hurd) do not define PATH_MAX. Add a few other variants and a fallback constant. Also use alternatives where possible: * For readlink(), use lstat() to read the length of the link first. If it is not a symlink, report EINVAL before trying to allocate. If the size reports as zero, fall back one of the PATH_MAX variants. * For realpath(), POSIX 2008 allows us to pass a NULL buffer to tell it to malloc() internally. This patch was inspired by downstream patches in Debian packaging for issues 897061 and 909011. Issue: #18337 01 October 2018, 12:22:38 UTC
a9694d6 Merge branch 'libarchive-libressl-2.7' into release-3.12 Merge-request: !2416 26 September 2018, 13:50:43 UTC
e7e88e9 libarchive: Backport fix for build with LibreSSL 2.7 Backport libarchive commit v3.3.3~16^2 (fix build with LibreSSL 2.7, 2018-04-01). LibreSSL 2.7 adds OpenSSL 1.1 API leading to conflicts on method names. Fixes: #18404 26 September 2018, 13:47:53 UTC
60e6e5d Merge branch 'doc-updates' into release-3.12 Merge-request: !2401 19 September 2018, 14:46:31 UTC
cfe7780 Help: TESTS property: clarify usage. 19 September 2018, 14:46:22 UTC
c1fd160 Merge branch 'FindDoxygen-CMP0057' into release-3.12 Merge-request: !2373 11 September 2018, 19:55:06 UTC
e821340 FindDoxygen: Ensure policy settings allow use of IN_LIST In commit v3.9.0-rc1~55^2 (Improve Doxygen support, 2017-04-10) use of the `IN_LIST` condition was added, but this is only supported when policy CMP0057 is set to NEW. Add a policy scope around the module and enable the policy within it. Otherwise it works only in projects that happen to enable the policy. Fixes: #18361 11 September 2018, 19:52:43 UTC
e0e56ab Merge branch 'FindMPI-restore-flags-string' into release-3.12 Merge-request: !2368 10 September 2018, 18:52:39 UTC
3eda5cd Merge branch 'fix-ctest_start-track' into release-3.12 Merge-request: !2366 10 September 2018, 18:35:59 UTC
e374b9f FindMPI: Restore MPI_<LANG>_COMPILE_FLAGS as a command-line string Refactoring in commit v3.10.0-rc1~103^2~2 (FindMPI: Modernization from ground up, 2017-04-25) accidentally left this variable set as a copy of the `;`-list in `MPI_<LANG>_COMPILE_OPTIONS`, but the flags variable is documented as a command-line string. Restore it now. Fixes: #18349 10 September 2018, 18:33:29 UTC
09f0325 CTest: Fix regression in ctest_start() The format for the TAG file was changed in 3.12, and the way it was read caused a regression which changed how the track was decided. This commit fixes the regression. Fixes #18347. 10 September 2018, 18:31:21 UTC
68f2b47 Merge branch 'ctest-fix-test-load' into release-3.12 Merge-request: !2362 10 September 2018, 11:40:31 UTC
292ec15 CTest: Fix --test-load regression The `ctest --test-load` option is implemented in `StartNextTests` by not starting any tests when the load is too high and instead sleeping and then returning. Prior to commit v3.11.0-rc1~117^2 (CTest: Re-implement test process handling using libuv, 2017-12-10) our outer loop in `RunTests` would immediately call `StartNextTests` again. However, now the `uv_run` loop may simply terminate if there are no tests running because no events are left pending. Fix this by converting the sleep in `StartNextTests` into a libuv timer that it starts instead. This avoids leaving `uv_run` with no pending events. In the case that there are other running tests this also allows CTest to detect when they finish even if it during the wait period where we previously slept. This regression was not caught by the test suite because it only verified that we do not start new tests when the load was too high and not that we proceed to start tests when the load drops. Revise the test suite to cover both. Fixes: #18338 10 September 2018, 11:32:16 UTC
f478fa6 CMake 3.12.2 07 September 2018, 10:40:49 UTC
3dd926f Merge branch 'FindMatlab-no-CMAKE_CL_64' into release-3.12 Merge-request: !2354 05 September 2018, 19:20:03 UTC
bfe883a FindMatlab: Remove erroneous duplicate code This was left accidentally when resolving merge conflicts between previous changes. Fixes: #18221 05 September 2018, 19:19:50 UTC
925b95f Merge branch 'vs-CMakeLists.txt' into release-3.12 Merge-request: !2349 05 September 2018, 18:33:06 UTC
0b82e68 VS: Restore CMakeLists.txt references in each target The custom command de-duplication added by commit v3.12.0-rc1~171^2 (VS: Generate a custom command only in the least dependent target, 2018-03-23) accidentally also applied to the `CMakeLists.txt` file reference we put in each target. This file reference comes with a custom command that has no dependencies and that is safe to run repeatedly across multiple targets (via internal stamp checking). Therefore it should be excluded from the de-duplication so that `CMakeLists.txt` references appear in all targets for human reference. Fixes: #18310 05 September 2018, 18:32:45 UTC
6be7097 Merge branch 'FindBoost-old-context' into release-3.12 Merge-request: !2348 04 September 2018, 16:43:12 UTC
9a800c1 FindBoost: Fix context discovery for 1.60 and below * `all.hpp` was removed in 1.68: https://github.com/boostorg/context/commit/2e37599461912cc1679f106a25456a493f7f0b27 * `fcontext.hpp` was moved to detail in 1.61: https://github.com/boostorg/context/commit/c2f0dfdf2608c1ebaa2229fa6f358fe6aa103561 Fixes: #18126 04 September 2018, 16:41:36 UTC
80bb921 Merge branch 'CheckIPOSupported-output-backslashes' into release-3.12 Merge-request: !2331 30 August 2018, 15:53:40 UTC
4e1ea02 CheckIPOSupported: Tolerate backslashes in output of failed checks Avoid passing the output of our `try_compile` through a macro argument. Macro invocations re-parse their arguments and so should not be given arbitrary content that may contain backslashes and such. Instead pass a simple message. This is also more readable in the case that the macro generates a message itself. After the macro returns, report the real output directly to the variable named by our caller. Also record the output in a log file as other checks do on failure. Fixes: #18244 30 August 2018, 15:46:19 UTC
b7dbb25 CheckIPOSupported: Simplify result reporting logic Simplify the test for whether a `RESULT` argument was given to the `check_ipo_supported` call. Also do not set an empty variable name if `OUTPUT` was not given. 30 August 2018, 15:45:13 UTC
0e76408 Merge branch 'android-ndk-r18' into release-3.12 Merge-request: !2319 28 August 2018, 13:44:03 UTC
ca97d4c Android: Add support for NDK r18 NDK r18 drops GCC toolchains and some STL types. We need to choose a clang toolchain by default when no gcc toolchains are available. Switch the STL type default to `c++_static` when the old `gnustl_static` default is not available. Update the test suite to not run tests for STL types that do not exist. Also do not expect the gcc toolchain `cpp` tool to be available because r18 does not provide it. Also teach it to tolerate `gcc -dumpmachine` output like `arm--linux-android` that differs from the toolchain prefix. Fixes: #18301 28 August 2018, 13:27:26 UTC
fef24e7 Merge branch 'doc-clang-tidy-typo' into release-3.12 Merge-request: !2303 24 August 2018, 17:39:06 UTC
85432f4 Help: Fix typo in clang-tidy example -checks option 24 August 2018, 17:37:24 UTC
d515112 Merge branch 'FindCUDA-deprecate-cublas_device' into release-3.12 Merge-request: !2298 23 August 2018, 18:51:47 UTC
a173118 Merge branch 'cuda-no-cublas_device' into release-3.12 Merge-request: !2296 23 August 2018, 18:51:33 UTC
bdf1f36 FindCUDA: Do not find cublas_device on CUDA >= 9.2 The `cublas_device` has been deprecated and will be removed in future versions of CUDA. Issue: #18290 23 August 2018, 18:49:46 UTC
122c797 CUDA: Avoid using deprecated cublas_device to identify device lib dirs Use `curand_static` to identify directories containing device libraries because `cublas_device` is deprecated and will be removed in the future. Issue: #18290 23 August 2018, 18:43:31 UTC
8a3cba5 Merge branch 'state-reset-glob' into release-3.12 Merge-request: !2278 23 August 2018, 18:17:31 UTC
7e919ac Merge branch 'export-properties-undefined' into release-3.12 Merge-request: !2294 18 August 2018, 00:54:47 UTC
dbd3e2c EXPORT_PROPERTIES: Prevent null dereference for undefined property Fixes: #18260 16 August 2018, 12:22:13 UTC
b88bf67 EXPORT_PROPERTIES: Add test for an undefined property The added test verifies that a property listed in EXPORT_PROPERTIES can be undefined. It confirms the crash recorded in issue #18260. 16 August 2018, 12:21:25 UTC
6f3b9e8 cmState: Clear GlobVerificationManager state on Reset It should not persist across multiple configure rounds. Fixes: #18208 09 August 2018, 17:03:50 UTC
c4ab098 CMake 3.12.1 09 August 2018, 12:06:18 UTC
c776986 Merge branch 'cuda-arch-version' into release-3.12 Merge-request: !2251 01 August 2018, 17:47:56 UTC
37ba34c FindCUDA/select_compute_arch: Restore two-component CUDA_VERSION Since commit v3.12.0-rc1~332^2 (FindCUDA/select_compute_arch: Add support for CUDA as a language, 2018-03-15) this module sets `CUDA_VERSION` based on `CMAKE_CUDA_COMPILER_VERSION` when the language is enabled. Limit it to two components for consistency with the normal `FindCUDA` documentation and behavior. Fixes: #18231 01 August 2018, 17:42:13 UTC
3bab41f Merge branch 'UseSWIG-legacy-user-flags' into release-3.12 Merge-request: !2245 31 July 2018, 18:01:14 UTC
2f88c17 UseSWIG: restore legacy behavior for SWIG_MODULE_<name>_EXTRA_FLAGS Fixes: #18226 31 July 2018, 17:33:35 UTC
2af5307 Merge branch 'cpack-default-package-version-zero' into release-3.12 Merge-request: !2239 29 July 2018, 09:44:24 UTC
ed015bd CPack: Restore support for 0-valued version components In commit v3.12.0-rc1~136^2 (CPack: Use project version as default for `CPACK_PACKAGE_VERSION`, 2018-04-29) we did not account for the value of `CMAKE_PROJECT_VERSION_{MAJOR,MINOR,PATCH}` having `0`. Fix the logic to distinguish between unprovided version components and `0` components. While at it, add a test case covering the behavior described in the documentation by the original commit. The number of version components in the package name should match those provided to the `project()` command `VERSION` option. Fixes: #18199 27 July 2018, 14:01:29 UTC
8442d9f Merge branch 'googletest_policy_settings' into release-3.12 Merge-request: !2237 25 July 2018, 14:42:14 UTC
5041298 Merge branch 'project-injected-no-cmp0048' into release-3.12 25 July 2018, 12:24:29 UTC
7ddc2a1 GoogleTest: Ensure policy settings allow use of IN_LIST If policy settings at the time the GoogleTest module is included are such that CMP0057 is unset or set to OLD, the use of IN_LIST with if() will lead to an error. Therefore, explicitly specify the policy settings for the whole file to ensure the function implementations have access to the required CMake features. Fixes: #18198 25 July 2018, 11:30:51 UTC
6646771 project: Do not issue CMP0048 warnings on injected call Fixes: #18202 24 July 2018, 17:14:10 UTC
08eb157 Tests: Add case showing CMP0048 warning on injected project command Issue: #18202 24 July 2018, 17:14:09 UTC
b5061e0 Merge branch 'FindPython-fix-multiple-calls' into release-3.12 Merge-request: !2228 23 July 2018, 15:08:40 UTC
50921cc FindPython*: fix erroneous behavior on multiple 'find_package' calls Fixes: #18192 23 July 2018, 15:08:16 UTC
f478176 Merge branch 'doc-find_package-root' into release-3.12 Merge-request: !2225 20 July 2018, 13:45:04 UTC
492ade2 Help: Add explicit <PackageName>_ROOT variable documentation Add documentation for both the CMake variable and environment variable of this name pattern. Update references to these names to link to their documents. Clarify the pattern used to construct their names. 20 July 2018, 13:43:08 UTC
8cefa2c Merge branch 'tcl-8.7' into release-3.12 Merge-request: !2223 18 July 2018, 17:10:12 UTC
bec3be1 FindTCL: Add support for version 8.7 Fixes: #18186 18 July 2018, 17:08:34 UTC
4436be3 Merge branch 'UseSWIG-csharp-conditional' into release-3.12 Merge-request: !2219 18 July 2018, 13:03:50 UTC
59af434 Merge branch 'csharp-compiler-loaded' into release-3.12 Merge-request: !2220 18 July 2018, 13:03:37 UTC
c3ea50e CSharp: Set CMAKE_CSharp_COMPILER_LOADED variable when language is enabled We already do this for C, CXX, Fortran, etc. 18 July 2018, 12:53:32 UTC
ed289e0 UseSWIG: Use CSharp language only if it is enabled In commit v3.12.0-rc1~2^2 (UseSWIG: Add CSHARP variant for wrapper files, 2018-06-08) we explicitly marked swig-generated `.cs` files as `LANGUAGE` CSharp so that the resulting sources can be compiled. However, this works only when the CSharp language has been enabled. Fixes: #18184 18 July 2018, 12:53:32 UTC
f84c15e CMake 3.12.0 17 July 2018, 11:18:36 UTC
d240bb9 Merge branch 'doc-add_library-IMPORTED_OBJECTS' into release-3.12 Merge-request: !2216 16 July 2018, 12:19:35 UTC
62b4df1 Help: Mention IMPORTED_OBJECTS in add_library docs The `IMPORTED_OBJECTS` is to object libraries as `IMPORTED_LOCATION` is to normal libraries. Fixes: #18176 16 July 2018, 12:17:51 UTC
e109dc0 Merge branch 'intel-std-fix' into release-3.12 Merge-request: !2206 12 July 2018, 13:36:30 UTC
735e69f Intel: Fix incorrectly documented extension flags Fixes: #18166 12 July 2018, 13:35:50 UTC
384c3f9 Merge branch 'boost-1.68-beta1' into release-3.12 Merge-request: !2204 12 July 2018, 13:10:02 UTC
730c8b8 Merge branch 'qnx_fix' into release-3.12 Merge-request: !2205 12 July 2018, 12:41:20 UTC
b76b93c FindBoost: Change context header used boost/context/all.hpp is removed in Boost 1.68. boost/context/detail/fcontext.hpp is present in all Boost releases containing context (≥1.61). 11 July 2018, 22:14:21 UTC
e014df7 QNX: Fix autogen compiler predefines detection In commit v3.12.0-rc1~20^2 (Move GNU COMPILER_PREDEFINES_COMMAND from Platform to Compiler, 2018-06-01), `Compiler/GNU.cmake` introduced the `-dM` flag, which requires `-Wp` prefix for the QNX compiler wrapper. 11 July 2018, 13:54:49 UTC
c8a7835 FindBoost: Add support for Boost 1.68 beta1 This includes a new component, `Boost::contract`. Fixes: #18167 11 July 2018, 11:26:51 UTC
f974000 Merge branch 'document_object_library_as_a_property_type' into release-3.12 Merge-request: !2199 10 July 2018, 14:09:10 UTC
741fd1c Help: Add OBJECT_LIBRARY to TYPE target property documentation 10 July 2018, 14:08:45 UTC
7f1569d CMake 3.12.0-rc3 09 July 2018, 12:06:27 UTC
855dafd Merge branch 'csharp-link-file' into release-3.12 Merge-request: !2177 09 July 2018, 11:32:35 UTC
8a61076 VS: Only link cs files when they're not in binary dir When `*.cs` files are provided, do not generate a `<Link>` element in the `.csproj` project if those files are descendants of `CMAKE_CURRENT_BINARY_DIR`. This comparison happens for each file. 06 July 2018, 13:45:15 UTC
0f3d7a1 Merge branch 'doc-add_compile_definitions' into release-3.12 Merge-request: !2192 05 July 2018, 14:23:20 UTC
89e3e62 Help: fix add_compile_definitions() documentation Fixes: #18147 05 July 2018, 14:21:09 UTC
84ecbf4 Merge branch 'revert-subdirectory-linking' into release-3.12 Merge-request: !2191 03 July 2018, 16:54:32 UTC
890be01 Merge branch 'FindLua-CMP0012' into release-3.12 Merge-request: !2189 03 July 2018, 16:54:24 UTC
f598166 Merge branch 'backport-UseSWIG-legacy-targets' into release-3.12 Merge-request: !2188 03 July 2018, 16:54:13 UTC
38ffced UseSWIG: reintroduce legacy target name management Fixes: #18140 03 July 2018, 16:46:59 UTC
91f4adb FindLua: Set CMP0012 to NEW for the revised search code Code added by commit v3.12.0-rc1~53^2 (FindLua: Search for lua.h using more conventional paths, 2018-05-20) depends on `CMP0012` NEW behavior. Set the policy explicitly for the scope of the FindLua module. Fixes: #18142 03 July 2018, 15:23:22 UTC
0d71149 Revert "target_link_libraries: Allow use with targets in other directories" Revert commit v3.12.0-rc1~82^2 (target_link_libraries: Allow use with targets in other directories, 2018-05-11). The RHS target scoping and visibility rules are not clear and will need further investigation before the feature can be added. Issue: #17943 03 July 2018, 13:39:28 UTC
39851a6 Merge branch 'cpack-fix-deb-packaging' into release-3.12 Merge-request: !2178 02 July 2018, 17:19:54 UTC
2774259 CPack/Deb: Restore setting of root as the owner of files Refactoring in commit v3.10.0-rc1~220^2 (cmCPackDebGenerator: Use libarchive to create .deb file) accidentally broke this for the top-level archive. 02 July 2018, 17:17:43 UTC
ea6ad5e Merge branch 'policy_max_docs' into release-3.12 Merge-request: !2180 02 July 2018, 15:48:00 UTC
19f3381 Help: Clarify ...<max> behavior for policy-related commands Affects cmake_minimum_required() and cmake_policy(VERSION) 01 July 2018, 22:41:46 UTC
51e7d41 CMake 3.12.0-rc2 29 June 2018, 13:03:08 UTC
d43c915 Merge branch 'FindOpenMP-avoid-warning-in-check' into release-3.12 Merge-request: !2176 27 June 2018, 19:27:21 UTC
826bf5c FindOpenMP: Avoid warning in check code The test code added by commit v3.12.0-rc1~411^2~1 (FindOpenMP: Verify in test source that OMP library is linked, 2018-03-01) leaves an unused variable warning. This breaks the check with `-Werror`. Remove the variable and leave just the function call, which should still check that the OMP library is linked. Fixes: #18102 27 June 2018, 19:24:22 UTC
decfdec Merge branch 'ctest_submit-https' into release-3.12 Merge-request: !2171 27 June 2018, 19:10:56 UTC
71f27c0 ctest_submit: show headers as debug info Hide any headers specified by `ctest_submit(HTTPHEADER ...)` unless ctest is run with --debug. This option is used to present bearer tokens to CDash. We do not want to inadvertently expose this secret data in the console output log. 27 June 2018, 19:08:14 UTC
4464ef2 ctest_submit: Check CA file during CDASH_UPLOAD This fixes a bug where ctest(SUBMIT CDASH_UPLOAD ...) would fail when attemping to submit to a site bearing a genuine SSL certificate. This code path was missing a call to cmCurlSetCAInfo() which loads the certificate authority file. 27 June 2018, 19:08:14 UTC
2ba71a1 Merge branch 'lexer-null' into release-3.12 Merge-request: !2174 26 June 2018, 17:04:25 UTC
b29842a ListFileLexer: Do not match null bytes in input Extend the fix from commit v3.10.0-rc1~188^2 (ListFileLexer: fix heap-buffer-overflow on malicious input, 2017-08-26) to apply to all lexer token matches. Replace all `.` with `[^\0\n]`. Update all `[^...]` match expressions to not match `\0`. We cannot safely process null bytes in strings. Fixes: #18124 26 June 2018, 15:54:34 UTC
b2b3872 Merge branch 'FindMatlab-doc-mcr' into release-3.12 Merge-request: !2173 26 June 2018, 15:28:40 UTC
27ae8d5 Help: Add 3.12 release note for FindMatlab MCR support This release note was forgotten by commit v3.12.0-rc1~183^2 (FindMatlab: Matlab Runtime Compiler support, 2018-04-29). 26 June 2018, 15:12:19 UTC
back to top