Joachim Wuttke (l)
5b56795d57
Help: make the two signatures of command "project" orthogonal
2018-10-09 14:22:09 +02:00
Brad King
3ea9d81da6
Merge topic 'doc-regex-backslash'
...
fab2c2339b Help: Fix documentation of escape sequences in a regex
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2460
2018-10-09 06:34:06 -04:00
Brad King
fab2c2339b
Help: Fix documentation of escape sequences in a regex
...
Documentation added by commit 4b35dab891 (Help: Document how escape
sequences work in a regex, 2018-07-18) is only correct for backslashes
inside `[]` groups. The regex engine does interpret `\` escapes
elsewhere. Fix the docs.
Inspired-by: R2RT <artur.ryt@gmail.com >
Fixes : #18428
2018-10-09 06:31:37 -04:00
Brad King
db8920a2c5
Merge topic 'doc-target_link_libraries-keywords-not-genex'
...
cd8c79e163 Help: Clarify target_link_libraries keywords and generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2449
2018-10-09 06:25:13 -04:00
Brad King
4422ee3cb2
Merge topic 'add_ctest_progress_docs'
...
2154ea38f9 Help: Add missing docs for the ctest --progress option
fb2cdf4d4c Help: Use :envvar: links for env vars affecting ctest command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Wegner <michael.t.wegner@gmail.com >
Merge-request: !2454
2018-10-08 11:26:52 -04:00
Brad King
c3e27c2562
Merge topic 'project-always-set-desc-url'
...
f8a086a86b project(): Ensure DESCRIPTION and HOMEPAGE_URL variables are set
b27247c8df project(): Add tests verifying variables set by second project() call
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2457
2018-10-08 11:26:21 -04:00
Brad King
c76e024a3d
Merge topic 'list-SORT-docs'
...
cdf8d79e9f Help: Improve/fix incorrect docs for list(SORT) sub-options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2453
2018-10-08 11:25:38 -04:00
Brad King
cd8c79e163
Help: Clarify target_link_libraries keywords and generator expressions
...
The `optimized` and `debug` keyword items are meaningful only to
the `target_link_libraries` command and have no meaning when
produced by a generator expression. State this explicitly.
Also recommend use of a quoted argument when the genex itself
may contain a semicolon.
Fixes : #18424
2018-10-08 11:18:14 -04:00
Craig Scott
f8a086a86b
project(): Ensure DESCRIPTION and HOMEPAGE_URL variables are set
...
If a project() call does not have DESCRIPTION or HOMEPAGE_URL
options, it must still set the relevant variables or else those variables will
inherit values from an earlier project() call. That is inconsistent with how
VERSION is handled and is likely to be unexpected. The docs were also
ambiguous about what should happen in such cases.
2018-10-08 08:28:17 +11:00
Craig Scott
2154ea38f9
Help: Add missing docs for the ctest --progress option
...
These docs were missing from the changes that introduced the feature in
!2240 .
2018-10-07 17:03:36 +11:00
Craig Scott
fb2cdf4d4c
Help: Use :envvar: links for env vars affecting ctest command
2018-10-07 17:03:36 +11:00
Craig Scott
cdf8d79e9f
Help: Improve/fix incorrect docs for list(SORT) sub-options
2018-10-06 18:10:38 +10:00
Brad King
50f427e022
Merge topic 'doc-find_package-update'
...
c90f3dff82 Help: Clarify find_package Module and Config mode relation
26dac50220 Help: Remove redundant recommendation
11058a2e7c Help: Add internal section link to find_package command docs
aaf5ea2d70 Help: Add section headers to find_package command
56310b0671 Help: Move find_package NO_POLICY_SCOPE to more appropriate location
336dce1c95 Help: Add table of contents to find_package command docs
463d59d331 Help: Rephrase summary in find_package command docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2446
2018-10-05 07:55:57 -04:00
Joachim Wuttke (l)
c90f3dff82
Help: Clarify find_package Module and Config mode relation
2018-10-04 16:43:40 -04:00
Brad King
26dac50220
Help: Remove redundant recommendation
...
We suggest that users prefer the basic signature in two places.
Drop the latter and move its related content to a better section.
2018-10-04 16:43:02 -04:00
Joachim Wuttke (l)
11058a2e7c
Help: Add internal section link to find_package command docs
2018-10-04 16:42:42 -04:00
Joachim Wuttke (l)
aaf5ea2d70
Help: Add section headers to find_package command
...
The document is pretty long but is already mostly organized into
sections. Add explicit section headers.
2018-10-04 14:57:56 -04:00
Joachim Wuttke (l)
56310b0671
Help: Move find_package NO_POLICY_SCOPE to more appropriate location
2018-10-04 14:57:56 -04:00
Joachim Wuttke (l)
336dce1c95
Help: Add table of contents to find_package command docs
2018-10-04 14:57:55 -04:00
Joachim Wuttke (l)
463d59d331
Help: Rephrase summary in find_package command docs
2018-10-04 14:57:49 -04:00
Brad King
10fca3ccc2
Merge topic 'doc-osx-vars-as-cache'
...
bc57c32d7a Help: Document CMAKE_OSX_* variables as cache entries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2443
2018-10-04 14:39:16 -04:00
James Turner
bc57c32d7a
Help: Document CMAKE_OSX_* variables as cache entries
...
The variables
* CMAKE_OSX_ARCHITECTURES
* CMAKE_OSX_DEPLOYMENT_TARGET
* CMAKE_OSX_SYSROOT
should be set as cache entries. Document this explicitly.
2018-10-04 11:23:07 -04:00
Brad King
cf57c27150
Merge topic 'pkgc-op-lt-gt'
...
aa51bfd74f FindPkgConfig: support also > and < operators for version compares
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2435
2018-10-04 10:36:49 -04:00
Rolf Eike Beer
aa51bfd74f
FindPkgConfig: support also > and < operators for version compares
...
Fixes : #18416
2018-10-04 10:32:13 -04:00
Brad King
5161714e1d
Merge topic 'misc-typos'
...
6b4c5a0365 Fix misc. typos
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2440
2018-10-04 10:11:39 -04:00
luz.paz
6b4c5a0365
Fix misc. typos
...
Found via `codespell -q 3 -I ../cmake-whitelist.txt --skip="./Utilities"`
where the whitelist consists of
```
aci
ans
behaviour
buil
convertor
dum
earch
ect
emmited
emmitted
helpfull
iff
isnt
ith
lowercased
mose
nd
nknown
nto
objext
ot
pathes
pevents
splitted
substract
superceded
supercedes
te
tim
todays
uint
upto
whitespaces
```
2018-10-03 15:32:46 -04:00
Brad King
53a391561e
Help: Clarify policy CMP0077 documentation
...
Add background about the case in which the policy is relevant.
Describe the OLD and NEW behaviors more completely.
Fixes : #18418
2018-10-03 11:58:22 -04:00
Brad King
fd02538974
Merge topic 'doc-3.13-relnotes'
...
00d96c51c9 Help: Organize and revise 3.13 release notes
2fd2c8cb7e Help: Consolidate 3.13 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com >
Reviewed-by: Craig Scott <craig.scott@crascit.com >
Merge-request: !2426
2018-10-03 11:47:15 -04:00
Kyle Edwards
fbd89b6753
Help: Add note about CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
2018-10-01 16:10:33 -04:00
Brad King
00d96c51c9
Help: Organize and revise 3.13 release notes
...
Add section headers similar to the 3.12 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2018-10-01 10:52:45 -04:00
Brad King
2fd2c8cb7e
Help: Consolidate 3.13 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.13.rst`.
2018-10-01 10:21:34 -04:00
Brad King
5cf36d3b0f
Merge topic 'byproducts_make_clean'
...
80e2f8ee0c Ninja,Makefile: Add tests for handling of byproducts by clean operations
c7f1ed03d7 Help: Add release note for make clean and byproducts
4220962d18 Makefile: Add build events byproducts to clean rules
182d9597ec Makefile: Add custom command byproducts to clean rules
9c2b393cb7 Tests: Update CustomCommandWorkingDirectory to handle in-source byproducts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2334
2018-10-01 09:22:03 -04:00
Brad King
3bb8dda047
Merge topic 'add_progress_summary_console_logging_mode'
...
b3d5b8b3fb ctest: Add option for live progress summary in terminal
62fbe5002a cmCTestRunTest: Thread number of completed tests through start APIs
02c5091c90 cmCTestRunTest: Simplify number width computation
6a285bb737 cmCTestRunTest: Buffer test result output before printing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2240
2018-10-01 09:20:44 -04:00
Pedro Navarro
c7f1ed03d7
Help: Add release note for make clean and byproducts
2018-09-28 11:30:32 -04:00
Brad King
cac09cc52c
Merge topic 'customcommandworkingdirectory'
...
f158ac19e1 add_custom_{command,target}: WORKING_DIRECTORY generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2409
2018-09-28 11:17:09 -04:00
Jon Chronopoulos
f158ac19e1
add_custom_{command,target}: WORKING_DIRECTORY generator expressions
...
This teaches add_custom_command and add_custom_target WORKING_DIRECTORY
about generator expressions
Fixes : #14089
2018-09-28 11:15:33 -04:00
Brad King
4e98203c6c
Merge topic 'vs-global-props-for-all-targets'
...
36489b85aa VS: Add test for CMAKE_VS_GLOBALS
22e670a306 VS: Add option to set VS_GLOBAL_* for all targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2345
2018-09-28 11:13:59 -04:00
Brad King
acf0627470
Merge topic 'FindMatlab-2018b'
...
62709beff8 FindMatlab: Add Matlab 2018a,b to version list
9a56ed3438 FindMatlab: Explicitly export mexFunction in MSVC
6c57f6b347 FindMatlab: Optionally allow linking to MatlabEngine and MatlabDataArray
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Raffi Enficiaud <raffi.enficiaud@free.fr >
Merge-request: !2407
2018-09-27 14:48:03 -04:00
Michael Wegner
b3d5b8b3fb
ctest: Add option for live progress summary in terminal
2018-09-26 11:47:49 -04:00
Craig Scott
3181f8405b
Merge topic 'link-directories'
...
f9717725f9 link_directories(): enhance capabilities
b5915744eb LINK_DIRECTORIES target property: add policy for absolute paths check.
a71caab46b LINK_DIRECTORIES: Add new properties and commands
5ca130e223 Refactoring: introduce function to check if a string is a generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2403
2018-09-26 08:11:40 -04:00
Sean Warren
62709beff8
FindMatlab: Add Matlab 2018a,b to version list
2018-09-26 07:54:50 -04:00
Sean Warren
9a56ed3438
FindMatlab: Explicitly export mexFunction in MSVC
...
Fixes : #18391
2018-09-26 07:54:01 -04:00
Sean Warren
6c57f6b347
FindMatlab: Optionally allow linking to MatlabEngine and MatlabDataArray
...
Fixes : #17971
2018-09-26 07:53:50 -04:00
Brad King
b16b254845
Merge topic 'dbgsym-packaging'
...
d8a3939aef CPack/Deb: Add ability to split out debug symbols into .ddeb package
42fbff45e4 CPack/Deb: Use CMAKE_COMMAND to set the environment
66ab24a4c5 Help: Fix typo
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2399
2018-09-26 06:52:06 -04:00
Marc Chevrier
f9717725f9
link_directories(): enhance capabilities
2018-09-25 23:59:59 +10:00
Marc Chevrier
b5915744eb
LINK_DIRECTORIES target property: add policy for absolute paths check.
2018-09-25 23:59:59 +10:00
Marc Chevrier
a71caab46b
LINK_DIRECTORIES: Add new properties and commands
...
These new capabilities enable to manage link directories
Two new properties:
* target properties: LINK_DIRECTORIES and INTERFACE_LINK_DIRECTORIES
One new command
* target_link_directories(): to populate target properties
Fixes : #17215
2018-09-25 23:59:58 +10:00
Mikhail Korolev
22e670a306
VS: Add option to set VS_GLOBAL_* for all targets
...
Fixes : #18287
2018-09-25 09:20:25 -04:00
Brad King
15e211df80
Help: Suggest using -A to specify platform for VS generators
...
We already suggest `-T` for the toolset. Create a dedicated section for
platform selection and suggest `-A`. Provide examples.
2018-09-25 06:52:35 -04:00
Andrew Fuller
d8a3939aef
CPack/Deb: Add ability to split out debug symbols into .ddeb package
2018-09-21 20:19:31 +00:00