summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Help: Provide guidance on INTERFACE for target_precompile_headers()Craig Scott2019-11-131-0/+14
| | | | Fixes: #19953
* Help: Reorganise target_precompile_headers() docs for readabilityCraig Scott2019-11-131-49/+59
| | | | | | | | Incorporates clarification of behavior when trying to specify REUSE_FROM on a target that already has its own precompile headers set. Fixes: #19970
* Merge topic 'add_custom_command-supports-COMMAND_EXPAND_LISTS' into release-3.16Kyle Edwards2019-11-121-1/+2
|\ | | | | | | | | | | | | 64f40c5d09 Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4036
| * Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTSMarc Aldorasi2019-11-111-1/+2
| |
* | ObjC: Document ObjC/ObjCXX standard properties / variablesCristian Adam2019-11-111-1/+10
|/ | | | Fixes: #19919
* Merge topic 'doc-pch-genex' into release-3.16Brad King2019-11-081-0/+11
|\ | | | | | | | | | | | | f35df783b5 Help: Document target_precompile_headers genex with angle brackets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4015
| * Help: Document target_precompile_headers genex with angle bracketsBrad King2019-11-081-0/+11
| | | | | | | | | | | | | | When passing a `<header>` inside a generator expression, the closing `>` needs to be encoded as `$<ANGLE-R>`. Add an example to the docs. Fixes: #19940
* | Merge topic 'ctest-resource-groups' into release-3.16Kyle Edwards2019-11-071-4/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1435d9812 Help: Fix error in resource allocation example eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests c544cb6698 CTest: Rename hardware -> resources for source code 6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options 73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups" af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3994
| * | CTest: Rename hardware -> resources for CMake variables, command optionsCraig Scott2019-11-051-4/+4
| |/ | | | | | | | | | | Only changes the user-visible effects of renaming hardware allocation to resource allocation. Code changes are the minimum needed to achieve that.
* | Merge branch 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY' into ↵Craig Scott2019-11-051-1/+3
|\ \ | | | | | | | | | | | | release-3.16 Merge-request: !3968
| * | find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRYRobert Maynard2019-11-041-1/+3
| |/ | | | | | | | | | | | | | | Extend the change from commit 1d00ba9ccf (Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY, 2018-11-13, v3.16.0-rc1~461^2~1) to cover the system package registry too. Fixes: #19890
* | Merge branch 'fix_load_cache_docs' into release-3.16Brad King2019-11-041-2/+2
|\ \ | | | | | | | | | Merge-request: !3971
| * | Help: Clarify load_cache documentation of first parameterCharles Barto2019-11-011-2/+2
| |/ | | | | | | | | The first parameter is the path to the *directory* containing the `CMakeCache.txt` file, not the file itself.
* | Merge branch 'docs-file-GET_RUNTIME_DEPENDENCIES' into release-3.16Craig Scott2019-11-031-10/+10
|\ \ | | | | | | Merge-request: !3982
| * | Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)Craig Scott2019-11-031-10/+10
| |/ | | | | | | | | | | Note that ``MODULE`` s was rendering strangely, so the wording has been tweaked to avoid needing to specify ``MODULE`` as a plural word. Modules are still libraries, so it is okay to call them as such where it doesn't cause any ambiguity.
* | Help: list(REMOVE_ITEM) removes all instances, not just the first foundCraig Scott2019-11-021-1/+1
|/ | | Fixes: #19908
* Merge branch 'help-file-spelling-error' into release-3.16Brad King2019-10-311-1/+1
|\ | | | | | | Merge-request: !3964
| * Help: Fix spelling error in file(GET_RUNTIME_DEPENDENCIES) docsMarc Chevrier2019-10-301-1/+1
| |
* | Merge branch 'fix-find_package-doc' into release-3.16Brad King2019-10-301-0/+1
|\ \ | | | | | | | | | Merge-request: !3961
| * | Help: Add OPTIONAL_COMPONENTS to config mode signature of find_package.Deniz Bahadir2019-10-301-0/+1
| |/
* | Merge branch 'docs-find-vars' into release-3.16Brad King2019-10-281-6/+7
|\ \ | | | | | | | | | Merge-request: !3952
| * | Help: Document that <PackageName>_ROOT applies to config packages tooCraig Scott2019-10-271-6/+7
| |/ | | | | | | | | | | | | | | | | The original intent of <PackageName>_ROOT may have been for it to apply only to Find modules, but the implementation of the find_package() command treats modules and config packages the same. Both result in a <PackageName>_ROOT variable being pushed onto the stack of package roots. A config package can also call other find_...() commands, the behavior doesn't apply just to find modules.
* | Help: math() expressions must be representable as signed 64-bitCraig Scott2019-10-261-1/+2
|/
* Merge branch 'doc-pch-compile-language' into release-3.16Brad King2019-10-161-0/+4
|\ | | | | | | Merge-request: !3925
| * PCH: Document and test COMPILE_LANGUAGE genex for per-language headerBrad King2019-10-161-0/+4
| | | | | | | | Fixes: #19839
* | Help: Fix typos and style in add_link_options documentationTom Lankhorst2019-10-162-11/+11
|/
* CLI: Rename --loglevel to --log-level for naming consistencyCraig Scott2019-10-101-1/+1
| | | | | | | Other multi-word command line options use hyphens to separate the words, so the --loglevel option introduced in CMake 3.15 was inconsistent in this regard. Rename it to --log-level but still support the original --loglevel name to preserve backward compatibility.
* Help: Clarify how target names are handled in custom commands/targetsCraig Scott2019-10-052-25/+45
| | | Fixes: #19771
* Help: Add documentation for CTest hardware allocationKyle Edwards2019-10-021-0/+6
|
* Languages: Add support for Objective-C++Steve Wilson2019-09-282-5/+4
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C++ compiler determination and identification. Add Modules to check Objective-C++ compiler flags, source compilations, program checks, etc... Use OBJCXX as the designator of the language, eg: project(foo OBJCXX) Add various tests for Objective-C++ language features. Add tests to preserve C++ handling of .M and .mm files when Objective-C++ is not a configured language. Co-authored-by: Cristian Adam <cristian.adam@gmail.com>
* Languages: Add support for Objective-CSteve Wilson2019-09-282-3/+4
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C compiler determination and identification. Add Modules to check Objective-C compiler flags, source compilations, program checks, etc... Use OBJC as the designator of the language, eg: project(foo OBJC) Add various tests for Objective-C language features. Add tests to preserve C++ handling of .m and .mm files when OBJC is not a configured language. Co-Authored-By: Cristian Adam <cristian.adam@gmail.com>
* Precompile headers: Treat headers as relative to current source directoryCristian Adam2019-09-231-3/+18
| | | | | | | Teach `target_precompile_headers` to treat relative paths the same way as `target_sources`. Fixes: #19733
* Precompile Headers: Add REUSE_FROM signatureCristian Adam2019-09-171-0/+14
| | | | | | | Add the ability to share precompiled headers artifacts between targets. Fixes: #19659
* Depend: Hook up automatic target-level dependencies via byproductsDaniel Eiband2019-09-122-6/+6
| | | | | | | | Target-level dependencies to utility targets are added from another target if the other target requires a byproduct of the utility target or if it requires a byproduct of PRE_BUILD, PRE_LINK, or POST_BUILD build events of a target. Issue: #19005
* Precompile headers: Update documentationCristian Adam2019-08-281-0/+56
|
* ctest: rename TRACK to GROUPZack Galbreath2019-08-221-14/+15
| | | | | | | | | | Update command-line options, script variables, and documentation to use the term "group" instead of "track". The old terms are still available for now, but they are now undocumented. This makes our terminology more consistent with CDash. The goal of this change is to make it more clear to our users how CTest and CDash interact with each other.
* Help: Fix typo in ctest_coverage synopsisSylvain Joubert2019-08-201-1/+1
|
* CMakeDependentOption: Document that 4th parameter follows if-syntaxHong Xu2019-08-051-0/+2
|
* 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
| | |