https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
519427e CMake 3.11.2 17 May 2018, 13:07:43 UTC
29d20e2 Merge branch 'fix-automoc-warnings' into release-3.11 Merge-request: !2066 15 May 2018, 13:52:09 UTC
9672d81 Qt4Macros: Don't AUTOMOC or AUTOUIC qt4-generated files Suppress AUTOMOC and AUTOUIC on files generated by Qt4 wrapping macros; particularly, those generated by `qt4_wrap_cpp`, `qt4_wrap_ui`, and `qt4_add_resources`. None of these should need AUTOMOC or AUTOUIC treatment, and CMP0071 makes it important to mark this explicitly. 15 May 2018, 13:50:22 UTC
800b2fc Qt4Macros: Use get_property/set_property Replace use of old-style {get,set}_source_file_properties with newer {get,set}_property. 15 May 2018, 13:48:11 UTC
813bcc2 Merge branch 'custom-command-expand-empty' into release-3.11 Merge-request: !2074 14 May 2018, 15:59:51 UTC
6e59491 add_custom_{command,target}: Fix crash on empty expanded command Our custom command generation logic assumes that all command lines have at least `argv0`. In `add_custom_{command,target}` we already check that at least a `COMMAND` was given, but using `COMMAND_EXPAND_LISTS` in combination with a generator expression that expands to an empty string may produce an empty command line. In this case simply add an empty string as a command to maintain our internal invariant. Fixes: #17993 14 May 2018, 15:54:27 UTC
7b62ec2 Merge branch 'autogen_register_info_files' into release-3.11 Merge-request: !2071 14 May 2018, 13:40:13 UTC
e461a13 Autogen: Register generated dependency files For CMP0058 record that rcc info files are generated by CMake. Fixes: #17985 14 May 2018, 13:21:14 UTC
72e9fcd Merge branch 'irsl-fortran-only-linux' into release-3.11 Merge-request: !2061 11 May 2018, 13:45:59 UTC
05ece37 IRSL: Fix Intel library list for ifort-only setups Fixes: #17727 11 May 2018, 13:45:07 UTC
4f0c5d3 Merge branch 'restore-imported-lib-alias-diagnostic' into release-3.11 Merge-request: !2058 10 May 2018, 14:11:48 UTC
e567d7e add_library: Restore error on alias of non-global imported target In commit v3.11.0-rc1~433^2~1 (Add support for IMPORTED GLOBAL targets to be aliased, 2017-09-14) we accidentally dropped the error on calling `add_library` to alias an imported target that is not globally visible. The `add_executable` command's equivalent check was properly updated. Restore the check in `add_library` with the same update. Also fix the test case accordingly. Fixes: #17982 10 May 2018, 13:57:31 UTC
b28e093 Merge branch 'FindBoost-backport-python-deps' into release-3.11 Merge-request: !2045 09 May 2018, 12:02:57 UTC
81cc993 FindBoost: Backport versioned python dependencies for v1.35 to v1.66 Update `mpi_python##` and `numpy##` component dependencies to honor python version suffixes on components named by the caller. Although upstream Boost did not add version suffixes prior to version 1.67, it is commonly done by distros. Honor suffixes specified by project code. Projects must take responsibility for naming distro-specific component suffixes for versions prior to 1.67. Fixes: #17892, #17970 09 May 2018, 11:57:36 UTC
557e68e FindBoost: Remove extra indentation in 1.65/1.66 dependency block 08 May 2018, 12:51:57 UTC
0df2e30 Merge branch 'FindCUDA-revert-sepcomp-cublas' into release-3.11 Merge-request: !2048 08 May 2018, 12:38:46 UTC
c400cd4 Merge branch 'doc-updates' into release-3.11 Merge-request: !2043 08 May 2018, 12:38:34 UTC
6a95a09 Merge branch 'java-new-packaging-fixes' into release-3.11 Merge-request: !2042 08 May 2018, 12:38:25 UTC
9a66345 FindCUDA: Fix regression in separable compilation without cublas Revert commit v3.11.0-rc1~274^2 (FindCUDA: Add cublas device library to separable compilation, 2017-11-03). It breaks targets that do not link to cublas. Another solution will be needed to solve the original problem in a more compatible way. Fixes: #17965 07 May 2018, 15:30:21 UTC
e15adbf Help: Specify COMPILE_OPTIONS and COMPILE_FLAGS source properties usage 07 May 2018, 13:45:23 UTC
b4e1569 FindJava, FindJNI: fix erroneous regex, enhance registry lookup 07 May 2018, 13:40:55 UTC
5089d95 Merge branch 'ctest-libuv-linux-sparc64' into release-3.11 Merge-request: !2029 02 May 2018, 15:21:04 UTC
1c22fdf libuv: linux/sparc64: use fcntl to set and clear O_NONBLOCK Upstream libuv commits: * node-v0.6.0~28 (linux: use ioctl(FIONBIO) to set O_NONBLOCK, saves a syscall, 2011-10-29) * v1.11.0~11 (unix: use async-signal safe functions between fork and exec, 2016-12-12) left an asymmetry in the way O_NONBLOCK is set and cleared. Normally ioctl/FIONBIO is used for both. However, uv_spawn uses fcntl/O_NONBLOCK to clear O_NONBLOCK between fork and exec. This fails on Linux/sparc64 where setting via ioctl/FIONBIO actually sets two bits (in O_NDELAY) that cause clearing via fcntl/O_NONBLOCK to be silently ignored (though clearing via ioctl/FIONBIO or fcntl/O_NDELAY works). Since CMake commit v3.11.0-rc1~117^2 (CTest: Re-implement test process handling using libuv, 2017-12-10), CTest uses libuv. On Linux/sparc64 child processes have been started with non-blocking output pipes. This can lead to write errors or lost output from children not prepared to deal with `EAGAIN` on stdout or stderr. Fix this for now by switching libuv back to fcntl/O_NONBLOCK to set and clear O_NONBLOCK when compiled on Linux/sparc64. LibUV-Issue: 1830 Fixes: #17941 02 May 2018, 15:16:19 UTC
3214425 Merge branch 'cxx-checks-tolerate-more-warnings' into release-3.11 Merge-request: !2019 30 April 2018, 13:18:58 UTC
2254b72 C++ feature checks: Filter out warnings caused by local configuration In some environments the linker produces warnings like warning: directory not found for option warning: object file compiled with -mlong-branch ... These do not affect the availability of C++ features we're checking, so filter them out. Fixes: #17850, #17947 30 April 2018, 13:18:15 UTC
1f06c0d Merge branch 'java-new-packaging-version-sort' into release-3.11 Merge-request: !2016 27 April 2018, 12:53:02 UTC
1013560 FindJava, FindJNI: Ensure most recent version is searched first 27 April 2018, 12:52:22 UTC
a92ee4e Merge branch 'backport-ninja-issue-17942' into release-3.11 Merge-request: !2010 26 April 2018, 12:41:18 UTC
0826c20 Ninja: Do not add empty custom command for file(GENERATE) outputs Internally we mark `file(GENERATE)` outputs as `GENERATED` in order to tell custom command dependency tracing logic not to expect the files to exist on disk yet. This is because we do not generate the files until after that tracing is done. The Ninja generator also interprets the `GENERATED` property to mean that it is expected that some build rule will generate the file if another build rule depends on it. If the generator does not know of a custom command that generates the file then it adds an empty one so that the `ninja` build tool does not complain about a dependency on a file that does not exist and has no rule to generate it. However, this step is not necessary for `file(GENERATE)` outputs because there is no build rule to generate them and they will exist before `ninja` runs. Add an additional `__CMAKE_GENERATED_BY_CMAKE` property internally to tell the Ninja generator that a `GENERATED` file will exist before the build starts and is not expected to have a build rule producing it. Fixes: #17942 26 April 2018, 12:39:44 UTC
b58e41c Merge branch 'backport-java-new-packaging' into release-3.11 Merge-request: !2007 25 April 2018, 13:42:58 UTC
5482f48 FindJava, FindJNI, UseJava: update for version 10 support * new version format * new registry layout on Windows Fixes: #17938 25 April 2018, 13:18:53 UTC
dc3401d Merge branch 'BLAS-no-target-in-libs' into release-3.11 Merge-request: !2006 24 April 2018, 17:58:11 UTC
7d756f3 FindBLAS: do not write an imported target name into BLAS_LIBRARIES Since commit v3.11.0-rc1~177^2 (FindBLAS: optionally query pkg-config for a library, 2017-12-15) the `BLAS_LIBRARIES` result variable may incorrectly contain the name of an imported target. Instead store the list of libraries in the variable. Unfortunately pkg_check_modules does not provide a way to get this so we need to use a (temporary) hack of reading `INTERFACE_LINK_LIBRARIES` from the interface library target. Fixes: #17934 24 April 2018, 17:49:20 UTC
946846a FindPkgConfig: do not unset unused variable _props is never used, it was a leftover from a development step. 24 April 2018, 17:46:41 UTC
0b992b9 Merge branch 'fix-CMAKE_DISABLE_SOURCE_CHANGES-top-dir' into release-3.11 Merge-request: !2001 24 April 2018, 14:44:49 UTC
60cb75e Fix CMAKE_DISABLE_SOURCE_CHANGES recognition of top of build tree The change in commit v3.11.0-rc1~480^2 (UseJava: add_jar OUTPUT_DIR option used only for jar generation, 2017-10-12) added code of the form `file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR})`. This exposed an existing bug in `CMAKE_DISABLE_SOURCE_CHANGES` in which it does not recognize that the top of the build tree itself is in the build tree. Fix that now. Fixes: #17933 24 April 2018, 14:42:00 UTC
c86386c Merge branch 'InstallRequiredSystemLibraries-mfcm' into release-3.11 Merge-request: !1980 18 April 2018, 13:19:36 UTC
bdf660c InstallRequiredSystemLibraries: Check for existence of mfcm dlls Previously, only existence of `mfc${v}.dll` and `mfc${v}d.dll` variants was checked and it was assumed that the managed variants `mfcm*.dll` also existed. This assumption doesn't hold with Visual Studio 2017. Check each file separately. Fixes: #17913 18 April 2018, 13:18:57 UTC
fbe6cd1 CMake 3.11.1 17 April 2018, 12:33:46 UTC
d1d43a6 Merge branch 'bootstrap_system_libuv_option' into release-3.11 Merge-request: !1971 17 April 2018, 11:52:19 UTC
bbf6479 bootstrap: Add option to enable/disable usage of system libuv 17 April 2018, 11:44:01 UTC
054c849 Merge branch 'FindOpenMP-Intel-Windows' into release-3.11 Merge-request: !1957 16 April 2018, 18:12:46 UTC
0c7433e FindOpenMP: Fix support for Intel on Windows The change in commit v3.11.0-rc1~334^2 (FindOpenMP: Use NO_DEFAULT_PATH where appropriate, 2017-11-15) broke partial support for Intel on Windows. Since `OpenMP_${LANG}_IMPLICIT_LINK_DIRS` is empty for this compiler the `find_library` call without `NO_DEFAULT_PATH` worked accidentally in environments with the needed libraries in the search path already. Fix support for Intel on Windows by simply removing our explicit search for the `libiomp5md` library. In cases that it is needed, the compiler already inserts metadata in `.obj` files to tell the MSVC linker to use the library. Suggested-by: Christian Pfeiffer <cpfeiffer@live.de> Fixes: #17910 16 April 2018, 18:11:12 UTC
90cdd06 Merge branch 'implicit-lib-gcceh-file' into release-3.11 Merge-request: !1967 16 April 2018, 15:58:30 UTC
eb04983 Exclude "libgcc_eh" library files from implicit link libraries Extend the fix in commit v3.9.6~1^2 (Restore exclusion of "gcc_eh" from implicit link libraries, 2017-11-07) to also exclude `gcc_eh` libraries referenced by absolute path to the library file. Issue: #17436 16 April 2018, 15:56:23 UTC
cb8c758 Merge branch 'libuv_version_bump' into release-3.11 Merge-request: !1966 16 April 2018, 15:38:17 UTC
f5f72ff Explicitly require LibUV 1.10 or higher to build CMake CMake 3.11 now uses `uv_translate_sys_error` introduced in LibUV 1.10. 16 April 2018, 15:33:52 UTC
d003066 Merge branch 'backport-fix-explicit-CMakeLists.txt' into release-3.11 Merge-request: !1959 13 April 2018, 13:49:51 UTC
8480c2a Restore support for explicitly referenced CMakeLists.txt sources Since commit v3.11.0-rc1~467^2 (VS,Xcode: Add CMakeLists.txt sources without mutating targets, 2017-10-18) we do not add `CMakeLists.txt` to target sources but instead generate references to them directly. This broke projects that explicitly specify their `CMakeLists.txt` file as a source file because the explicit entry is no longer consolidated with the generated one. Teach the relevant generators to avoid duplicating `CMakeLists.txt` source references and add test cases. Fixes: #17828 13 April 2018, 13:41:06 UTC
61607ff Merge branch 'features-msvc-2017' into release-3.11 Merge-request: !1903 11 April 2018, 15:30:02 UTC
5f4272c Features: Record for VS 2017 through 15.6 VS 15.3 has more features than we recorded in commit v3.7.0-rc1~156^2~2 (Features: Record features for VS 15 Preview 4, 2016-09-05). While at it, update comments and simplify some cases. 11 April 2018, 15:27:07 UTC
3c0fed4 Merge branch 'cpack-trace-nullptr' into release-3.11 Merge-request: !1950 10 April 2018, 19:01:43 UTC
6f2701a CPack: Fix crash on invalid generator name In commit v3.11.0-rc1~68^2 (CPack: accept --trace and --trace-expand, 2017-12-09) a nullptr dereference was added that occurs when `cpack -G NotAGenerator` is invoked. Add the needed condition. Fixes: #17900 10 April 2018, 19:00:37 UTC
ef077c8 Merge branch 'fix-crash-trace-exp-uninit-vars' into release-3.11 Merge-request: !1944 09 April 2018, 16:01:10 UTC
aad360e Fix crash with --trace-expand --warn-uninitialized together Some code paths in `ExpandVariablesInString{New,Old}` were not checking the `filename` parameter for a null pointer, but this can happen when using the above flags together. Add the checks and a test case. Fixes: #17896 09 April 2018, 15:59:07 UTC
1c85742 Merge branch 'revert-CheckIncludeFile-required-libs' into release-3.11 Merge-request: !1931 04 April 2018, 17:17:30 UTC
35109e7 Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES" This reverts commit v3.11.0-rc1~108^2 (CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES, 2017-12-24). The behavior change can affect checks in existing projects that don't expect the behavior. Introducing the behavior again will require a policy. Fixes: #17874 Issue: #9514 04 April 2018, 17:14:01 UTC
b1aa90f Merge branch 'autogen-protect-cmsys-calls' into release-3.11 Merge-request: !1918 04 April 2018, 15:20:53 UTC
b11e2c8 Autogen: Print moc/uic/rcc output to stdout The output of moc/uic/rcc used to be discarded unless the program failed. This lets moc/uic/rcc print their output to stdout even on success. Closes #17860 03 April 2018, 15:20:30 UTC
1d2c9d8 Autogen: Use std::istreambuf_iterator for file so string reading This adds a dedicated mutex for file reading and writing to cmQtAutoGenerator::FileSystem. The purpose of the change is to avoid that long files reads block cmsys based path computations, which are protected by an other mutex. 03 April 2018, 15:20:30 UTC
ccc38fa Autogen: Protected calls to cmFilePathChecksum Closes #17861 Closes #17862 03 April 2018, 15:20:30 UTC
719b24c Autogen: Protected calls to cmQtAutoGen::SubDirPrefix 03 April 2018, 15:20:30 UTC
9a73615 Autogen: Protected calls to cmSystemTools::GetFilenameWithoutLastExtension 03 April 2018, 15:20:30 UTC
65203ce Autogen: Protected calls to cmSystemTools::Split/JoinPath 03 April 2018, 15:20:30 UTC
14a86c9 Autogen: Protected calls to cmSystemTools::CollapseCombinedPath 03 April 2018, 15:20:29 UTC
61fd4c7 CMake 3.11.0 28 March 2018, 11:26:56 UTC
36881ee Merge branch 'ctest_update-memory-problems' into release-3.11 Merge-request: !1893 27 March 2018, 12:51:01 UTC
27f0335 ctest_update: Fix crash when handling svn externals Refactoring in commit v3.9.0-rc1~156^2 (c++: prefer vectors over lists, 2017-05-04) switched `cmCTestSVN::Repositories` from `std::list` to `std::vector`. This can cause re-allocation when svn externals are processed and break the `RootInfo` pointer that is supposed to point at the first repository element. Switch back to `std::list` so that the address remains stable. Fixes: #17854 27 March 2018, 12:46:20 UTC
75e8af3 cmSystemTools: Fix ParseArguments out-of-bounds read When checking for a Windows-style leading path, do not read past the null terminator. Issue: #17854 27 March 2018, 12:46:20 UTC
188c5c2 Merge branch 'revert-CTestTestfile-removal-again' into release-3.11 Merge-request: !1887 26 March 2018, 11:48:15 UTC
70c50aa Revert "Remove CTestTestfile.cmake when BUILD_TESTING is OFF" Revert commit v3.8.0-rc1~305^2 (Remove CTestTestfile.cmake when BUILD_TESTING is OFF, 2016-11-14) again. We reverted it once in commit v3.8.0-rc3~22^2 (Revert "Remove CTestTestfile.cmake when BUILD_TESTING is OFF", 2017-03-06) but it was accidentally restored by commit v3.11.0-rc1~387^2 (server: add "ctestInfo" request to get test info, 2017-10-25), perhaps due to conflict resolution during rebase. We cannot remove `CTestTestfile.cmake` when testing is off because it breaks projects that never enable testing but create their own `CTestTestfile.cmake` manually instead. Revert the change again and add a test case. 26 March 2018, 11:44:22 UTC
218471a Merge branch 'boost-1.67' into release-3.11 Merge-request: !1865 21 March 2018, 17:36:14 UTC
1673923 FindBoost: Add support for Boost 1.67 with Python version suffixes Fixes: #16612, #16335, #16391, #12955 21 March 2018, 17:34:17 UTC
2006e98 Merge branch 'sunpro-5.15' into release-3.11 Merge-request: !1875 21 March 2018, 12:53:53 UTC
4267960 Features: Record for SunPro 5.15 Oracle Developer Studio 12.6 adds support for more C++ 11 features. 20 March 2018, 15:48:22 UTC
6b9172d CMake 3.11.0-rc4 19 March 2018, 13:25:26 UTC
c78d12f Merge branch 'revert-findqt4-dirs-fix' into release-3.11 Merge-request: !1867 19 March 2018, 13:17:09 UTC
cf06962 FindQt4: Revert "Set PLUGINS and IMPORTS dir even if empty" The change in commit v3.11.0-rc1~306^2 (FindQt4: Set PLUGINS and IMPORTS dir even if empty, 2017-11-19) regressed existing builds on some machines. Revert it for CMake 3.11 pending further investigation. Fixes: #17814, #17817 Issue: #14155, #17492 19 March 2018, 13:13:25 UTC
4e9aa80 Merge branch 'intel-initializer-list' into release-3.11 Merge-request: !1855 16 March 2018, 11:53:36 UTC
df27bd3 Merge branch 'gtest_discover_tests_timeout' into release-3.11 Merge-request: !1851 16 March 2018, 11:52:23 UTC
fc96d99 Features: Record initializer list support for Intel 14 and above Features recorded by commit v3.6.0-rc1~120^2~5 (Features: Record standards and features for Intel C++ on UNIX, 2016-04-28) for the Intel compiler left out initializer list support because our test case in `Tests/CompileFeatures/cxx_generalized_initializers.cpp` caused an internal compiler error. It turns out this is because the Intel compiler asserts the `initializer_list` constructor signatures to verify that they match its own `<initializer_list>` header. It was our dummy implementation used to test the language feature without any headers that caused the ICE. Revise it to use a constructor signature accepted by the Intel compiler. Fixes: #17829 16 March 2018, 11:47:42 UTC
96fdde2 GoogleTest: Rename TIMEOUT parameter to avoid clash In gtest_discover_tests(), the TIMEOUT keyword was making it impossible to set the TIMEOUT test property via the PROPERTIES keyword. This would be a frequent case, but it doesn't complain and instead silently does something different to what would normally be expected. The TIMEOUT keyword has been renamed to DISCOVERY_TIMEOUT, thereby removing the clash. This is a breaking change. 3.10.1 and 3.10.2 were the only versions that supported the TIMEOUT keyword and uses of it were likely not working as intended. Fixes: #17801 15 March 2018, 11:36:42 UTC
298e1bf Merge branch 'xl-cc-default-std' into release-3.11 Merge-request: !1854 14 March 2018, 18:08:23 UTC
194b74d XL: Fix C default level detection when invoked as 'cc' The IBM XL C compiler does not define `__STDC__` when invoked as plain `cc` instead of `xlc`, so `CMAKE_C_STANDARD_COMPUTED_DEFAULT` does not get set and CMake fails. Teach CMake about the XL compiler's default C standard in this case. Fixes: #17649 14 March 2018, 18:07:00 UTC
7bbaead Merge branch 'findjni-mips-r6-new-arch' into release-3.11 Merge-request: !1853 14 March 2018, 15:18:14 UTC
8c92596 FindJNI: add some new architecture names for mips release 6 14 March 2018, 15:17:19 UTC
a039029 Merge branch 'genex-COMPILE_LANGUAGE-system-include' into release-3.11 Merge-request: !1844 13 March 2018, 17:40:25 UTC
a54b56a Merge branch 'ccmake-stack-smashing' into release-3.11 Merge-request: !1836 13 March 2018, 17:40:17 UTC
7899e53 ccmake: fix status line buffer overflow on very wide terminals A mistyped length calculation will memset across stack frame when the user's terminal width is larger than 270. 13 March 2018, 17:38:12 UTC
bab82b0 Merge branch 'ep-support-passing-var-ending-with-notfound' into release-3.11 Merge-request: !1838 12 March 2018, 17:50:45 UTC
7ad981c ExternalProject: Fix cache generation when last args ends with "-NOTFOUND" 12 March 2018, 17:45:50 UTC
1b5e52f Genex: Fix COMPILE_LANGUAGE propagation through try_compile When evaluating include directories during export to a `try_compile` test project, thread the compile language through to the generator expression evaluator so it can support `$<COMPILE_LANGUAGE:...>`. Issue: #17811 12 March 2018, 17:30:14 UTC
2deb9b7 Genex: Fix COMPILE_LANGUAGE in SYSTEM include directories When evaluating `INTERFACE_SYSTEM_INCLUDE_DIRECTORIES`, or evaluating `INTERFACE_INCLUDE_DIRECTORIES` on an imported target, thread the compile language through to the generator expression evaluator so that it can support `$<COMPILE_LANGUAGE:...>`. Fixes: #17811 12 March 2018, 15:45:01 UTC
c6e8442 Merge branch 'update-buildsystem-docs' into release-3.11 Merge-request: !1839 12 March 2018, 14:25:53 UTC
7875642 Help: Adapt cmake-buildsystem(7) to new IMPORTED targets features Since commit v3.11.0-rc1~433^2~2 (Teach target_* commands to set INTERFACE properties of IMPORTED targets, 2017-09-18) it is now possible to use the customary `target_*` commands for adjusting the settings of an IMPORTED target. Update documentation accordingly. 12 March 2018, 14:23:21 UTC
c5541cf CMake 3.11.0-rc3 09 March 2018, 13:33:11 UTC
57f35bb Merge branch 'cuda-no-device-link-rsp' into release-3.11 Merge-request: !1831 07 March 2018, 15:52:54 UTC
f64732f CUDA: Do not pass unsupported @rspfile arguments to NVCC The nvcc compiler does not support `@<rspfile>` arguments. It does offer a `--options-file` argument that can be investigated later. Fixes: #17797 07 March 2018, 15:30:35 UTC
9288abf Merge branch 'update-kwsys' into release-3.11 Merge-request: !1830 07 March 2018, 12:39:16 UTC
2c5b435 Merge branch 'upstream-KWSys' into update-kwsys * upstream-KWSys: KWSys 2018-03-07 (2ad561e7) 07 March 2018, 11:48:34 UTC
back to top