Commit Graph
4195 Commits
Author SHA1 Message Date
Robert Maynard 53cd86ea78 Help: Clarify what 'aware' means as it relates to C++ standards 2019-11-04 17:16:57 -05:00
Craig Scott 9667996923 Merge topic 'message-check-types'
7b2dd9dedc Refactor: Use added message types in various modules
949a1e120a message: New message types to mark checks performed by CMake

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3689
2019-11-04 14:11:45 -05:00
Sylvain Joubert 93b66735ac ccmake: Use type-based colors to display cache values
The colors are based on the entry type (or value for booleans),
paths and filepaths sharing the same color.
2019-11-04 18:59:20 +01:00
Johnny Jazeix 82ddcf0db1 MinGW Makefiles: do not fail if sh.exe is present in the path
The check was added only to fail early in an environment known not to work
at the time:

* https://web.archive.org/web/20120912010035/http://lists.trolltech.com/qt-interest/2006-01/thread00091-0.html

Fixes: #19327
2019-11-04 12:03:48 -05:00
Robert Maynard 55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
Extend the change from commit 1d00ba9ccf (Find: find_package prefers
variable CMAKE_FIND_USE_REGISTRY, 2018-11-13, v3.16.0-rc1~461^2~1)
to cover the system package registry too.

Fixes: #19890
2019-11-04 10:31:16 -05:00
Brad King e123cfec09 Merge branch 'tutorial-cleanup' into release-3.16
Merge-request: !3984
2019-11-04 10:27:25 -05:00
Brad King 721b99defc Merge branch 'update-compile-feature-supported-compiler-list' into release-3.16
Merge-request: !3974
2019-11-04 10:27:02 -05:00
Brad King 94d669ecc7 Merge branch 'fix_load_cache_docs' into release-3.16
Merge-request: !3971
2019-11-04 10:26:52 -05:00
Brad King accbaf5f73 Merge topic 'update-compile-feature-supported-compiler-list'
b7955bd931 Help: Remove out of date bounds on compile feature supported versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3974
2019-11-04 10:22:29 -05:00
Brad King 543ceb9d9e Merge topic 'fix_load_cache_docs'
657fb0aa6f Help: Clarify load_cache documentation of first parameter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3971
2019-11-04 10:21:27 -05:00
Brad King 6416753f32 Merge topic 'tutorial-cleanup'
9682adb6ad Tutorial: clean up typos, grammar and formatting

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3984
2019-11-04 10:20:34 -05:00
Craig Scott dd05ef429a Help: Fix inaccuracies in INSTALL_REMOVE_ENVIRONMENT_RPATH docs
The previous docs assumed one had to set INSTALL_RPATH for
this target property to have an effect, but the actual condition is
only that the install rpath is different to the build rpath. Even if
the install rpath is empty, it is possible that CMake will rewrite
the rpath during install because the build rpath could be
non-empty.
2019-11-04 17:02:57 +11:00
Craig Scott 9682adb6ad Tutorial: clean up typos, grammar and formatting 2019-11-04 12:44:34 +11:00
Craig Scott d0681fda11 Merge branch 'docs-file-GET_RUNTIME_DEPENDENCIES' into release-3.16
Merge-request: !3982
2019-11-04 09:41:56 +11:00
Craig Scott 83badd91bf Merge topic 'docs-file-GET_RUNTIME_DEPENDENCIES'
23752d5bad Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3982
2019-11-03 17:40:32 -05:00
Craig Scott 3c8dab73cb Merge topic 'docs-list-remove_item'
ad024439f5 Help: list(REMOVE_ITEM) removes all instances, not just the first found

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3977
2019-11-03 17:35:16 -05:00
Craig Scott 2490c1df74 Merge branch 'docs-list-remove_item' into release-3.16
Merge-request: !3977
2019-11-04 09:34:31 +11:00
Craig Scott 23752d5bad Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)
Note that ``MODULE`` s was rendering strangely, so the wording
has been tweaked to avoid needing to specify ``MODULE`` as a
plural word. Modules are still libraries, so it is okay to call them as
such where it doesn't cause any ambiguity.
2019-11-03 22:44:36 +11:00
Alex TurbovandCraig Scott 949a1e120a message: New message types to mark checks performed by CMake
Closes #19638.

