https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
e1adec3 CMake 3.8.0-rc2 03 March 2017, 13:29:09 UTC
9f37f94 Merge branch 'FindJNI-archlinux-jvm-paths' into release 03 March 2017, 13:16:10 UTC
d0ada3e FindJNI: Add jvm paths for Arch Linux 03 March 2017, 13:14:34 UTC
3e06cdc Merge branch 'FindVulkan-update' into release 02 March 2017, 15:03:57 UTC
8e58f36 FindVulkan: Update for LunarG SDK import library location on Windows As of at least 1.0.42 of the LunarG SDK, the `vulkan-1.lib` import library on Windows is stored in `${VULKAN_SDK}/Lib` or `${VULKAN_SDK}/Lib32`. 02 March 2017, 15:02:20 UTC
8d1af9c Merge branch 'implicit-dir-symlinks' into release 02 March 2017, 13:38:21 UTC
fce6233 Merge branch 'csproj_add_free_source_tags' into release 02 March 2017, 13:38:16 UTC
69528fe Tests: Add case for RPATH exclusion of symlinks to implicit directories Issue: #16682 02 March 2017, 13:36:32 UTC
f3102ca Merge branch 'backport-implicit-dir-symlinks' into implicit-dir-symlinks 02 March 2017, 13:36:13 UTC
c3fb650 cmOrderDirectories: Consider symlinks when checking implicit directories When checking whether a directory is "implicit" (e.g. implicit link directory or implicit rpath directory), resolve the real path of both sides of the comparison. Otherwise we will not recognize paths like `/usr/lib32` as implicit when `/usr/lib` is implicit and `lib32` is actually a symlink to `lib`. This can lead to addition of unnecessary entries to the RPATH of a binary, for example. Fixes: #16682 02 March 2017, 13:35:48 UTC
506207f VS: add test for VS_CSHARP_* source file property 01 March 2017, 20:31:05 UTC
a202749 VS: add CSharpUtilities module 01 March 2017, 20:31:05 UTC
9588d0a VS: add VS_CSHARP_<tagname> sourcefile property 01 March 2017, 20:31:05 UTC
b1a3736 cmOrderDirectories: Factor out implicit directory check 01 March 2017, 17:39:18 UTC
baed381 Merge branch 'find-libarch-not-symlink' into release 28 February 2017, 20:57:54 UTC
6f5aede find_library: Skip 'lib => lib<arch>' searches if one symlinks the other The `FIND_LIBRARY_USE_LIB<arch>_PATHS` global properties ask `find_library` to look in `lib<arch>` directories automatically before corresponding `lib` directories. However, if `lib<arch>` is just a symlink to `lib` (or vice-versa) then we should skip adding the `lib<arch>` path. Such symlinks typically only exist to satisfy software that expects the `lib<arch>` path to be available. Fixes: #16687 28 February 2017, 19:56:54 UTC
e67963e cmFindLibraryCommand: Refactor AddArchitecturePath logic Use boolean variables to save results and rename variables to more closely represent their roles. 28 February 2017, 19:56:13 UTC
220b799 Merge branch 'kwiml-test-gcc-format-security' into release 27 February 2017, 18:47:34 UTC
4ca77bb KWIML: Add -Wno-format-security to tolerate -Werror=format-security When compiling KWIML tests with `-Werror=format-security` we get error: -Wformat-security ignored without -Wformat Therefore we should disable both `format` and `format-security` together. 27 February 2017, 18:47:00 UTC
dab2ff3 Merge branch 'ExternalProject-checkout-clarify' into release 24 February 2017, 18:22:45 UTC
a9fa6a2 ExternalProject: Run `git checkout` with `--` to clarify arguments Fix the case when the tag name to be checked out also happens to match a path name. Fixes: #16678 24 February 2017, 18:22:40 UTC
ad3bf56 Merge branch 'object-library-compile-pdb' into release 24 February 2017, 16:31:46 UTC
feff52d Fix COMPILE_PDB_NAME when used on an OBJECT library When `COMPILE_PDB_NAME` is used without `COMPILE_PDB_OUTPUT_DIRECTORY` we cannot fall back on the link `PDB_OUTPUT_DIRECTORY` for an object library because it has no link step. Fixes: #16674 24 February 2017, 16:26:52 UTC
8ea060f Merge branch 'ninja-no-full-path' into release 24 February 2017, 15:50:21 UTC
666ad1d Revert "Ninja: Use full path for all source files" This reverts commit v3.7.0-rc1~275^2 (Ninja: Use full path for all source files, 2016-08-05). Unfortunately using absolute paths can cause incorrect rebuilds due to ninja limitations. The ninja manual [1] explains: > ... using absolute paths, your depfile may result in a mixture of > relative and absolute paths. Paths used by other build rules need > to match exactly. Passing an absolute path to a source file to the compiler while using a relative path in the ninja build manifest can cause such mixture and lead to incorrect rebuilds. Simply revert the change for now. Note that there was a follow-up to the original change in commit v3.7.0-rc2~10^2 (Ninja: Fix RC language depfile generation with cmcldeps, 2016-10-13). We don't need to revert that because that change made the relevant code cleverly adapt to whatever variable we use to reference the source file. [1] https://ninja-build.org/manual.html#_deps Fixes: #16675 Issue: #13894 24 February 2017, 15:15:50 UTC
5eb4d9d Merge branch 'vcxproj-indentation' into release 23 February 2017, 19:01:05 UTC
2cb165e VS: Fix .vcxproj indentation In commit v3.8.0-rc1~87^2~1 (VS: added support for C#, 2017-01-09) we removed what looked like a no-op streaming operation but in fact it is responsible for applying indentation. Restore the line. 23 February 2017, 18:38:47 UTC
25480ff Merge branch 'clang-format-attrs' into release 22 February 2017, 22:00:58 UTC
d5f39a5 clang-format.bash: Use Git attributes to mark files for formatting 22 February 2017, 21:59:26 UTC
f6986ee Define a custom Git attribute to mark sources using our C style 22 February 2017, 21:53:29 UTC
2256c3a Define a custom Git attribute to mark source files as generated 22 February 2017, 21:53:26 UTC
970fe6e Merge branch 'doc-cmake-language-makefile-vars' into release 22 February 2017, 21:50:18 UTC
1dc1301 Help: Clarify 'make-style' variable references in cmake-language(7) Fixes: #16661 22 February 2017, 21:39:09 UTC
4734c3e Merge branch 'FindCUDA-fix-init' into release 22 February 2017, 15:35:55 UTC
934eb49 FindCUDA: Fix PTX selection with multiple architectures 22 February 2017, 15:35:44 UTC
e9e8a5d Merge branch 'vs2017-fallback-sdk' into release 21 February 2017, 19:05:59 UTC
2da0838 VS2017: If Win 8.1 SDK is not available, use Win 10 SDK We try to choose the Windows SDK version based on the version of Windows targeted by the build. However, if using VS 2017 without the Windows 8.1 SDK installed then we must fall back to the Windows 10 SDK even when targeting an older version of Windows. Inspired-by: gnaggnoyil <gnaggnoyil@gmail.com> 21 February 2017, 18:47:54 UTC
fe8f5b5 Merge branch 'ExternalProject-update-docs' into release 21 February 2017, 16:11:27 UTC
0f6ebb5 Merge branch 'cuda-separable-bool' into release 21 February 2017, 16:11:22 UTC
0b6afec Merge branch 'FindGTK2-old-sigc++' into release 21 February 2017, 16:11:13 UTC
c95d017 ExternalProject: Clarify documented role of `INSTALL_DIR` It does not actually configure the project to install to the given location. That must be done by passing the `<INSTALL_DIR>` placeholder to the external project configuration step. 21 February 2017, 15:32:26 UTC
4b21290 ExternalProject: Clarify documented role of `INSTALL_COMMAND` It is for the install step of the external project and does not affect installation of the calling project. 21 February 2017, 15:32:25 UTC
08fa0b4 CUDA: Fix boolean interpretation of CUDA_SEPARABLE_COMPILATION If the property is explicitly set to a non-true value we should not treat it as true. 20 February 2017, 22:05:35 UTC
2ab118a FindGTK2: handle old libsigc++ versions Old versions of `libsigc++` do not have the version macros inside of its `sigc++config.h` header. Assume nothing about such headers and report version "zero". Fixes: #16654 20 February 2017, 16:58:57 UTC
4caa0e7 Merge branch 'fix-CMP0017-path-case' into release 17 February 2017, 16:11:11 UTC
e2d78f7 Windows: Fix inconsistent behavior on changes to case of path to cmake In commit v3.4.0-rc1~333^2 (Merge branch 'upstream-kwsys' into update-kwsys, 2015-07-15) we brought in upstream KWSys commit 86a24794 (SystemTools: Fix GetActualCaseForPath drive letter case handling, 2015-07-09). This caused our path processing to convert drive letters to upper-case and exposed an existing bug in our implementation of CMP0017. Policy CMP0017 is responsible for ensuring that modules included from a builtin module only load other builtin modules and cannot be overridden by a file in `CMAKE_MODULE_PATH`. If there is a case difference in the drive letter (or other path components) then the path to the including module may not match our builtin module directory in a simple string comparison. This means builtin modules may not be recognized as such, and they may not reliably include their builtin dependencies. For example, if a project provides a `Platform/Windows` module in `CMAKE_MODULE_PATH` it can break inclusion of our builtin `Platform/Windows` module, leading to strange behavior. Fix this by comparing the path to the including module to our builtin module directory using a function that is aware of case-insensitivity of paths on Windows. Fixes: #16648, #16622 17 February 2017, 16:10:45 UTC
2cffea3 Merge branch 'FindHDF5-fix-header-langs' into release 17 February 2017, 14:28:48 UTC
96d6139 FindHDF5: Fix search for language-specific header file Refactoring in commit v3.6.0-rc1~85^2 (HDF5: Refactor the use of compiler wrappers, 2016-04-04) converted code of the form if(${LANGUAGE} MATCHES ...) to if(LANGUAGE MATCHES ...) However, `LANGUAGE` is a foreach() loop variable and not a normal variable so auto-dereference does not occur. Restore the explicit `${}` syntax and use the new name of the loop variable that has changed since then too. Fixes: #16651 17 February 2017, 14:25:46 UTC
28bb68e FindHDF5: Restore HDF5_<LANG>_INCLUDE_DIR advanced cache entry mark Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching to correctly find HL for all bindings, 2016-05-12) renamed the language loop variable used to construct the name of `HDF5_<LANG>_INCLUDE_DIR` but forgot to update it in the `mark_as_advanced` call. Fix it now. Issue: #16651 17 February 2017, 14:10:03 UTC
2c354f4 Merge branch 'autogen_fix_3.8' into release 15 February 2017, 20:16:17 UTC
28ee378 Autogen: Fix headers not skipped 15 February 2017, 20:00:39 UTC
93737d8 Merge branch 'fix-ctest_update-svn' into release 15 February 2017, 19:45:40 UTC
efac65d Merge branch 'fix-ctest_update-svn' into release-3.7 15 February 2017, 19:45:31 UTC
51849bb ctest_update: Fix svn log and external loading Since commit v3.7.0-rc1~132^2 (CTestSVN: Fix segfault when CTEST_UPDATE_VERSION_ONLY is enabled, 2016-09-12) we do not properly extract svn log or externals. After updating we erase the information that was loaded before updating and can no longer log the changes between revisions to extract authors. Fix this by only loading the repository information once, whether needed by `NoteOldRevision`, `NoteNewRevision`, or both. Fixes: #12630, #16646 15 February 2017, 19:44:37 UTC
ac7489e Merge branch 'cuda-msvc-flags' into release 15 February 2017, 16:12:48 UTC
55fb46d CUDA: Fix default compiler flags on Windows Fix the default values of `CMAKE_CUDA_FLAGS[_<CONFIG>]` on Windows to make the host compiler flags match those produced for C++ by the `Platform/Windows-MSVC` module. This makes the flags consistent with those used for C++. 15 February 2017, 16:12:12 UTC
d7c80f6 CUDA: Fix test cases to not override CUDA flags Append to `CMAKE_CUDA_FLAGS` instead of overwriting it. 15 February 2017, 16:12:09 UTC
272c348 Merge branch 'cuda-no-Os' into release 14 February 2017, 20:25:23 UTC
59ed323 CUDA: Do not use non-existent -Os flag for nvcc Fix the CUDA MinSizeRel configuration flags to avoid using the `-Os` flag that nvcc does not support. 14 February 2017, 19:49:53 UTC
81ebf4b Merge branch 'cuda-with-c' into release 14 February 2017, 15:47:01 UTC
1c60231 CUDA: Link to standard system libraries when linking as CUDA On Windows with MSVC-like host compilers we must honor the standard libraries chosen by the `Platform/Windows-MSVC` module. Otherwise C code linked into the CUDA binary that expects to have these libraries available may not link. 14 February 2017, 15:34:15 UTC
8d75d8d Tests: Add case for CUDA with C but not C++ An executable using CUDA and C should link as CUDA. 14 February 2017, 15:34:06 UTC
f45e3b9 Merge branch 'backport-clang-format-cuda' into release 14 February 2017, 15:22:43 UTC
c4a6135 Tests: Run clang-format on CUDA code 14 February 2017, 15:20:50 UTC
0b2f8ae Modules: Run clang-format on CUDA code 14 February 2017, 15:20:42 UTC
592e3d2 clang-format.bash: Format CUDA source files too Add `.clang-format` configuration files for Cuda test directories that use `Standard: Cpp11`. Otherwise clang-format splits the triple angle brackets used for CUDA kernels. 14 February 2017, 15:20:23 UTC
f0e5954 Merge branch 'execute_process-default-encoding' into release 13 February 2017, 19:05:36 UTC
07c3380 execute_process: Restore no-decoding default behavior Since commit v3.8.0-rc1~232^2 (execute_process: Add ENCODING option for Windows child process output, 2016-11-23) we decode child process output using the console's active codepage by default. This differs from previous versions of CMake and is therefore incompatible. Changing this default will require a policy, so for now revert the default behavior back to performing no decoding. Reported-by: Nils Gladitz <nilsgladitz@gmail.com> 13 February 2017, 18:53:17 UTC
4168bc1 Help: Improve execute_process ENCODING option documentation Spell out the options in a definition list and document each one. 13 February 2017, 18:53:17 UTC
bcd28f0 Merge branch 'cmake_provide_include_dir_for_toolkit' into release 13 February 2017, 16:45:07 UTC
44f3acb CUDA: Detect the toolkit include directories The `nvcc -v` output provides what include directories need to be added to use the CUDA toolkit from other languages ( C/C++ ). 10 February 2017, 21:08:06 UTC
6cbad49 Merge branch 'sphinx-1.4' into release 10 February 2017, 16:32:04 UTC
30abf14 Help: Fix cmake code block warnings produced by Sphinx 1.4 Some of our "cmake" code blocks do not use fully valid CMake syntax because they have placeholders for human reference. Sphinx has never been able to properly lex and highlight these, but now warns. Fix each block's syntax or change to a non-cmake block as appropriate. 10 February 2017, 15:43:30 UTC
9791790 Utilities/Sphinx: Port qthelp css workaround to Sphinx 1.4 The `default.css` static content is no longer placed in the qthelp `_static` directory. If it does not exist, skip over it and insert the content of `basic.css` directly into `cmake.css`. 10 February 2017, 15:43:29 UTC
971384c Utilities/Sphinx: Port cmake extension to Sphinx 1.4 Sphinx 1.4 introduced a breaking change to `indexnode` by changing the length of a tuple. Teach our extension to produce a tuple of the proper length for the version of Sphinx in use. This gets rid of the "4 column based index found" warning. 10 February 2017, 15:24:25 UTC
84df4a4 Merge branch 'FeatureSummary-doc-cleanup' into release 06 February 2017, 19:37:07 UTC
6cffc98 FeatureSummary: Fix documentation 06 February 2017, 19:35:30 UTC
566d207 CMake 3.8.0-rc1 version update 06 February 2017, 16:27:03 UTC
1d25e8a Help: Drop development topic notes to prepare release Release versions do not have the development topic section of the CMake Release Notes index page. 06 February 2017, 16:25:30 UTC
92be2fb Merge topic 'doc-3.8-relnotes' c2f7ef63 Help: Organize and revise 3.8 release notes 3f5e4f19 Help: Consolidate 3.8 release notes 06 February 2017, 16:16:06 UTC
c2f7ef6 Help: Organize and revise 3.8 release notes Add section headers similar to the 3.7 release notes and move each individual bullet into an appropriate section. Revise a few bullets. 06 February 2017, 15:35:28 UTC
3f5e4f1 Help: Consolidate 3.8 release notes Move all development release notes into a new version-specific document: tail -q -n +3 Help/release/dev/* > Help/release/3.8.rst git rm -- Help/release/dev/* except the sample topic: git checkout HEAD -- Help/release/dev/0-sample-topic.rst Reference the new document from the release notes index document. Add a title and intro sentence to the new document by hand. 06 February 2017, 15:34:12 UTC
811c854 Merge topic 'vs-quote-rerun-paths' f8f3cb8d VS: Fix quoting of special characters in cmake re-run check commands 06 February 2017, 15:29:46 UTC
cf1bc84 Merge topic 'productbuild_signing' 48aad9cd CPackProductBuild: Add options to sign packages 06 February 2017, 15:29:44 UTC
a4c8ad5 Merge topic 'androidtestutilities_cleanup' 8a5cb84b AndroidTestUtilities: do not require ExternalData unconditionally 9d34e51c AndroidTestUtilities: ignore exit status of ls 06 February 2017, 15:29:40 UTC
59c50a1 Merge topic 'FindHDF5-fix-HDF5_ROOT' cf0d8f1f FindHDF5: Restore HDF5_INCLUDE_DIR in all code paths 5564c017 FindHDF5: Restore fallback to static libraries 4908969f FindHDF5: Fix search with HDF5_ROOT 77f6d22a FindHDF5: Use keywords in find_library calls 3d5ad723 FindHDF5: Initialize/finalize internal search options variable ae89967f FindHDF5: Fix command-line parsing argument extraction order 06 February 2017, 15:29:38 UTC
8e8eeb7 Merge topic 'findmpi-flags-fix' a2a73935 FindMPI: Remove leading spaces from flags 93f29be2 FindMPI: Reset MPI_INCLUDE_PATH_WORK before use 06 February 2017, 15:29:35 UTC
f8f3cb8 VS: Fix quoting of special characters in cmake re-run check commands Fix our calls to `AddCustomCommandToOutput` for adding cmake re-run check commands to disable old-style quoting in favor of the full quoting logic. This is necessary when paths contain special characters like `&` that old-style quoting logic does not handle. This also requires us to expand the `$(SolutionPath)` placeholder explicitly because otherwise its expanded value will no longer be quoted correctly. As a side effect, this fixes the value in VS 10 and above where the placeholder may be undefined when driving the build through MSBuild without the `.sln` file. Reported-by: Steven Cook <sc@harshbutfair.org> Fixes: #16585 06 February 2017, 14:53:15 UTC
a00cca9 CMake Nightly Date Stamp 06 February 2017, 05:01:04 UTC
c054221 CMake Nightly Date Stamp 05 February 2017, 05:01:05 UTC
8a5cb84 AndroidTestUtilities: do not require ExternalData unconditionally Attempting to use AndroidTestUtilities to simply install some local files on device can result in the following error: Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set We no longer require these ExternalData-specific variables to be set if no such remote data files are requested. Fixes: #16529 04 February 2017, 13:16:24 UTC
48aad9c CPackProductBuild: Add options to sign packages 04 February 2017, 13:07:48 UTC
d5f0c69 CMake Nightly Date Stamp 04 February 2017, 05:01:05 UTC
9d34e51 AndroidTestUtilities: ignore exit status of ls adb used to suffer from a bug where `adb shell` would return 0 irrespective the exit status of the underlying process that it executed. This is now fixed for newer versions of Android (N+). As a result, attempting to `adb shell ls` a nonexistent file can now result in a non-zero exit status. Updating check_device_file_exists to ignore the exit status of `adb shell` fixes this bug for newer Android devices. 03 February 2017, 18:22:36 UTC
cf0d8f1 FindHDF5: Restore HDF5_INCLUDE_DIR in all code paths This compatibility variable should be set no matter which method was used to find HDF5. Even if `HDF5_INCLUDE_DIRS` was set by copying the `HDF5_INCLUDE_DIR` value from `hdf5-config.cmake` it will not hurt to copy the same value back. Issue: #16566 03 February 2017, 15:57:10 UTC
fb26fcb Merge topic 'gcc-features' 37ed860a GNU C++: record that -fvisibility-inlines-hidden is available since 4.0 94a8ee6f GNU C: record that C99 is available since at least 3.4 940bf6a4 Tests/Module/WCDH: only use -Werror=undef compiler flag if actually supported f26ca5a1 Tests/Module/WCDH: write multi_file_compiler_detection.h before using it 03 February 2017, 14:32:45 UTC
5564c01 FindHDF5: Restore fallback to static libraries Since commit v3.6.1~6^2~2 (FindHDF5: Fix h5cc arg parsing to work with homebrew on Mac, 2016-07-11) we treated `HDF5_USE_STATIC_LIBRARIES` OFF as a requirement for shared libraries. It is just supposed to be a preference. Even if `HDF5_USE_STATIC_LIBRARIES` is not set we should still fall back to finding static libraries if shared libraries are not available. Issue: #16566 03 February 2017, 14:12:06 UTC
4908969 FindHDF5: Fix search with HDF5_ROOT Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching to correctly find HL for all bindings, 2016-05-12) turned off a large amount of its logic when HDF5_ROOT is set. This caused use of the hdf5 compiler wrapper to extract all needed libraries (e.g. z, dl as dependencies of hdf5 static libraries) to be skipped when using HDF5_ROOT. Fix the search logic to honor HDF5_ROOT in all code paths. Restrict the search for hdf5-specific components to this root, but allow external libraries to be found anywhere. Fixes: #16566 03 February 2017, 14:12:05 UTC
77f6d22 FindHDF5: Use keywords in find_library calls Clarify the purpose of each argument. 03 February 2017, 14:12:05 UTC
3d5ad72 FindHDF5: Initialize/finalize internal search options variable While at it, use a more private name. 03 February 2017, 14:12:05 UTC
back to top