Commit Graph

3857 Commits

Author SHA1 Message Date
Craig Scott
00f5e02060 Merge topic 'remove-CPACK_INSTALL_CMAKE_CONFIGURATIONS' into release-3.16
1d1fa5d3e4 Tests: Add RunCMake.CPackCommandLine case for multi-config package
108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4025
2019-11-12 08:16:31 -05:00
Alex Turbov
108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS
In commit da5ac4bb60 (cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS`
variable, 2019-07-10, v3.16.0-rc1~165^2) we added both the variable
and support for `cpack -C` with multiple configurations.  Drop the
variable because the `package` target cannot ensure that all of the
configurations are built.  Keep the command-line interface so that
it can be used manually in scripts.

Fixes: #19918
2019-11-11 14:15:09 -05:00
Craig Scott
fcacd8ce8d Help: Improve readability and fix inaccuracies in unity build docs 2019-11-09 19:48:34 +11:00
Brad King
11e425be9b Merge topic 'doc-pch-genex' into release-3.16
f35df783b5 Help: Document target_precompile_headers genex with angle brackets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4015
2019-11-08 10:36:30 -05:00
Brad King
f35df783b5 Help: Document target_precompile_headers genex with angle brackets
When passing a `<header>` inside a generator expression, the closing
`>` needs to be encoded as `$<ANGLE-R>`.  Add an example to the docs.

Fixes: #19940
2019-11-08 09:49:26 -05:00
Kyle Edwards
87dcbe0b21 Merge topic 'ctest-resource-groups' into release-3.16
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
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
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
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
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
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
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
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
Robert Maynard
53cd86ea78 Help: Clarify what 'aware' means as it relates to C++ standards 2019-11-04 17:16:57 -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
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
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
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
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
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
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
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
a575fbc3cb Merge branch 'docs-find-vars' into release-3.16
Merge-request: !3952
2019-10-28 11:33:05 -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
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
Kyle Edwards
fd867a49c4 Help: Fix capitalization in CMP0097 documentation 2019-10-23 17:05:09 -04:00
Brad King
308990b2bc Merge branch 'doc-genex-tweak' into release-3.16
Merge-request: !3939
2019-10-21 10:27:21 -04:00
Alan W. Irwin
c684db4ea8 Help: Fix COMPILE_LANG_AND_ID genex example
Fix the `COMPILE_LANGUAGE/CXX_COMPILER_ID` variant of the example to
have the same meaning as the `COMPILE_LANG_AND_ID` variant.  The
inconsistency was introduced by commit 808b818063 (Genex: CompileLang
and CompileLangAndId now match against a list of ids, 2019-05-30,
v3.15.0-rc1~11^2~1).

Fixes: #19862
2019-10-21 10:25:41 -04:00
Brad King
84e14a52ff Merge branch 'doc-pch-compile-language' into release-3.16
Merge-request: !3925
2019-10-16 10:54:11 -04:00
Brad King
ac75886525 PCH: Document and test COMPILE_LANGUAGE genex for per-language header
Fixes: #19839
2019-10-16 10:32:56 -04:00
Brad King
c2a7729177 Merge branch 'doc-add_link_options-typos' into release-3.16
Merge-request: !3922
2019-10-16 09:53:39 -04:00
Tom Lankhorst
a7ef28b9d8 Help: Fix typos and style in add_link_options documentation 2019-10-16 09:49:08 -04:00
Brad King
4041f6a327 Merge branch 'doc-static-lib-flags' into release-3.16
Merge-request: !3919
2019-10-15 11:15:45 -04:00
Brad King
fb16e0e7c0 Help: Clarify documentation of CMAKE_STATIC_LINKER_FLAGS
Issue: #19838
2019-10-15 09:43:00 -04:00
Brad King
13c8dbd5a6 Help: Document CMAKE_UNITY_BUILD/CMAKE_EXPORT_COMPILE_COMMANDS limitation
These two options currently do not work well together.  Mention this
limitation in the documentation.

Issue: #19826
2019-10-11 08:05:59 -04:00
Brad King
ed06d27c7f Help: Extend documentation of CMAKE_UNITY_BUILD variable 2019-10-11 08:05:29 -04:00