https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
3a77329 CMake 3.12.4 02 November 2018, 12:05:07 UTC
4ccf278 Merge branch 'server-file-monitor-check' into release-3.12 Merge-request: !2556 01 November 2018, 13:02:30 UTC
eb52529 server: Fix assertion failure on directory paths in file monitor Fixes: #18532 01 November 2018, 11:25:17 UTC
609bdd1 Merge branch 'backport-fix-custom-target-with-csharp' into release-3.12 Merge-request: !2549 31 October 2018, 13:35:19 UTC
1acd1c2 CSharp: Fix regression in VS project type selection for custom target A target created by `add_custom_target` should always be a `.vcxproj` file even if it has `.cs` sources involved in custom commands and such. 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) does not check the target type and so is not a suitable check for deciding the project file extension. The `HasLanguage` method was an attempt at an abstraction that turns out not to work very well. Replace it with a dedicated `IsCSharpOnly` method that considers the target type, sources, and non-transitive `LINKER_LANGUAGE`. Fixes: #18515 31 October 2018, 13:20:15 UTC
88477e0 Merge branch 'backport-cuda-filter-device-link-libs' into release-3.12 Merge-request: !2536 29 October 2018, 16:02:18 UTC
3f5bfb4 CUDA: Filter out non-static libraries during device linking Since commit v3.12.0-rc1~278^2 (CUDA: Pass more link libraries to device linking, 2018-03-27) we consider every link library during device linking and use `-Xnvlink` to pass those that do not end in `.a`. However, nvlink breaks on versioned shared library names such as `.so.1`. Work around this problem by not passing library paths that do not end in `.a` or `.lib`. nvlink would not find device symbols in them anyway. Fixes: #18504 29 October 2018, 15:59:54 UTC
9b5ebbd Merge branch 'set_directory_properties-script-mode' into release-3.12 Merge-request: !2544 29 October 2018, 15:45:36 UTC
50572d6 set_directory_properties: Restore in script mode Since commit v3.10.0-rc1~391^2~3 (Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable, 2017-06-23) this command was accidentally not allowed in script mode. It was dropped because `ctest -S` mode needs to start with CMake's normal script mode and then replace the `set_directory_properties` implementation. Restore the normal `set_directory_properties` in script mode and then add special logic to replace it in ctest. Also add a test case. Fixes: #18523 29 October 2018, 15:37:32 UTC
cf863b2 Merge branch 'tar-warnings' into release-3.12 Merge-request: !2519 24 October 2018, 14:52:08 UTC
95c8a03 cmake: Distinguish '-E tar' warnings from errors copying data The logic added by commit v3.12.0-rc1~62^2 (cmake: Teach '-E tar' to report errors copying data, 2018-05-16) incorrectly reports failure in the case of ARCHIVE_WARN. Convert this case to a warning. Fixes: #18496 24 October 2018, 14:51:11 UTC
d17755f Merge branch 'cuda-filter-device-link-items' into release-3.12 Merge-request: !2512 24 October 2018, 14:23:55 UTC
e768d96 CUDA: Filter out host link flags during device linking Since commit v3.12.0-rc1~278^2 (CUDA: Pass more link libraries to device linking, 2018-03-27) we consider every link item during device linking. However, items that start in `-` may be host-specific link flags that nvcc will not understand during device linking. Filter such items using a white list. In particular, this allows `-pthread` to be used for host linking while not polluting the device link line. Issue: #18008 24 October 2018, 13:54:25 UTC
32fdbd5 Merge branch 'backport-FindMatlab-missing-install' into release-3.12 Merge-request: !2471 10 October 2018, 13:59:47 UTC
7772bd3 FindMatlab: Guard against nonexistent installation Logic added by commit v3.12.0-rc1~183^2 (FindMatlab: Matlab Runtime Compiler support, 2017-04-29) assumes that `VersionInfo.xml` exists in the installation. Fix it to tolerate a missing or empty file. This change was originally made by commit v3.13.0-rc1~173^2 (FindMatlab: Guard against nonexistent installation, 2018-08-27). Here we backport it to the 3.12.x series. Fixes: #18436 10 October 2018, 13:53:58 UTC
05d3411 Merge branch 'UseSWIG-php-regression' into release-3.12 Merge-request: !2448 05 October 2018, 17:14:31 UTC
ecd0fec UseSWIG: fix regression for PHP language Refactoring in commit v3.12.0-rc1~481^2 (UseSWIG: modernize module, 2018-01-29) accidentally regressed support for PHP. Fix it. Fixes: #18421 05 October 2018, 17:11:17 UTC
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
back to top