summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'file-ARCHIVE-files-dirs' into release-3.18Brad King2020-07-011-14/+16
|\ | | | | | | | | | | | | bbcff21f71 file(ARCHIVE*): Collapse FILES and DIRECTORY options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4955
| * file(ARCHIVE*): Collapse FILES and DIRECTORY optionsCraig Scott2020-06-301-14/+16
| | | | | | | | | | | | | | | | The two options were concatenated internally for both ARCHIVE_CREATE and ARCHIVE_EXTRACT. The distinction between files and dirs was not meaningful. Therefore, replace them with PATHS or PATTERNS to more accurately describe the way the options are used. Fixes: #20884
* | Merge topic 'file-CONFIGURE-subdir' into release-3.18Brad King2020-06-301-2/+1
|\ \ | |/ |/| | | | | | | | | e5f5eeca2f file: Fix CONFIGURE output relative path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4951
| * file: Fix CONFIGURE output relative pathBrad King2020-06-291-2/+1
| | | | | | | | | | | | | | | | | | In commit a6fee09484 (file: Add CONFIGURE subcommand, 2020-03-06, v3.18.0-rc1~584^2) we accidentally treated relative path outputs with respect to the current working directory. Treat them with respect to the current binary directory instead. Fixes: #20885
* | file(ARCHIVE_CREATE): Rename TYPE option to COMPRESSIONCraig Scott2020-06-271-12/+14
| | | | | | Fixes: #20883
* | Help: Fix contents indenting for file(ARCHIVE_...) subcommandsCraig Scott2020-06-271-3/+3
| |
* | Merge topic 'doc-get_target_property' into release-3.18Brad King2020-06-231-5/+5
|\ \ | | | | | | | | | | | | | | | | | | f4b911a2c9 Help: Update docs for failure result of get_target_property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4933
| * | Help: Update docs for failure result of get_target_propertyChristopher Tetreault2020-06-231-5/+5
| |/ | | | | | | | | | | If `get_target_property` fails to find a value for a non-inherited property, it appends `-NOTFOUND` to the var name and sets that as the result, rather than setting the value of the var to `NOTFOUND`.
* | Help: Better document that CMP0105 controls DEVICE_LINK parsingRobert Maynard2020-06-181-3/+4
|/
* Merge topic 'doc-EXCLUDE_FROM_ALL'Brad King2020-06-031-1/+1
|\ | | | | | | | | | | | | | | e262123fee Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation a09195e7bf Help: Rename 'artefact' to 'artifact' in target_precompile_headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4840
| * Help: Rename 'artefact' to 'artifact' in target_precompile_headersArcturus2020-06-021-1/+1
| |
* | add_library/add_executable: allow local alias to imported targetsMarc Chevrier2020-06-022-4/+14
| | | | | | | | Fixes: #20641
* | Help: add_executable: Add TOCMarc Chevrier2020-06-021-2/+11
|/
* Merge topic 'cmake_language-check-invalid-commands'Brad King2020-05-271-0/+9
|\ | | | | | | | | | | | | 12e483c563 cmake_language: check CALL with control command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4788
| * cmake_language: check CALL with control commandMarc Chevrier2020-05-261-0/+9
| | | | | | | | Fixes: #20739
* | Merge topic 'doc-updates'Brad King2020-05-252-7/+9
|\ \ | |/ |/| | | | | | | | | b3e4fb5144 Help: clarify add_definitions() and add_compile_definitions() behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4786
| * Help: clarify add_definitions() and add_compile_definitions() behaviorMarc Chevrier2020-05-242-7/+9
| | | | | | | | Fixes: #20736
* | Merge topic 'cmake_language-rename-from-cmake_command'Craig Scott2020-05-223-19/+19
|\ \ | | | | | | | | | | | | | | | | | | 94c1e4fdb3 cmake_language: Rename command from cmake_command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4774
| * | cmake_language: Rename command from cmake_commandBrad King2020-05-213-19/+19
| | | | | | | | | | | | | | | | | | Also rename the `INVOKE` signature to `CALL`. Fixes: #20732
* | | Merge branch 'backport-cuda-default-runtime' into cuda-default-runtimeBrad King2020-05-221-0/+1
|\ \ \ | |/ / |/| / | |/
| * CUDA: Propagate CMAKE_CUDA_RUNTIME_LIBRARY state to try_compileRobert Maynard2020-05-201-0/+1
| |
| * Merge topic 'pch-genex-absolute' into release-3.17Brad King2020-04-281-14/+13
| |\ | | | | | | | | | | | | | | | | | | | | | b204bae261 target_precompile_headers: Fix documented example using genex Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !4678
* | | Help: Improve formatting and cross-references for find_package()Craig Scott2020-05-201-6/+6
| | |
* | | Merge topic 'doc-CMAKE_SYSTEM_PREFIX_PATH'Craig Scott2020-05-202-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6b3d8f281e Document which environment variables effect CMAKE_SYSTEM_PREFIX_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4748
| * | | Document which environment variables effect CMAKE_SYSTEM_PREFIX_PATHRobert Maynard2020-05-192-0/+8
| | | |
* | | | Merge topic 'add_test-special-chars-in-name'Brad King2020-05-191-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f84af8e270 add_test: Allow special characters in test name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4754
| * | | | add_test: Allow special characters in test nameDeniz Bahadir2020-05-171-2/+3
| | | | | | | | | | | | | | | | | | | | Fixes: #19391
* | | | | Merge topic 'compile_opts'Brad King2020-05-182-0/+5
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 448e2d7a9d Help: Provide cross-references between compiler settings 1f697b3991 Help: COMPILE_OPTIONS: bundle cross refs, add example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4749
| * | | | Help: Provide cross-references between compiler settingsJoachim Wuttke (h)2020-05-142-0/+5
| |/ / /
* | | | set_source_files_properties: Allow specification of directory scopeAlexandru Croitor2020-05-144-3/+44
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both set_source_files_properties() and set_property(SOURCE) now accept two new optional arguments: DIRECTORY and TARGET_DIRECTORY. The DIRECTORY option takes a list of relative or absolute paths pointing to processed source directories (add_subdirectory was already called on them). These paths specify directory scopes where the source file properties will be set. Previously the scope was always the currently processed source directory. Similarly TARGET_DIRECTORY takes a list of targets, whose source directories will be used as the list of scopes where to set the source file properties. get_property() and get_source_file_property() also get the same new arguments, except only one value can be specified instead of a list. Fixes: #20128
* | | source_group: Support forward slashes in group hierarchyCraig Scott2020-05-101-2/+4
| | | | | | | | | Fixes: #18076
* | | Help: If a cache variable exists, option() also does nothingHong Xu2020-05-081-1/+1
| | | | | | | | | | | | | | | The previous text sounded as if option() does some work when a cache variable exists.
* | | Merge topic 'pch-genex-absolute'Brad King2020-04-281-14/+13
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | b204bae261 target_precompile_headers: Fix documented example using genex Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !4678
| * | target_precompile_headers: Fix documented example using genexBrad King2020-04-271-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Help: Reference policy CMP0082 from install() command docsBrad King2020-04-271-4/+6
| | | | | | | | | | | | | | | The policy plays an important role in the behavior of the `install()` command, so the latter's documentation should mention it.
* | | Help: Fixed typo in command/separate_arguments.rstJaak Ristioja2020-04-221-1/+1
| | |
* | | Merge topic 'ctest_stop_on_failure_16628'Brad King2020-04-221-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e89aeba5c4 ctest: add option --stop-on-failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4630
| * | | ctest: add option --stop-on-failureJohnny Jazeix2020-04-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | To stop the tests once one has failed Fixes: #16628
* | | | CUDA: Device linking use now link optionsMarc Chevrier2020-04-193-0/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | properties LINK_OPTIONS and INTERFACE_LINK_OPTIONS are propagated to the device link step. To control which options are selected for normal link and device link steps, the $<DEVICE_LINK> and $<HOST_LINK> generator expressions can be used. Fixes: #18265
* | | Help: Document that set_property APPEND ignores empty valuesBrad King2020-04-171-1/+2
| | | | | | | | | | | | Fixes: #20581
* | | Merge topic 'doc-CMAKE_PREFIX_PATH-env-var'Brad King2020-04-151-9/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d59c6ea5c6 Help: Convert find_package references to CMAKE_PREFIX_PATH to links 03b6f3a2e8 Help: Document the CMAKE_PREFIX_PATH environment variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4609
| * | | Help: Convert find_package references to CMAKE_PREFIX_PATH to linksBrad King2020-04-141-9/+9
| | | |
* | | | Merge topic 'sort_list_natural_20563'Brad King2020-04-141-0/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | da99eca1e7 list: add NATURAL sorting on SORT sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4602
| * | | list: add NATURAL sorting on SORT sub-commandJohnny Jazeix2020-04-131-0/+7
| | | | | | | | | | | | | | | | Fixes: #20563
* | | | Merge topic 'docs-CMAKE_CURRENT_FUNCTION'Craig Scott2020-04-111-1/+1
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | | | | | | | | | | 10ee9611f0 Help: Improve wording of CMAKE_CURRENT_FUNCTION_LIST_DIR docs 22fbc404a7 Help: Add cross-references for CMAKE_CURRENT_FUNCTION* docs d2b139687a Help: Minor grammar cleanups of CMAKE_CURRENT_FUNCTION* docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !4595
| * | Help: Minor grammar cleanups of CMAKE_CURRENT_FUNCTION* docsCraig Scott2020-04-101-1/+1
| | |
* | | file(UPLOAD): Add support for TLS_VERIFY and TLS_CAINFOHarry Mallon2020-04-081-13/+12
| | | | | | | | | | | | | | | * Improve and test err messages when TLS_VERIFY and TLS_CAINFO are not set in file(DOWNLOAD) and file(UPLOAD).
* | | Merge topic 'file-GetRuntimeDependencies_support_cross_compilation'Brad King2020-04-071-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f867423aa2 file: GetRuntimeDependencies use CMAKE_OBJDUMP when applicable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4538
| * | | file: GetRuntimeDependencies use CMAKE_OBJDUMP when applicableRobert Maynard2020-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On machines where the gnu bin utils are prefixed, or suffixed the file(GET_RUNTIME_DEPENDENCIES ) command would fail without explicitly setting the location of objdump. Now we pre-populate the variables used to find objdump based on the gnu bin utils, so that these use cases are better supported
* | | | Help: Discourage direct use of cmake_install.cmakeKyle Edwards2020-04-011-0/+5
|/ / / | | | | | | | | | Encourage people to use cmake(1) --install instead.