Brad King
3719ddd3f3
Help: Add 3.16.7 release note for FindPkgConfig '-isystem' fix
...
Add a release note for the change in commit 4d446c68d1 (FindPkgConfig:
also handle "-isystem" prefixes for include directories, 2020-04-30).
2020-05-15 09:46:06 -04:00
Brad King
b1a3131cc6
Merge branch 'backport-3.16-objc-env-vars' into release-3.16
2020-05-14 07:31:32 -04:00
Brad King
67b9f55d46
Objective C/C++: Honor CC and CXX env vars to select compiler
...
If the `OBJC` or `OBJCXX` environment variable is not set to specify an
Objective C or C++ compiler, check `CC` or `CXX` too.
Fixes : #20703
2020-05-14 07:17:48 -04:00
Brad King
ab9be6662f
Help: Document OBJC and OBJCXX env vars for Objective C/C++ compilers
2020-05-14 07:10:06 -04:00
Brad King
b204bae261
target_precompile_headers: Fix documented example using genex
...
When the path to a header file is specified using a generator
expression, evaluation of the genex must produce an absolute path.
Update our documented example and add a test covering the case.
Fixes : #20617
2020-04-27 14:12:41 -04:00
Brad King
dd31068bf0
Merge branch 'doc-3.15-std-fix' into release-3.16
...
Merge-request: !4574
2020-04-06 09:57:01 -04:00
Brad King
182a104478
Help: Add 3.15 release note for change in -std= flag for compile features
...
Issue: #19917
2020-04-06 09:54:10 -04:00
Brad King
d25d8e9eef
Help: Update CMake 3.16 release notes for 3.16.5
2020-02-27 08:52:52 -05:00
Cristian Adam
a05b9d4239
ObjC: Add _COMPILE_LAUNCHER support
...
Fixes : #20178
2020-01-09 11:35:23 -05:00
Kyle Edwards
a033bafbe0
Help: Clarify how tests are run if no resource spec file is specified
...
Fixes : #19985
2019-11-26 09:10:22 -05:00
Kyle Edwards
a64ba0235f
CTest: Clarify that resource requirements can be split
...
Add a note to the documentation to clarify this, and add test cases
to ensure it.
Fixes : #19987
2019-11-25 11:08:27 -05:00
Kyle Edwards
f9f294f5fa
CTest: Add version field to resource spec file
...
Fixes : #20007
2019-11-25 11:08:27 -05:00
Brad King
e64d39eb42
Merge topic 'compile-features-other-lang' into release-3.16
...
229f2cc5fd Help: Clarify compile features handling for OBJC and OBJCXX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4057
2019-11-18 09:54:15 -05:00
Brad King
667a88e260
Merge topic 'docs-pch-reorg' into release-3.16
...
cc88ede7a3 Help: Provide guidance on INTERFACE for target_precompile_headers()
dae9a808fe Help: Reorganise target_precompile_headers() docs for readability
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4045
2019-11-18 09:47:35 -05:00
Arkadiusz Drabczyk
02aa03eb0a
Tutorial: replace Unicode EN DASH with ASCII dash
...
Unicode EN DASH is problematic:
- it cannot be easily found in web browsers, editors etc.
- it doesn't work when copied and run in the terminal
2019-11-18 06:51:58 +11:00
Craig Scott
229f2cc5fd
Help: Clarify compile features handling for OBJC and OBJCXX
2019-11-17 17:50:56 +11:00
Craig Scott
cc88ede7a3
Help: Provide guidance on INTERFACE for target_precompile_headers()
...
Fixes : #19953
2019-11-14 00:49:31 +11:00
Craig Scott
dae9a808fe
Help: Reorganise target_precompile_headers() docs for readability
...
Incorporates clarification of behavior when trying to specify
REUSE_FROM on a target that already has its own precompile
headers set.
Fixes : #19970
2019-11-14 00:49:31 +11:00
Kyle Edwards
28bc41ca62
Merge topic 'add_custom_command-supports-COMMAND_EXPAND_LISTS' into release-3.16
...
64f40c5d09 Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4036
2019-11-12 10:02:01 -05:00
Brad King
88e0dca40d
Merge topic 'objc-standard-docs' into release-3.16
...
665954fa8d ObjC: Document ObjC/ObjCXX standard properties / variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4031
2019-11-12 09:47:44 -05:00
Brad King
f90c351e60
Merge topic 'reference-IMPORTED_IMPLIB-more' into release-3.16
...
2944bf46d5 Help: Reference IMPORTED_IMPLIB from the IMPORTED_LOCATION documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4034
2019-11-12 09:36:55 -05:00
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
Marc Aldorasi
64f40c5d09
Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS
2019-11-11 13:07:11 -05:00
Marc Aldorasi
2944bf46d5
Help: Reference IMPORTED_IMPLIB from the IMPORTED_LOCATION documentation
...
Issue: #16698
2019-11-11 11:26:30 -05:00
Cristian Adam
665954fa8d
ObjC: Document ObjC/ObjCXX standard properties / variables
...
Fixes : #19919
2019-11-11 16:10:19 +01: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