summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'graphviz'Brad King2019-10-1750-501/+1692
|\ | | | | | | | | | | | | | | 553658393c Graphviz: added test suite, fixes, enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: slodki <slodki_dom@poczta.onet.pl> Merge-request: !3766
| * Graphviz: added test suite, fixes, enhancementsCorentin Plouet2019-10-0850-501/+1692
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a fairly comprehensive test suite * Separated the graph traversal logic from the Graphviz generation code by introducing a new class, cmLinkItemsGraphVisitor{.h,cxx} * Made the graph traversal logic less ad-hoc by using existing methods in the GlobalGenerator; this fixed a few bugs * Added support for new target types: custom targets, object and unknown libraries * Improved support for ALIAS libraries by showing the alias(es) in the graph * Introduced new flags to control those new libraries (consistent with existing flags) * Updated the documentation * Removed useless setting to set graph type in dot file * Improved the node/edge shapes (nicer, more consistent) * Added a legend to the graph * Some refactoring and cleanup of the Graphviz generation code * Added test and fix for issue 19746
* | Merge topic 'doc-pch-compile-language'Brad King2019-10-173-1/+22
|\ \ | | | | | | | | | | | | | | | | | | ac75886525 PCH: Document and test COMPILE_LANGUAGE genex for per-language header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3925
| * | PCH: Document and test COMPILE_LANGUAGE genex for per-language headerBrad King2019-10-163-1/+22
| | | | | | | | | | | | Fixes: #19839
* | | Merge topic 'export-target-lang-name'Brad King2019-10-173-14/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0e436c573c install,export: Do not treat language names as target names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3927
| * | | install,export: Do not treat language names as target namesBrad King2019-10-163-14/+30
| |/ / | | | | | | | | | | | | | | | | | | When generating `IMPORTED_LINK_INTERFACE_LANGUAGES`, do not treat the entries as target names. Fixes: #19846
* | | Merge topic 'vs_dotnet_documentation_file'Brad King2019-10-178-0/+63
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 89ff3ee779 VS: Add VS_DOTNET_DOCUMENTATION_FILE property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3879
| * | | VS: Add VS_DOTNET_DOCUMENTATION_FILE propertyCharly Mourglia2019-10-158-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `VS_DOTNET_DOCUMENTATION_FILE` target property to tell VS generators to add a `DocumentationFile` setting in `.csproj` files. Fixes: #19784
* | | | CMake Nightly Date StampKitware Robot2019-10-171-1/+1
| | | |
* | | | Merge branch 'release-3.16'Brad King2019-10-160-0/+0
|\ \ \ \
| * \ \ \ Merge branch 'doc-add_link_options-typos' into release-3.16Brad King2019-10-162-11/+11
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3922
* | \ \ \ \ Merge topic 'doc-add_link_options-typos'Brad King2019-10-162-11/+11
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | a7ef28b9d8 Help: Fix typos and style in add_link_options documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3922
| * | | | | Help: Fix typos and style in add_link_options documentationTom Lankhorst2019-10-162-11/+11
| | |_|/ / | |/| | |
* | | | | Merge branch 'release-3.16'Brad King2019-10-160-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'swift-cross-compile' into release-3.16Brad King2019-10-151-0/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3921
| * \ \ \ \ Merge branch 'CMakeFindBinUtils-cleanup' into release-3.16Brad King2019-10-151-12/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3920
| * \ \ \ \ \ Merge branch 'FindCurses-tinfow' into release-3.16Brad King2019-10-151-2/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3915
| * \ \ \ \ \ \ Merge branch 'FindHDF5-cray' into release-3.16Brad King2019-10-151-2/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3918
* | \ \ \ \ \ \ \ Merge topic 'FindCURL-cmake-package'Brad King2019-10-162-1/+34
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c11e7c5c3d FindCURL: Try to find CURLConfig.cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3903
| * | | | | | | | | FindCURL: Try to find CURLConfig.cmakeCharles Barto2019-10-152-1/+34
| | | | | | | | | |
* | | | | | | | | | Merge topic 'CMakeFindBinUtils-cleanup'Brad King2019-10-161-12/+0
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0da223ff0 CMakeFindBinUtils: Remove unnecessary variable unset calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3920
| * | | | | | | | | CMakeFindBinUtils: Remove unnecessary variable unset callsBrad King2019-10-151-12/+0
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some unset calls were added by commit 079b8e2916 (Clang: prefer lld-link over link.exe, 2019-07-11, v3.16.0-rc1~161^2~2) but they are unnecessary since commit 3a82ef78eb (CMakeFindBinUtils: Rename and unset variables for additional names, 2019-07-23, v3.16.0-rc1~332^2~2). Suggested-by: Norbert Lange <nolange79@gmail.com>
* | | | | | | | | Merge topic 'swift-cross-compile'Brad King2019-10-161-0/+3
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 466ad466b4 try_compile: support Swift for cross-compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3921
| * | | | | | | | try_compile: support Swift for cross-compilationSaleem Abdulrasool2019-10-151-0/+3
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that we preserve the `CMAKE_Swift_COMPILER_TARGET` variable to use cross-compilation for testing the Swift compiler if appropriate.
* | | | | | | | Merge topic 'FindCurses-tinfow'Brad King2019-10-161-2/+4
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9fc87ef2e7 FindCurses: use tinfow when wide support is requested Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3915
| * | | | | | | FindCurses: use tinfow when wide support is requestedManuel Herrmann2019-10-151-2/+4
| |/ / / / / /
* | | | | | | Merge topic 'FindHDF5-cray'Brad King2019-10-161-2/+2
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08f4b5dcf9 FindHDF5: Append hdf5 to hdf5_hl to avoid undefined references cd6f0ef35a FindHDF5: Cray HDF5 Fortran module filename is usually capitalized Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3918
| * | | | | | FindHDF5: Append hdf5 to hdf5_hl to avoid undefined referencesWillem Deconinck2019-10-151-1/+1
| | | | | | |
| * | | | | | FindHDF5: Cray HDF5 Fortran module filename is usually capitalizedWillem Deconinck2019-10-151-1/+1
| |/ / / / /
* | | | | | CMake Nightly Date StampKitware Robot2019-10-161-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge branch 'release-3.16'Brad King2019-10-150-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'doc-static-lib-flags' into release-3.16Brad King2019-10-152-5/+17
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3919
| * \ \ \ \ Merge branch 'cmake-initial-cache-relative' into release-3.16Brad King2019-10-1413-10/+40
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3912
| * \ \ \ \ \ Merge branch 'FindOpenMP-clang-HIP-device' into release-3.16Brad King2019-10-141-0/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3911
* | \ \ \ \ \ \ Merge topic 'doc-static-lib-flags'Brad King2019-10-152-5/+17
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb16e0e7c0 Help: Clarify documentation of CMAKE_STATIC_LINKER_FLAGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3919
| * | | | | | | Help: Clarify documentation of CMAKE_STATIC_LINKER_FLAGSBrad King2019-10-152-5/+17
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Issue: #19838
* | | | | | | Merge topic 'cmake-initial-cache-relative'Brad King2019-10-1513-10/+40
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c9d73b26b0 cmake: Fix relative path regression in -C Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3912
| * | | | | | cmake: Fix relative path regression in -CPeter Waller2019-10-1413-10/+40
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 4ca0526f8a (cmake: Pass -S and -B into PreLoad.cmake and -C scripts, 2019-08-20, v3.16.0-rc1~195^2) the value of `CMAKE_SOURCE_DIR` is the source directory rather than the current working directory. This was correct on its own, but the place storing that value is also used as the base for relative paths specified on the command line. The latter should of course be relative to the current working directory. The fix is to switch to use a full path internally, unless a full path is already specified. Add tests for the behaviour of `-C` under these four circumstances: {with -S, without -S} x {full path, relative path} Fixes: #19827
* | | | | | Merge topic 'FindOpenMP-clang-HIP-device'Brad King2019-10-151-0/+2
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | db5a8d7876 FindOpenMP: Add support for HIP clang device pass Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3911
| * | | | | FindOpenMP: Add support for HIP clang device passKonstantin Pyzhov2019-10-121-0/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HIP clang makes 2 passes when compiling HIP programs: the DEVICE pass and the HOST pass. For openmp, the `-fopenmp` option is only passed to the HOST compilation pass. Therefore, the small test that CMake uses for OpenMP detection fails to compile, and CMake reports failure to detect OpenMP support in the compiler. The suggested solution is to add check for `__HIP_DEVICE_COMPILE__` macro defined by HIP clang for the DEVICE pass to the OpenMP detection test.
* | | | | CMake Nightly Date StampKitware Robot2019-10-151-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2019-10-141-1/+1
| | | | |
* | | | | Merge topic 'feature/CMAKE_MESSAGE_CONTEXT'Craig Scott2019-10-1328-34/+283
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cf79f4419 message: Support logging a context with each message 5bf85e2517 message: Add new CMAKE_MESSAGE_LOG_LEVEL variable aa59badd6f Tests: Message log level tests must fail on unwanted output 7c579f0a03 Help: Move CMAKE_MESSAGE_INDENT variable to correct section 4b021bd3e9 message: Minor refactor to make code less verbose Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3680
| * | | | | message: Support logging a context with each messageAlex Turbov2019-10-1215-9/+194
| | | | | |
| * | | | | message: Add new CMAKE_MESSAGE_LOG_LEVEL variableAlex Turbov2019-10-1211-0/+64
| | | | | |
| * | | | | Tests: Message log level tests must fail on unwanted outputCraig Scott2019-10-1210-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous regular expressions were allowing output from lower log levels. The tests still pass after these changes but will now catch regressions (previously they would not have).
| * | | | | Help: Move CMAKE_MESSAGE_INDENT variable to correct sectionAlex Turbov2019-10-121-1/+1
| | | | | |
| * | | | | message: Minor refactor to make code less verboseAlex Turbov2019-10-121-14/+14
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-10-131-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.16'Brad King2019-10-120-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |