summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docsRobert Maynard2019-07-091-1/+1
|
* Merge topic 'doc-typos-cmake_parse_arguments'Brad King2019-06-241-8/+8
|\ | | | | | | | | | | | | | | 264612c013 Help: Typo and grammar fixes in cmake_parse_arguments() docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3468
| * Help: Typo and grammar fixes in cmake_parse_arguments() docsCraig Scott2019-06-231-8/+8
| |
* | Find: Provide global controls for the `NO_[]_PATH` call optionsRobert Maynard2019-06-215-21/+25
| |
* | Merge topic 'add-test-command-expand-lists'Brad King2019-06-121-1/+7
|\ \ | | | | | | | | | | | | | | | | | | e791ffac61 add_test: Add COMMAND_EXPAND_LISTS option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3422
| * | add_test: Add COMMAND_EXPAND_LISTS optionSergey Bobrenok2019-06-071-1/+7
| |/ | | | | | | | | | | | | | | | | Add a `COMMAND_EXPAND_LISTS` option to the `add_test` command to cause `;`-separated lists produced by generator expressions to be expanded into multiple arguments. The `add_custom_command` command already has such an option. Fixes: #17284
* | file: Add GET_RUNTIME_DEPENDENCIES modeKyle Edwards2019-06-101-0/+268
|/ | | | Co-Authored-by: Bryon Bean <bryon.bean@kitware.com>
* add_library: Document UNKNOWN type of imported targetsCristian Adam2019-06-021-0/+6
|
* Help: Fix typo in install(EXPORT_ANDROID_MK) exampleJohn Freeman2019-05-261-2/+2
|
* Merge topic 'find-package-prefer-config'Brad King2019-05-221-0/+7
|\ | | | | | | | | | | | | | | | | 26a99da206 find_package: Add option to prefer Config mode c365243a3a find_package: Factor out module and config find_package methods Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ruslan Baratov <ruslan_baratov@yahoo.com> Merge-request: !3339
| * find_package: Add option to prefer Config modeCristian Adam2019-05-211-0/+7
| | | | | | | | | | | | | | | | Add a `CMAKE_FIND_PACKAGE_PREFER_CONFIG` variable to tell `find_package` calls to look for a package configuration file first even if a find module is available. Fixes: #16805, #19236
* | file: Change REMOVE to ignore empty namesBrad King2019-05-211-1/+2
|/ | | | | | | | | | | | | | | Previously code like file(REMOVE_RECURSE "${accidentally_missing_variable}") treated the empty string as a relative path with respect to the current directory and removed its contents. Change this behavior to ignore the empty string with a warning instead. Normally such behavior changes are done with a policy, but in this case such code is likely a real bug in project code that can delete data. Fixes: #19274
* file(INSTALL): Add FOLLOW_SYMLINK_CHAIN argumentKyle Edwards2019-05-161-0/+27
|
* Support job pools in custom commands and targetsRosen Matev2019-05-142-0/+16
| | | | | | | | | | Provide a way for custom commands and targets to set the pool variable of the ninja build statement. Setting `JOB_POOL` is not compatible with `USES_TERMINAL`, which implies the `console` pool. The option is silently ignored with other generators. Closes: #18483
* Merge topic 'ctest-update-version-override'Craig Scott2019-05-081-1/+2
|\ | | | | | | | | | | | | | | | | | | 2a34d0ac36 ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDE 7ddac95121 Help: cross-ref and wording of docs related to ctest_update() a0d04d8810 testing: Update terminology in ctest_update tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3277
| * Help: cross-ref and wording of docs related to ctest_update()Zack Galbreath2019-05-031-1/+2
| | | | | | | | Provide better motivation for users to click through to the CTest manual from the ctest_update command help page.
* | Merge topic 'enforce-explicit-use-of-project'Brad King2019-05-071-7/+8
|\ \ | | | | | | | | | | | | | | | | | | 1527defbfe cmMakefile: Enforce explicit use of project() command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3245
| * | cmMakefile: Enforce explicit use of project() commandBartosz Kosiorek2019-05-061-7/+8
| |/ | | | | | | Fixes: 17714
* | Help: Clarify that link options don't apply to static library targetsCraig Scott2019-05-052-15/+26
|/
* Merge topic 'message-new-types-and-logging'Craig Scott2019-04-301-18/+50
|\ | | | | | | | | | | | | | | | | | | 599587feb1 message(): Minor code modernization 6cc93b370e message(): Add support for log levels 377d1b7896 cmSystemTools: Remove unused message-related code, simplify logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3268
| * message(): Add support for log levelsAlex Turbov2019-04-281-18/+50
| | | | | | | | | | Relates: #18943 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | Merge topic 'add-execute_process-command-echo'Brad King2019-04-301-0/+5
|\ \ | |/ |/| | | | | | | | | | | 044dcf9f8d execute_process: Add option to echo command lines d350fb6889 execute_process: Manage KWSys Process lifetime with unique_ptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3165
| * execute_process: Add option to echo command linesBill Hoffman2019-04-191-0/+5
| | | | | | | | | | | | | | | | | | | | Add COMMAND_ECHO option to the execute_process command. This will allow execute_process to show the command it will run. Also add a cmake variable CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can be set to one of the following: STDERR|STDOUT|NONE. The command will be printed to stderr or stdout or not at all. Fixes: #18933
* | Merge topic 'update-documentation'Kyle Edwards2019-04-246-7/+7
|\ \ | | | | | | | | | | | | | | | | | | cb811d11ce Help: Improve description of modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3222
| * | Help: Improve description of modulesBartosz Kosiorek2019-04-236-7/+7
| |/
* | Merge topic 'msvc-runtime-library'Brad King2019-04-171-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | fb3370b6a1 MSVC: Add abstraction for runtime library selection f621e7fa5d VS: Fix Fortran runtime library flag map special case for '-' options Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !3211
| * | MSVC: Add abstraction for runtime library selectionBrad King2019-04-171-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class abstraction to select the runtime library from an enumeration of logical names. We've long hesitated to do this because the idea of "runtime library selection" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flags requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0091 to provide compatibility. Fixes: #19108
* | Merge topic 'string-repeat'Brad King2019-04-161-0/+9
|\ \ | | | | | | | | | | | | | | | | | | 536cca60ea string: introduce `REPEAT` sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3239
| * | string: introduce `REPEAT` sub-commandAlex Turbov2019-04-151-0/+9
| |/
* | Merge topic 'iface-headers'Brad King2019-04-122-9/+14
|\ \ | |/ |/| | | | | | | | | a40f9083dd INTERFACE Target: allow (PUBLIC/PRIVATE)_HEADER properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3181
| * INTERFACE Target: allow (PUBLIC/PRIVATE)_HEADER propertiesAvraham Shukron2019-04-112-9/+14
| | | | | | | | | | | | | | Also support installing headers on an INTERFACE library. Signed-off-by: Avraham Shukron <avraham.shukron@gmail.com> Fixes: #15234
* | Modules: Update documentation formattingBartosz Kosiorek2019-04-081-6/+6
| |
* | Help: Improve formatting of Help documentationBartosz Kosiorek2019-04-083-7/+7
|/
* Merge topic 'if-EXISTS-doc'Brad King2019-04-041-1/+3
|\ | | | | | | | | | | | | 78ac8cb04a Help: clarify if(EXISTS) operation for symlinks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3189
| * Help: clarify if(EXISTS) operation for symlinksShoaib Meenai2019-04-041-1/+3
| | | | | | | | if(EXISTS) resolves symlinks; note this explicitly in its documentation.
* | Merge topic 'improve-documentation'Brad King2019-04-048-10/+10
|\ \ | | | | | | | | | | | | | | | | | | 456e0fb64f Help: Improve documentation formating Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3174
| * | Help: Improve documentation formatingBartosz Kosiorek2019-04-048-10/+10
| | |
* | | project: Add variable CMAKE_PROJECT_INCLUDE_BEFORERuslan Baratov2019-04-011-0/+4
| |/ |/|
* | Merge topic 'project-include'Brad King2019-04-011-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | 7d19b3091d Release note for CMAKE_PROJECT_INCLUDE variable dda0190458 project: Add variable CMAKE_PROJECT_INCLUDE 390f14a244 Test ProjectInclude: Add NONE to avoid enabling languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3155
| * project: Add variable CMAKE_PROJECT_INCLUDERuslan Baratov2019-03-271-3/+3
| |
* | Help: Improve documentation links and formattingBartosz Kosiorek2019-03-272-3/+3
|/
* ctest_submit: Add option BUILD_IDZack Galbreath2019-03-221-2/+8
| | | | Fixes: #18968
* Help: describe the command pipeline of execute_process more explicitlyJoachim Wuttke (l)2019-03-201-1/+3
| | | | | | | | When reading the doc page on execute_process, I was mislead by the words "in parallel". They convinced at once that the processes are run independently of each other, so that I did not even bother to read further. The rewording, and not least the insertion of a paragraph break, should prevent such oversight.
* Help: improve source formattingJoachim Wuttke (l)2019-03-201-3/+3
|
* Help: describe what happens if command execute_process reaches timeout.Joachim Wuttke (l)2019-03-201-2/+3
|
* Merge topic 'export-package-default-off'Brad King2019-03-151-2/+7
|\ | | | | | | | | | | | | | | 9bede5c4ce export: Disable PACKAGE mode user package registry by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Mosimann <lumosimann@gmail.com> Merge-request: !3041
| * export: Disable PACKAGE mode user package registry by defaultRobert Maynard2019-03-151-2/+7
| | | | | | | | | | | | | | The user package registry populated by the `export()` command causes side effects outside the build and source directories. Such effects should be opt-in rather than op-out. Introduce a policy to change default behavior of `export(PACKAGE)` to do nothing.
* | Merge topic 'enable_testing'Brad King2019-03-082-5/+13
|\ \ | | | | | | | | | | | | | | | | | | 538e699e5a Help: for command enable_testing, explain relation to module CTest. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3070
| * | Help: for command enable_testing, explain relation to module CTest.Joachim Wuttke (o)2019-03-072-5/+13
| | |
* | | Help: add code-block directiveKyle Edwards2019-03-071-1/+1
| | |