Commit Graph

4021 Commits

Author SHA1 Message Date
Kyle Edwards
bea26f5aa0 Merge topic 'ctest-resource-groups'
016601e5e6 Merge branch 'backport-ctest-resource-groups'
c1435d9812 Help: Fix error in resource allocation example
eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests
c544cb6698 CTest: Rename hardware -> resources for source code
6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions
a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options
73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups"
af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3994
2019-11-07 13:10:57 -05:00
Brad King
74569996e8 Merge topic 'refactor-foreach'
53227a4ff2 Refactor: Modernize `foreach` code and fix some bugs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3986
2019-11-07 10:27:59 -05:00
Brad King
f7612a6668 Merge topic 'unity-include-generated'
7ddf462304 Unity build: Include GENERATED files into unity build

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Julien Schueller <schueller@phimeca.com>
Merge-request: !4001
2019-11-07 10:26:50 -05:00
Brad King
12fd957ce3 Help/dev: Add 'external-discussion' to the main workflow status list
This was accidentally left out of commit 49f5b6f7bf (Help: Document the
expire and external discussion resolve states, 2019-05-26,
v3.15.0-rc1~35^2).
2019-11-06 12:02:23 -05:00
Cristian Adam
7ddf462304 Unity build: Include GENERATED files into unity build
There is no reason to skip the generated files, in case of problems
one can use the SKIP_UNITY_BUILD_INCLUSION property.

Fixes: #19925
2019-11-06 11:47:15 -05:00
Brad King
ce7408514c Merge topic 'install-name-dir-genex'
a0e2e0ca97 Help: Add documentation and release notes for INSTALL_NAME_DIR genex
deeab72aae Tests: Add tests for INSTALL_NAME_DIR
3c85f11fed INSTALL_NAME_DIR: Add support for generator expressions
2ec1156b80 Refactor: Generalize cmExportInstallFileGenerator::ReplaceInstallPrefix()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3989
2019-11-06 09:32:22 -05:00
Brad King
0ff5bdd4c9 Merge topic 'ccmake_colored_values'
d5d5ba3f7f ccmake: Identify the current cache entry
005aba29a1 ccmake: Improve display of the key controls
93b66735ac ccmake: Use type-based colors to display cache values

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3955
2019-11-06 09:29:22 -05:00
Brad King
0618f8b3ed Merge topic 'cpack-nsis-welcome-finish-title'
68b5af65fa CPack/NSIS: Add options for custom welcome/finish titles + display on 3 lines

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3980
2019-11-06 09:28:05 -05:00
Alex Turbov
53227a4ff2 Refactor: Modernize foreach code and fix some bugs
- fix the typo in `foreach` documentation
- fix broken `foreach(... IN ITEMS ... LISTS ...)`
- add tests of `foreach` for existed functionality and fixes
2019-11-06 16:14:47 +02:00
Craig Scott
e0ec13059a Merge topic 'doc-discourse' into release-3.16
4af39fe25b CMakeSystemSpecificInformation: Replace mailing list with Discourse Forum
d0be4d5365 README: Replace link to mailing list the CMake Discourse Forum
4dd6ad20b6 README: Update links to cmake.org pages
821bfca89b Help: Replace links to mailing lists with links to our Discourse Forum
32d8de1463 CMakeCPack: Update Debian package contact email
2fae9101e5 Help/dev: Update maintainer guide for Discourse transition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3998
2019-11-06 05:51:26 -05:00
Craig Scott
7046d4cbe5 Merge topic 'doc-discourse'
4af39fe25b CMakeSystemSpecificInformation: Replace mailing list with Discourse Forum
d0be4d5365 README: Replace link to mailing list the CMake Discourse Forum
4dd6ad20b6 README: Update links to cmake.org pages
821bfca89b Help: Replace links to mailing lists with links to our Discourse Forum
32d8de1463 CMakeCPack: Update Debian package contact email
2fae9101e5 Help/dev: Update maintainer guide for Discourse transition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3998
2019-11-06 05:51:26 -05:00
Brad King
821bfca89b Help: Replace links to mailing lists with links to our Discourse Forum
The CMake Discourse Forum at `discourse.cmake.org` supersedes the
mailman-based mailing lists.
2019-11-05 15:41:04 -05:00
Johnny Jazeix
68b5af65fa CPack/NSIS: Add options for custom welcome/finish titles + display on 3 lines
Fixes: #11275
2019-11-05 20:09:53 +01:00
Brad King
2fae9101e5 Help/dev: Update maintainer guide for Discourse transition
Replace the post-release development announcement to the mailing list
with a post to the appropriate category on `discourse.cmake.org`.
2019-11-05 13:41:33 -05:00
Brad King
016601e5e6 Merge branch 'backport-ctest-resource-groups' 2019-11-05 12:59:16 -05:00
Kyle Edwards
c1435d9812 Help: Fix error in resource allocation example 2019-11-05 12:08:36 -05:00
Craig Scott
a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options
Only changes the user-visible effects of renaming hardware
allocation to resource allocation. Code changes are the minimum
needed to achieve that.
2019-11-05 12:08:35 -05:00
Brad King
af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS
The `PROCESSES` test property name added for CMake 3.16 is too close to
the existing `PROCESSORS` test property.  Furthermore, the property in
principle specifies groups of resources organized in a way that is
meaningful to a particular test.  The groups may often correspond to
processes but they could have other meanings.  Since the property name
`PROCESSES` has not been in a final 3.16 release yet, simply rename it
to `RESOURCE_GROUPS`.

Fixes: #19914
2019-11-05 12:08:01 -05:00
Brad King
370fe1495b Merge topic 'remove_sh_error_mingw'
82ddcf0db1 MinGW Makefiles: do not fail if sh.exe is present in the path

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3978
2019-11-05 11:32:58 -05:00
Brad King
602189bb7b Merge branch 'clarify_compile_features_documentation' into release-3.16
Merge-request: !3988
2019-11-05 11:31:03 -05:00
Brad King
2d83709038 Merge branch 'docs-INSTALL_REMOVE_ENVIRONMENT_PATH' into release-3.16
Merge-request: !3985
2019-11-05 11:30:56 -05:00
Brad King
a269c77edb Merge topic 'clarify_compile_features_documentation'
53cd86ea78 Help: Clarify what 'aware' means as it relates to C++ standards

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3988
2019-11-05 11:29:39 -05:00
Brad King
20fdf9a92b Merge topic 'docs-INSTALL_REMOVE_ENVIRONMENT_PATH'
dd05ef429a Help: Fix inaccuracies in INSTALL_REMOVE_ENVIRONMENT_RPATH docs
ac8de0dbcf RPATH: Remove stray indent in generated file(RPATH_CHANGE) command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3985
2019-11-05 11:21:25 -05:00
Craig Scott
c831e409a5 Merge branch 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY' into release-3.16
Merge-request: !3968
2019-11-05 23:19:14 +11:00
Craig Scott
abb0119350 Merge topic 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY'
55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3968
2019-11-05 07:17:17 -05:00
Kyle Edwards
a0e2e0ca97 Help: Add documentation and release notes for INSTALL_NAME_DIR genex 2019-11-04 19:02:16 -05:00
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 Turbov
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