summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* FindPackage: Support `NO_[]_PATH` global call optionsRobert Maynard2019-07-221-5/+10
|
* Merge topic 'doc-string-multibyte'Brad King2019-07-221-81/+94
|\ | | | | | | | | | | | | | | b97673f54b Help: Add note to each string() subcommand that assumes ASCII input 26cd64d977 Help: Fix language and formatting inconsistencies for string() command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3559
| * Help: Add note to each string() subcommand that assumes ASCII inputCraig Scott2019-07-191-1/+10
| | | | | | Fixes: #19465
| * Help: Fix language and formatting inconsistencies for string() commandCraig Scott2019-07-191-81/+85
| |
* | Merge topic 'feature/message-indent'Craig Scott2019-07-221-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 5f6fd917a3 message(): Control indentation via CMAKE_MESSAGE_INDENT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3464
| * | message(): Control indentation via CMAKE_MESSAGE_INDENTAlex Turbov2019-07-211-0/+5
| |/
* | Help: Add documentation for SKIP_REGULAR_EXPRESSION test propertyGabor Bencze2019-07-181-2/+3
| |
* | AIX: Create import library for executables with exportsBrad King2019-07-161-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On AIX, plugins meant to be loaded into executables via `dlopen` must be linked with access to a list of symbols exported from the executable in order to use them (when not using runtime linking). The AIX linker supports specifying this list as an "import file" passed on the command line either via the `-bI:...` option or (with a leading `#! .` line) as a normal input file like any other library file. The linker import file plays the same role on AIX as import libraries do on Windows. Teach CMake to enable its import library abstraction on AIX for executables with the `ENABLE_EXPORTS` target property set. Teach our internal `ExportImportList` script to optionally generate a leading `#! .` line at the top of the generated export/import list. Update our rule for linking an executable with exports to generate a public-facing "import library" implemented as an AIX linker import file. With this approach, our existing infrastructure for handling import libraries on Windows will now work for AIX linker import files too: * Plugins that link to their executable's symbols will be automatically linked using the import file on the command line. * The executable's import file will be (optionally) installed and exported for use in linking externally-built plugins. This will allow executables and their plugins to build even if we later turn off runtime linking. Issue: #19163
* Merge topic 'docs-file-GLOB-case-sensitivity'Craig Scott2019-07-111-0/+5
|\ | | | | | | | | | | | | c65f296960 Help: Mention file(GLOB)'s case-sensitivity Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3516
| * Help: Mention file(GLOB)'s case-sensitivitySteve Mokris2019-07-101-0/+5
| | | | | | | | Based on the KWSYS_GLOB_CASE_INDEPENDENT flag in `Source/kwsys/Glob.cxx`.
* | Merge topic 'docs-message-cmake-gui'Craig Scott2019-07-101-6/+6
|\ \ | | | | | | | | | | | | | | | | | | 42a9e61056 message() help: Clarify how logs are displayed in various tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3523
| * | message() help: Clarify how logs are displayed in various toolsFrank Dana2019-07-091-6/+6
| | |
| * | Merge branch 'docs-misc-trivial-cleanups' into release-3.15Craig Scott2019-07-042-31/+30
| |\ \ | | | | | | | | | | | | Merge-request: !3498
* | \ \ Merge topic 'add_cmake_find_use_package_registry'Craig Scott2019-07-092-3/+5
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 447a96f590 vim: Update cmake.vim to include the CMAKE_FIND_USE variables 1d00ba9ccf Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY 704e3a2ca8 Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3487
| * | | Find: find_package prefers variable CMAKE_FIND_USE_REGISTRYRobert Maynard2019-07-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | CMake's find control flags should all have a consistent name. To make this happen we are introducing `CMAKE_FIND_USE_REGISTRY` and deprecating `CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY`.
| * | | Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docsRobert Maynard2019-07-091-1/+1
| | | |
* | | | Merge topic 'docs-misc-trivial-cleanups'Craig Scott2019-07-042-31/+30
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d5b722bbbd Help: Remove mention of CMAKE_INSTALL_DO_STRIP ddc7ea4696 Help: Clarify how to provide multiple targets with cmake --target c509f38b7b Help: Add missing xref for CMAKE_EXECUTE_PROCESS_COMMAND_ECHO 9cc6befe1b Help: Improve formatting of list(TRANSFORM) sub-options 074fbdb73f Help: Clean up trivial typos and grammar Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3498
| * | | Help: Add missing xref for CMAKE_EXECUTE_PROCESS_COMMAND_ECHOCraig Scott2019-07-031-0/+2
| | | |
| * | | Help: Improve formatting of list(TRANSFORM) sub-optionsCraig Scott2019-07-031-17/+17
| | | |
| * | | Help: Clean up trivial typos and grammarCraig Scott2019-07-032-14/+11
| | | |
* | | | Merge topic 'docs-project-code-injection'Craig Scott2019-07-011-13/+18
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | 42294f43bd Help: move code injection vars to their own section 9e0775cb6a Help: Remove self-references from project() docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3494
| * | Help: move code injection vars to their own sectionCraig Scott2019-06-301-8/+13
| | | | | | | | | | | | | | | The docs for CMAKE_PROJECT_<projName>_INCLUDE and CMAKE_PROJECT_INCLUDE did not define the order of inclusion if both were set.
| * | Help: Remove self-references from project() docsCraig Scott2019-06-291-5/+5
| |/
* | 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