Brad King
18ff7cc34f
Merge topic 'enable_testing'
...
538e699e5a Help: for command enable_testing, explain relation to module CTest.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3070
2019-03-08 09:37:56 -05:00
Kyle Edwards
d7ca0a2644
Help: add code-block directive
2019-03-07 11:52:38 -05:00
Zack Galbreath
46c5830394
Help: provide example for HTTPHEADER option to ctest_submit
2019-03-07 10:08:34 -05:00
Joachim Wuttke (o)
538e699e5a
Help: for command enable_testing, explain relation to module CTest.
2019-03-07 11:58:22 +01:00
Brad King
809890e3f6
Merge topic 'issue-18883-support-for-multiple-targets'
...
324d18bb34 cmake: Teach --build mode to support multiple targets
ebc94500c1 cmGlobalGenerator: Optimize Printable() method from GeneratedMakeCommand
fdeb364a84 cmGlobalGenerator: Change case of methods from GeneratedMakeCommand struct
b3955a08ab cmakemain: Remove ignored --use-stderr option from command line help
f1367c8c51 cmGlobalGenerator: Remove unused code
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2939
2019-03-06 08:32:39 -05:00
Brad King
ce9117fdbe
Merge topic 'docs-install-destinations'
...
a5f79b83c7 Help: clarify DESTINATION and TYPE usage for install()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3052
2019-03-06 08:29:14 -05:00
Bartosz Kosiorek
324d18bb34
cmake: Teach --build mode to support multiple targets
...
Fixes : #16136
2019-03-05 08:55:28 -05:00
Craig Scott
a5f79b83c7
Help: clarify DESTINATION and TYPE usage for install()
2019-03-05 21:48:44 +11:00
NeroBurner
b8307adb9f
Help: inter-link install() commands
2019-02-28 11:49:53 -05:00
NeroBurner-tux
19e15853e9
Help: add inter link anchors for install() commands
2019-02-28 11:49:23 -05:00
Brad King
95222584ee
Merge topic 'doc-xref-EXPORT_NAME'
...
c29a1d58d9 Help: Link from install(TARGET) to EXPORT_NAME to rename exported target
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3037
2019-02-28 11:45:17 -05:00
NeroBurner
c29a1d58d9
Help: Link from install(TARGET) to EXPORT_NAME to rename exported target
2019-02-27 11:53:02 -05:00
Kyle Edwards
258298f597
Help: Clarify ordering of list(REMOVE_DUPLICATES)
...
This also adds a test to enforce the order behavior of
list(REMOVE_DUPLICATES).
2019-02-27 11:22:57 -05:00
Brad King
224a5c9b07
Merge topic 'docs_try_commands'
...
4d55c1f541 Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
861dbef4e7 Help: Consistency in try_compile() docs for target type
df8aa3c8ad Help: try_compile() readability and grammar improvements
7975edeac5 Help: User-provided variable names for try_* commands
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3013
2019-02-25 07:56:25 -05:00
Brad King
0e8b0ae636
Merge branch 'docs_try_commands' into release-3.14
...
Merge-request: !3013
2019-02-25 07:54:04 -05:00
Craig Scott
4d55c1f541
Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
2019-02-24 17:23:58 +11:00
Craig Scott
861dbef4e7
Help: Consistency in try_compile() docs for target type
2019-02-24 17:22:53 +11:00
Craig Scott
df8aa3c8ad
Help: try_compile() readability and grammar improvements
2019-02-24 17:19:45 +11:00
Craig Scott
7975edeac5
Help: User-provided variable names for try_* commands
...
All uppercase is typically used for command keywords. Non-keyword
arguments should generally be shown as `<something>` according
to the CMake documentation guide.
2019-02-24 17:16:07 +11:00
Brad King
e0fbb7bf08
Merge topic 'list-prepend-and-pop-subcommands'
...
a84e509844 list: add sub-commands PREPEND, POP_BACK, POP_FRONT
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2980
2019-02-20 09:04:58 -05:00
Alex Turbov
a84e509844
list: add sub-commands PREPEND, POP_BACK, POP_FRONT
2019-02-19 09:42:36 -05:00
Brad King
566652b0c8
Merge topic 'file_symlink_docs'
...
0f5a9f7934 Help: Clarify and improve readability of link-related file subcommands
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2974
2019-02-18 10:22:35 -05:00
Brad King
926a97e975
Merge branch 'file_symlink_docs' into release-3.14
...
Merge-request: !2974
2019-02-18 09:22:13 -05:00
Brad King
0f2eb9ac6f
Merge topic 'get_filename_component_docs'
...
2cc145928c Help: Remove outdated statement about get_filename_component()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2973
2019-02-18 09:09:55 -05:00
Craig Scott
0f5a9f7934
Help: Clarify and improve readability of link-related file subcommands
2019-02-16 20:55:49 +11:00
Craig Scott
2cc145928c
Help: Remove outdated statement about get_filename_component()
...
After !2853 , the statement that the "longest file extension is
always considered" is no longer true. Both NAME_WLE and
LAST_EXT now return details based on the shortest file
extension.
Fixes: 7a25ef326b (Help: Add documentation for new get_filename_component components, 2019-01-24, 3.14.0-rc1)
2019-02-16 15:26:23 +11:00
Brad King
9e34f11b36
Merge topic 'doc-if-legacy'
...
572b4fd85b Help: Fix elseif/endif typo
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2950
2019-02-12 08:24:59 -05:00
Juuso "Linda" Lapinlampi
572b4fd85b
Help: Fix elseif/endif typo
...
In CMake 3.13.x, we had this evaluation for if() conditions:
if(a) elseif(b) else(a) endif(a)
The sensible intention of the change in commit c2efb3efcd (Help: Revise
docs on Scripting Commands, 2018-10-16, v3.14.0-rc1~505^2) was:
> "endif", "endfunction" etc: Explain that the argument is optional and
> maintained for compatibility only
Instead of "endif", it ended up being written to the documentation as
"elseif" by the commit author (oops) to if()'s page.
if(a) elseif(a!?) else() endif(a?)
Truthfully, endif()'s parameter should be an optional verbatim repeat
and not elseif()'s. If it wasn't, elseif() would be described to be the
same as if(). The rightful intended description is:
if(a) elseif(b) else() endif()
Fix that typo.
2019-02-11 14:41:51 -05:00
Torsten Robitzki
5228432b45
cmake_parse_arguments: add KEYWORDS_MISSING_VALUES
...
Add KEYWORDS_MISSING_VALUES output variable to cmake_parse_arguments() to
allow to detect keywords that received no values.
Fixes : #18706
2019-02-07 12:59:10 -05:00
Taylor Holberton
cb01b8c8ba
set: warn of extra arguments after ENV value.
...
Fixes : #18842
2019-02-01 06:10:34 -05:00
Tushar Maheshwari
7a25ef326b
Help: Add documentation for new get_filename_component components
2019-01-24 22:41:22 +05:30
Brad King
d704cc3407
Merge topic 'command_file_link'
...
0f08ed8936 cmSystemTools: Silence CreateLink and CreateSymlink errors
593d986470 Tests: Avoid cross-device links in CREATE_LINK test
9a3d85cfc5 Tests: Skip symlink tests on Windows
e68ea269d7 Tests: CREATE_LINK subcommand negative test case
45aa9c65a1 Tests: file CREATE_LINK subcommand test cases
8bb7562f1a Help: Add documentation for file(CREATE_LINK) subcommand
81650e488c cmFileCommand: Add CREATE_LINK subcommand
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2759
2019-01-21 07:48:26 -05:00
Brad King
d1aa2e1109
Merge topic 'find-package-resolve-symlinks'
...
b773e58099 find_package: add test coverage for CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS
a5e948a36f find_package: optionally resolve symlinks when discovering packages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2798
2019-01-21 07:47:29 -05:00
Brad King
fefae527c8
Merge topic 'submit-url'
...
2915a75615 CTest: Add documentation and release notes for SubmitURL
d6475daa79 Modules/CTest: Set SubmitURL
938f06fda6 ctest_submit: Add parameter SUBMIT_URL
65e725c957 CTest: Add option SubmitURL
65f1fc9d63 CTest: Add function GetSubmitURL
2bedd5fb7c ctest_submit: Remove submit method from log output
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2719
2019-01-21 07:46:20 -05:00
Brad King
65a3abf999
Merge topic 'GHS_updates'
...
21ab58d3f8 GHS: Update test suite
72e0c115b7 GHS: Add Compiler ID detection
436cc5e991 GHS: try_compile() now uses GHS platform variables
4a1ec0de3d GHS: Fix toolset selection
1a66acdef2 GHS: Append ".gpj" to target name when generating build command
0c9e47d7cd GHS: Integrity Application updates
8044318431 GHS: Add support for some of the source file properties
73092b2213 GHS: Add support for object libraries
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2231
2019-01-18 06:58:35 -05:00
Craig Scott
9e84e14db7
Merge topic 'qt_wrap_command_deprecations'
...
74dc68b406 qt_wrap_*: Add deprecation notes to command docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Brad King <brad.king@kitware.com>
Merge-request: !2738
2019-01-16 15:20:59 -05:00
Fred Baksik
436cc5e991
GHS: try_compile() now uses GHS platform variables
...
-- Forward GHS platform variables to try_compile()
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES only worked for source signature try_compile()
-- Update tests to no longer add GHS platform variables to try_compile()
-- Avoid linker error in GhsMulti/GhsMultiCompilerOptions/CMakeLists.txt by building library
2019-01-16 10:42:00 -05:00
Regina Pfeifer
2915a75615
CTest: Add documentation and release notes for SubmitURL
2019-01-16 10:34:08 -05:00
Tushar Maheshwari
8bb7562f1a
Help: Add documentation for file(CREATE_LINK) subcommand
2019-01-16 10:03:35 -05:00
David Aguilar
a5e948a36f
find_package: optionally resolve symlinks when discovering packages
...
Teach find_package() to resolve symlinks when constructing
relocatable prefix paths from discovered cmake config files.
The `CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS` variable enables
this behavior when set to `TRUE`.
Fixes : #18704
2019-01-16 09:59:46 -05:00
Tobias Hunger
74dc68b406
qt_wrap_*: Add deprecation notes to command docs
...
Co-authored-by: Craig Scott <craig.scott@crascit.com>
2019-01-16 08:08:38 +11:00
Kyle Edwards
c07fa6d98c
Merge topic 'find_package-doc-clarification'
...
427ebecdf5 Help/find_package: clarify intended behavior with REQUIRED QUIET
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2777
2019-01-15 09:49:35 -05:00
Ben Boeckel
427ebecdf5
Help/find_package: clarify intended behavior with REQUIRED QUIET
...
See #18773
2019-01-14 10:42:10 -05:00
Joachim Wuttke (o)
bfc3670546
Help: Provide cross-references from and to set_property
2019-01-10 16:13:18 +01:00
Craig Scott
d480ede35b
Merge topic 'link-options'
...
f255280fd9 PIE link options: Update strategy to fix performance regression
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2739
2018-12-23 17:23:11 -05:00
Craig Scott
170fcebf2e
Merge topic 'install-code-script-genex'
...
25cae1e85d install: Teach CODE,SCRIPT modes to evaluate generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2688
2018-12-23 17:19:57 -05:00
Jon Chronopoulos
25cae1e85d
install: Teach CODE,SCRIPT modes to evaluate generator expressions
...
This also introduces CMP0087 which will keep the OLD behaviour of not
evaluating generator expressions
Fixes : #15785
2018-12-23 09:03:38 +11:00
Joachim Wuttke (h)
2439d546c8
Help: Revise compile options command docs, and provide example
...
For add_compile_options and target_compile_options:
- Insert sections.
- Provide cross-links between the two doc pages
- Alleviate and explain links to the commands
...compile_definitions and ...include_directories.
- Alleviate link to COMPILE_OPTIONS, and integrate it into
the synopsis.
2018-12-20 10:45:49 +01:00
Marc Chevrier
f255280fd9
PIE link options: Update strategy to fix performance regression
...
Fixes : #18700
2018-12-19 19:41:27 +11:00
Tobias Hunger
34b7003d2a
Documentation: Reference list of target properties in get_target_property
2018-12-13 11:05:04 +01:00