Alex Turbov
2d1fd3f818
Help: Fix missed extension for CMAKE_MESSAGE_CONTEXT release note
2019-10-24 13:07:51 +02:00
Kyle Edwards
fd867a49c4
Help: Fix capitalization in CMP0097 documentation
2019-10-23 17:05:09 -04:00
Brad King
667f2861dc
Merge topic 'project-include-before'
...
f7acc1266c project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3936
2019-10-21 11:24:28 -04:00
Brad King
53f95dc5fb
Merge topic 'export-compile-commands-environment-variable'
...
8065a686dd Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3914
2019-10-21 11:23:47 -04:00
Brad King
61c6d49f5a
Merge topic 'doc-genex-tweak'
...
c684db4ea8 Help: Fix COMPILE_LANG_AND_ID genex example
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3939
2019-10-21 11:19:45 -04:00
Brad King
50afd147f8
Merge topic 'vs-per-config-sources'
...
55a0bebdd3 VS: Add support for per-config sources
bcaecf6bcd Teach check for single-language targets to consider all configurations
324988a6b1 cmGeneratorTarget: Add GetAllConfigCompileLanguages method
fd2c9fac10 cmGeneratorTarget: Return non-const sources from GetAllConfigSources
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3882
2019-10-21 11:12:06 -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
Deniz Bahadir
f7acc1266c
project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE
...
Follow up commit 0761186949 (project: Add variable
CMAKE_PROJECT_INCLUDE_BEFORE, 2019-03-28, v3.15.0-rc1~294^2) with a
project-specific variant. This variable will be used similar to the
already existing `CMAKE_PROJECT_INCLUDE_BEFORE` and
`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` variables.
Fixes : #19854
2019-10-18 14:44:24 -04:00
Daan De Meyer
8065a686dd
Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name
...
Fixes : #18386
2019-10-18 14:37:33 -04:00
Brad King
b34b4c5eac
Merge topic 'vs-vctargetspath'
...
e7d57bc3c3 VS: Propagate CMAKE_VS_GLOBALS into custom targets
45b4b4b930 VS: Propagate CMAKE_VS_GLOBALS into compiler id projects
548e9051a4 VS: Add support to override VCTargetsPath through toolset
99e83d4235 cmake: Teach --build mode to load CMAKE_GENERATOR_TOOLSET
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3817
2019-10-18 09:01:48 -04:00
Brad King
55a0bebdd3
VS: Add support for per-config sources
...
Since commit 97cc29c766 (VS: Teach generators how to mark per-config
source files, 2017-04-10, v3.9.0-rc1~268^2~2) the VS generators have
known how to generate per-config sources. We've now converted most
other code paths to support per-config sources, so drop the check
that disallows it.
This leaves only per-config support for precompiled headers and unity
build transformations, but those are optional features that can be
addressed later.
Fixes : #18233
Issue: #19789
2019-10-17 14:05:39 -04:00
Brad King
d61b8921ac
Merge topic 'doc-pch-compile-language'
...
ac75886525 PCH: Document and test COMPILE_LANGUAGE genex for per-language header
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3925
2019-10-17 13:52:49 -04:00
Brad King
b903092b31
Merge topic 'vs_dotnet_documentation_file'
...
89ff3ee779 VS: Add VS_DOTNET_DOCUMENTATION_FILE property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3879
2019-10-17 13:51:11 -04:00
Alexander Boczar
e7d57bc3c3
VS: Propagate CMAKE_VS_GLOBALS into custom targets
...
Issue: #19708
2019-10-17 10:19:01 -04:00
Alexander Boczar
45b4b4b930
VS: Propagate CMAKE_VS_GLOBALS into compiler id projects
...
Issue: #19708
2019-10-17 10:18:52 -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
4116d5104e
Merge topic 'doc-add_link_options-typos'
...
a7ef28b9d8 Help: Fix typos and style in add_link_options documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3922
2019-10-16 10:23:22 -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
Brad King
0e5a3ae7a9
Merge topic 'FindCURL-cmake-package'
...
c11e7c5c3d FindCURL: Try to find CURLConfig.cmake
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3903
2019-10-16 09:51:32 -04:00
Tom Lankhorst
a7ef28b9d8
Help: Fix typos and style in add_link_options documentation
2019-10-16 09:49:08 -04:00
Charles Barto
c11e7c5c3d
FindCURL: Try to find CURLConfig.cmake
2019-10-15 13:56:28 -04:00
Alexander Boczar
548e9051a4
VS: Add support to override VCTargetsPath through toolset
...
Fixes : #19708
2019-10-15 13:28:45 -04:00
Charly Mourglia
89ff3ee779
VS: Add VS_DOTNET_DOCUMENTATION_FILE property
...
Add a `VS_DOTNET_DOCUMENTATION_FILE` target property to tell VS
generators to add a `DocumentationFile` setting in `.csproj` files.
Fixes : #19784
2019-10-15 11:44:55 -04:00
Brad King
cdc8d75c49
Merge topic 'doc-static-lib-flags'
...
fb16e0e7c0 Help: Clarify documentation of CMAKE_STATIC_LINKER_FLAGS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3919
2019-10-15 11:17:03 -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
Craig Scott
25eef45f16
Merge topic 'feature/CMAKE_MESSAGE_CONTEXT'
...
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
2019-10-13 17:08:44 -04:00
Brad King
e13df96d26
Merge topic 'doc-unity-build'
...
13c8dbd5a6 Help: Document CMAKE_UNITY_BUILD/CMAKE_EXPORT_COMPILE_COMMANDS limitation
ed06d27c7f Help: Extend documentation of CMAKE_UNITY_BUILD variable
1d9155eb93 Help: Improve UNITY_BUILD documentation formatting
8aac65a361 Help: Document CMAKE_UNITY_BUILD in 3.16 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3905
2019-10-12 10:25:11 -04:00
Alex Turbov
7cf79f4419
message: Support logging a context with each message
2019-10-12 18:21:36 +11:00
Alex Turbov
5bf85e2517
message: Add new CMAKE_MESSAGE_LOG_LEVEL variable
2019-10-12 17:01:15 +11:00
Alex Turbov
7c579f0a03
Help: Move CMAKE_MESSAGE_INDENT variable to correct section
2019-10-12 13:39:55 +11: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
Brad King
1d9155eb93
Help: Improve UNITY_BUILD documentation formatting
2019-10-11 08:03:29 -04:00
Brad King
8aac65a361
Help: Document CMAKE_UNITY_BUILD in 3.16 release notes
2019-10-11 07:54:59 -04:00
Brad King
e3b9d125ef
Merge topic 'deprecate-policy-old'
...
d00bb419ca Add deprecation warnings for policies CMP0069 and below
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3893
2019-10-10 09:27:06 -04:00
Brad King
d00bb419ca
Add deprecation warnings for policies CMP0069 and below
...
The OLD behaviors of all policies are deprecated, but only by
documentation. Add an explicit deprecation diagnostic for policies
introduced in CMake 3.9 and below to encourage projects to port away
from setting policies to OLD.
2019-10-10 09:26:10 -04:00
Brad King
580e322dcb
Merge branch 'rename_loglevel_option' into release-3.16
...
Merge-request: !3899
2019-10-10 09:21:36 -04:00
Craig Scott
7bbddeb78d
CLI: Rename --loglevel to --log-level for naming consistency
...
Other multi-word command line options use hyphens to separate
the words, so the --loglevel option introduced in CMake 3.15 was
inconsistent in this regard. Rename it to --log-level but still support
the original --loglevel name to preserve backward compatibility.
2019-10-10 09:20:50 -04:00
Brad King
4c29297495
Begin post-3.16 development
2019-10-07 10:57:39 -04:00
Brad King
0b2431896f
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2019-10-07 10:52:56 -04:00
Brad King
ead89868ba
Merge topic 'doc-3.16-relnotes'
...
ffa1c76ba3 Help: Add missing 3.16 release notes for CPack/DEB descriptions
a933d8d84e Help: Organize and revise 3.16 release notes
9c9a6e6023 Help: Consolidate 3.16 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3889
2019-10-07 10:49:35 -04:00
Brad King
b734a04164
Merge topic 'doc_custom_commands_crosscompile'
...
c6f08a2125 Help: Clarify how target names are handled in custom commands/targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3891
2019-10-07 10:47:54 -04:00
Brad King
ffa1c76ba3
Help: Add missing 3.16 release notes for CPack/DEB descriptions
...
Add notes for the changes from commit 33c7ea513d (CPackDeb: Use
`CPACK_PACKAGE_DESCRIPTION_FILE`, 2019-07-11).
Suggested-by: Alex Turbov <i.zaufi@gmail.com >
2019-10-07 10:45:23 -04:00
Brad King
a933d8d84e
Help: Organize and revise 3.16 release notes
...
Add section headers similar to the 3.15 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
Drop bullets covering internal interfaces.
2019-10-07 10:45:05 -04:00
Craig Scott
c6f08a2125
Help: Clarify how target names are handled in custom commands/targets
...
Fixes : #19771
2019-10-05 23:11:14 +10:00
Cristian Adam
12368e6d15
Help: Document install/strip targets for Ninja/UNIX Makefiles generators
2019-10-04 17:00:18 +02:00
Brad King
9c9a6e6023
Help: Consolidate 3.16 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.16.rst`.
2019-10-04 11:00:00 -04:00