Co-Authored-By: Craig Scott <craig.scott@crascit.com>
2019-11-02 14:10:09 +02:00
Craig Scott ad024439f5 Help: list(REMOVE_ITEM) removes all instances, not just the first found
Fixes: #19908
2019-11-02 18:22:50 +11:00
Charles Barto 657fb0aa6f Help: Clarify load_cache documentation of first parameter
The first parameter is the path to the *directory* containing the
`CMakeCache.txt` file, not the file itself.
2019-11-01 10:00:28 -04:00
Brad King 6660926f22 Merge topic 'ctest-repeat-until-pass'
39ac8b4eb5 ctest: Add --repeat-after-timeout option
80c2c9d14c ctest: Add --repeat-until-pass option
0187e52244 cmCTestRunTest: Use inline member initializers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3960
2019-11-01 09:55:18 -04:00
Robert Maynard b7955bd931 Help: Remove out of date bounds on compile feature supported versions
The upper limits on what compiler CMake supports is always changing,
and the values inside cmake-compile-feature is always out of date.
So lets remove it.
2019-11-01 08:15:39 -04:00
Brad King bd986ed367 Merge topic 'clarify-BOOL-genex-eval'
cd888f1133 Help: drop confusing reference to `if()` from `$<BOOL:>`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3969
2019-10-31 13:45:22 -04:00
Ben Boeckel cd888f1133 Help: drop confusing reference to if() from $<BOOL:>
`if()` uses the internal `IsOn` call whild `$<BOOL:>` uses `IsOff`. For
historical reasons, these are not inverses of each other, so drop
mention of `if()` from the documentation of `$<BOOL:>`.
2019-10-31 11:49:43 -04:00
Brad King e5b90743e6 Merge topic 'help-file-spelling-error'
e0412a0e0b Help: Fix spelling error in file(GET_RUNTIME_DEPENDENCIES) docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3964
2019-10-31 09:10:23 -04:00
Brad King d3c8610556 Merge branch 'help-file-spelling-error' into release-3.16
Merge-request: !3964
2019-10-31 09:08:27 -04:00
Marc Chevrier e0412a0e0b Help: Fix spelling error in file(GET_RUNTIME_DEPENDENCIES) docs 2019-10-30 13:49:54 -04:00
Brad King 03a0d8ffd4 Merge topic 'fix-find_package-doc'
9a08818e54 Help: Add OPTIONAL_COMPONENTS to config mode signature of find_package.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3961
2019-10-30 09:26:54 -04:00
Brad King 1efc4c9051 Merge branch 'fix-find_package-doc' into release-3.16
Merge-request: !3961
2019-10-30 09:26:09 -04:00
Deniz Bahadir 9a08818e54 Help: Add OPTIONAL_COMPONENTS to config mode signature of find_package. 2019-10-30 09:24:36 -04:00
Brad King 39ac8b4eb5 ctest: Add --repeat-after-timeout option
Add an option to re-run tests if they timeout.  This will help tolerate
sporadic timeouts on busy machines.
2019-10-29 15:14:36 -04:00
Brad King 80c2c9d14c ctest: Add --repeat-until-pass option
Add an option to re-run tests if they fail.  This will help tolerate
sporadic failures.

Issue: #17010
Co-Author: Ben Boeckel <ben.boeckel@kitware.com>
Co-Author: Chuck Atkins <chuck.atkins@kitware.com>
2019-10-29 15:10:12 -04:00
Brad King 1fb4839225 Merge topic 'ccmake_progress_bar_and_log_display'
2086da1713 ccmake: Add output and progress bar release note
66d969fcc4 ccmake: Don't overwrite the last character of the title
1d0e557aed ccmake: Display output during configure and generate
c168e789df ccmake: Use the error display for all the logs
3300070cc2 ccmake: Display an ASCII progress bar in the status bar

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3942
2019-10-29 11:18:16 -04:00
Brad King 8db410f336 Merge topic 'docs-find-vars'
a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs
049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3952
2019-10-29 10:33:16 -04:00
Brad King a575fbc3cb Merge branch 'docs-find-vars' into release-3.16
Merge-request: !3952
2019-10-28 11:33:05 -04:00
Brad King f289ab61e3 Merge topic 'cpack-nsis-uninstaller-name'
c97abc9688 CPack/NSIS: Add option for custom Uninstall filename

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3945
2019-10-28 10:06:40 -04:00
Brad King cb13aa580d Merge topic 'ExternalProject-git-no-recurse'
5bc6230741 ExternalProject: Option to turn off recursive update of git submodules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3923
2019-10-28 10:05:45 -04:00
Craig Scott c79e9d8c21 Merge branch 'project-version-buffer-overflow' into release-3.16
Merge-request: !3948
2019-10-28 21:55:20 +11:00
Craig Scott cdcc173e23 Merge topic 'project-version-buffer-overflow'
82cdb26c93 project: Fix potential buffer write-past-end for version components
15a0b0d046 Help: math() expressions must be representable as signed 64-bit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3948
2019-10-28 06:50:22 -04:00
Craig Scott a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs 2019-10-27 18:11:00 +11:00
Craig Scott 049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too
The original intent of <PackageName>_ROOT may have been for it
to apply only to Find modules, but the implementation of the
find_package() command treats modules and config packages the
same. Both result in a <PackageName>_ROOT variable being
pushed onto the stack of package roots. A config package can
also call other find_...() commands, the behavior doesn't apply
just to find modules.
2019-10-27 16:10:09 +11:00
Craig Scott 15a0b0d046 Help: math() expressions must be representable as signed 64-bit 2019-10-26 17:47:03 +11:00
Sylvain Joubert 2086da1713 ccmake: Add output and progress bar release note 2019-10-25 14:19:46 -04:00
Johnny Jazeix c97abc9688 CPack/NSIS: Add option for custom Uninstall filename
Fixes: #10728
2019-10-25 14:13:25 -04:00
Brad King 5c8d821eca Merge topic 'xcode-scheme-env'
f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3933
2019-10-25 09:37:49 -04:00
Charis Marangos 5bc6230741 ExternalProject: Option to turn off recursive update of git submodules
Fixes: #19832
2019-10-24 13:36:19 -04:00
Felix Heidrich f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable
Initialize the `XCODE_SCHEME_ENVIRONMENT` target property.

This was left out of commit 6b7f1e1db0 (Xcode: Add variables and
properties to configure schemes, 2018-07-29, v3.13.0-rc1~243^2).
2019-10-24 11:24:34 -04:00
Brad King b2b79e7776 Merge topic 'doc-dev-note-ext'
2d1fd3f818 Help: Fix missed extension for `CMAKE_MESSAGE_CONTEXT` release note

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3943
2019-10-24 10:41:30 -04:00
Brad King 920dd9d56b Merge topic 'cmp0097-doc-fix'
fd867a49c4 Help: Fix capitalization in CMP0097 documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3941
2019-10-24 08:03:15 -04:00