summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge topic 'revert-subdirectory-linking'Brad King2018-07-051-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 0d7114987c Revert "target_link_libraries: Allow use with targets in other directories" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2191
| * | | | Revert "target_link_libraries: Allow use with targets in other directories"Brad King2018-07-031-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.12.0-rc1~82^2 (target_link_libraries: Allow use with targets in other directories, 2018-05-11). The RHS target scoping and visibility rules are not clear and will need further investigation before the feature can be added. Issue: #17943
* | | | Merge topic 'math-hex'Brad King2018-07-051-1/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5dbee9d2d0 math: Add options to calculate and format output as hexadecimal 8661e7052c math: Diagnose divide-by-zero 7c4c13ffef math: Reject unexpected expression input explicitly 5b0f73a15a math: Use 64-bit integer type for computation 963b8d9f6c math: Add RunCMake.math test to prepare for error cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2056
| * | | | math: Add options to calculate and format output as hexadecimalDaniel Franke2018-07-031-1/+17
| | | | |
* | | | | Merge topic 'policy_max_docs'Brad King2018-07-022-1/+8
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 19f338109d Help: Clarify ...<max> behavior for policy-related commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2180
| * | | | Help: Clarify ...<max> behavior for policy-related commandsCraig Scott2018-07-012-1/+8
| | |/ / | |/| | | | | | Affects cmake_minimum_required() and cmake_policy(VERSION)
* | | | Help: add_library(INTERFACE): add reference to add_link_options()Marc Chevrier2018-06-201-0/+1
| | | |
* | | | Merge topic 'install_from_another_directory'Brad King2018-06-191-0/+8
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | e89ad0f94e install: Allow installing targets created in another directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2152
| * | | install: Allow installing targets created in another directoryZack Galbreath2018-06-181-0/+8
| | |/ | |/| | | | | | | | | | | | | | | | | | | Previously, `install(TARGETS)` would only accept targets created in the same directory scope. Relax this restriction by searching the global scope when determining whether or not a target exists. Fixes: #14444
* | | Merge topic 'subdir_target_sources'Craig Scott2018-06-191-1/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 316815e1f4 target_sources: Interpret relative paths as relative to the calling directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2128
| * | target_sources: Interpret relative paths as relative to the calling directoryPatrick Stotko2018-06-181-1/+6
| |/ | | | | | | | | | | | | | | | | | | Previously the command considered non-absolute source file paths relative to the associated target on the LHS. This causes problems in incremental builds where files are added from subdirectories and forces users to workaround by manually converting to absolute paths. Change this to enable more intuitive usage by projects. Fixes #17981
* | Merge topic 'list_sort'Brad King2018-06-141-3/+19
|\ \ | | | | | | | | | | | | | | | | | | 49a51a61d7 list: Add options to control the SORT comparison operation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2065
| * | list: Add options to control the SORT comparison operationDaniel Franke2018-06-131-3/+19
| |/
* | Merge topic 'LINK_OPTIONS'Brad King2018-06-087-4/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 66ea1a3795 LINK_OPTIONS: Add support of "LINKER:" prefix c1f5a44b28 LINK_OPTIONS: Add new family of properties 8e28d2630a Makefile generator: link flags management refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !2033
| * | LINK_OPTIONS: Add support of "LINKER:" prefixMarc Chevrier2018-06-063-5/+19
| | |
| * | LINK_OPTIONS: Add new family of propertiesMarc Chevrier2018-06-066-4/+69
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | This family enable to manage link flags Three new properties: * directory property: LINK_OPTIONS * target properties: LINK_OPTIONS and INTERFACE_LINK_OPTIONS Two new commands * add_link_options(): to populate directory property * target_link_options(): to populate target properties Fixes: #16543
* | install: Teach CODE,SCRIPT modes to evaluate generator expressionsJon Chronopoulos2018-06-071-0/+4
|/ | | | Fixes: #15785
* Fix misc. typosluz.paz2018-06-041-1/+1
| | | | Found via `codespell` and `grep`
* target_link_libraries: Allow use with targets in other directoriesPatrick Stotko2018-05-151-1/+1
| | | | | | | | Previously the command did not allow naming targets on the LHS that were not created in the calling directory. Lift this restriction to enable more flexible use by projects. Fixes: #17943
* ctest_start: read model from TAG fileKyle Edwards2018-05-091-16/+73
| | | | | | | | This change reworks ctest_start() so that simply calling ctest_start(APPEND) will read all the information from the TAG file. On top of that, it relaxes the argument parsing for ctest_start() to allow greater flexibility in the argument ordering, and the documentation for ctest_start() has been cleaned up.
* Help: Organize file command docs into sectionsBrad King2018-05-071-16/+75
| | | | | | Add a synopsis section at the top summarizing all signatures. Issue: #17948
* Help: Add Synopsis section to install, list, and string docsBrad King2018-05-073-99/+132
| | | | | | | | | Summarize the command signatures in one block at the top of the documentation as is typical in Unix command-line tool manuals. Make the mode keywords links to the corresponding full signature and documentation. Issue: #17948
* Help: Improve list command signature group name for read operationsBrad King2018-05-071-2/+2
| | | | | The LENGTH, GET, JOIN, and SUBLIST operations all read the list without modifying it. Name their section appropriately.
* Help: Re-order file command docsBrad King2018-05-071-125/+125
| | | | Prepare for the addition of section headers for grouping commands.
* Merge topic 'feature/cpack-default-package-version'Craig Scott2018-05-031-2/+3
|\ | | | | | | | | | | | | | | af1c48871c CPack: Use project version as default for `CPACK_PACKAGE_VERSION` Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Harry Mallon <hjmallon@gmail.com> Merge-request: !2020
| * CPack: Use project version as default for `CPACK_PACKAGE_VERSION`Alex Turbov2018-05-021-2/+3
| | | | | | | | | | | | | | | | | | | | * Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components: `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`, `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`. * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH` to initialize corresponsing CPack variables.
* | Merge topic 'namelink-component'Brad King2018-05-031-67/+175
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e8046e20b Help: add release notes for NAMELINK_COMPONENT c02eeb0853 Help: clarify "undefined behavior" in install(EXPORT) command edcb545a24 install: add test for new NAMELINK_COMPONENT parameter 0212d7c762 install: add NAMELINK_COMPONENT argument cbb609072f Help: clean up install(TARGETS) documentation b81280ba1f Help: add list of command signatures to top of INSTALL page Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !1982
| * | Help: clarify "undefined behavior" in install(EXPORT) commandKyle Edwards2018-05-031-5/+18
| | | | | | | | | | | | | | | | | | | | | The "undefined behavior" that the install(EXPORT) command warned about was simply the possibility of build errors (or other errors) if the referenced targets aren't installed. As long as the referenced targets are installed, this won't be an issue.
| * | install: add NAMELINK_COMPONENT argumentKyle Edwards2018-05-031-8/+51
| | | | | | | | | | | | | | | | | | | | | For shared libraries, this allows you to specify separate components for the shared library and for the namelink. Suggested in https://cmake.org/pipermail/cmake-developers/2014-December/024032.html.
| * | Help: clean up install(TARGETS) documentationKyle Edwards2018-04-301-62/+96
| | | | | | | | | | | | | | | | | | The documentation for install(TARGETS) has been rearranged so that the options are presented as a list, for better readability and maintenance.
| * | Help: add list of command signatures to top of INSTALL pageKyle Edwards2018-04-301-0/+18
| |/
* | Help: Clarify add_custom_command build event execution orderBrad King2018-05-021-4/+3
|/ | | | Fixes: #17949
* Merge topic 'doc-help-spelling'Brad King2018-04-239-17/+17
|\ | | | | | | | | | | | | 20d90a9482 Help: Some spelling corrections for commands. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1994
| * Help: Some spelling corrections for commands.Yee Fan2018-04-209-17/+17
| |
* | Merge topic 'cmake-install-doc'Brad King2018-04-231-0/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | a4f71b4ba8 Help: Document existence of cmake_install.cmake fcf64866da Help: move DESTDIR into a separate page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1979
| * | Help: Document existence of cmake_install.cmakeKyle Edwards2018-04-201-0/+23
| |/ | | | | | | | | | | This file, which is currently undocumented, is useful for external packaging programs that wish to install only a single component at a time. This change adds documentation for the file.
* | add_compile_definitions: add new commandMarc Chevrier2018-04-204-5/+36
|/ | | | | | | This command manages preprocessor definitions at directory level and supports generator expressions. Fixes: #15374
* typo: incerment -> incrementRolf Eike Beer2018-04-171-1/+1
|
* list: Add TRANSFORM sub-commandMarc Chevrier2018-04-161-0/+73
| | | | Issue: #17823
* Help: Fix install(EXPORT_ANDROID_MK) mode documentationBrad King2018-04-091-4/+5
| | | | | | | | | | `install(EXPORT_ANDROID_MK)` is its own mode, not an option to the normal `install(EXPORT)` mode. While at it, also fix the prose in our documented example to match the code. Fixes: #17891
* Merge topic 'glob_configure_depends'Brad King2018-04-061-2/+11
|\ | | | | | | | | | | | | | | | | | | | | 6c4f8b4596 Adjust help documentation for file(GLOB), add topic notes 20612978c8 Add tests for `file(GLOB)` CONFIGURE_DEPENDS flag 3f4b81f540 Add glob verify support to XCode, VS, Ninja, and Makefile generators ca0befc2e1 Add `CONFIGURE_DEPENDS` flag support to cmFileCommand::HandleGlobCommand 599c93e22d Add cmGlobVerificationManager class, integrate with cmake and cmState Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1767
| * Adjust help documentation for file(GLOB), add topic notesShane Parris2018-04-021-2/+11
| |
* | Drop Visual Studio 8 2005 generatorBrad King2018-04-021-1/+1
|/ | | | This generator has been deprecated since CMake 3.9. Remove it.
* Merge topic 'pr.find_package.prefixes'Craig Scott2018-03-231-9/+21
|\ | | | | | | | | | | | | 4eb5d851d5 Help: Add 'lib32|libx32|lib64' paths to find_package prefixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1878
| * Help: Add 'lib32|libx32|lib64' paths to find_package prefixesRuslan Baratov2018-03-211-9/+21
| | | | | | | | | | Document the conditions when 'lib32|libx32|lib64' variants will be added to the list of possible installation prefixes.
* | Merge topic 'list-sublist'Craig Scott2018-03-221-0/+12
|\ \ | | | | | | | | | | | | | | | | | | 768225837d list: Add SUBLIST sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1874
| * | list: Add SUBLIST sub-commandMarc Chevrier2018-03-211-0/+12
| |/ | | | | | | Issue: #17823
* | Merge topic 'policy-version-range'Craig Scott2018-03-222-22/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 45408b5ea1 cmake_minimum_required: Optionally set policies with version range 6a41aa2abd cmPolicies: Split parsing and impl of ApplyPolicyVersion 1d00ed7cf7 cmPolicies: Drop unnecessary check from ApplyPolicyVersion 0df559832b cmPolicies: Pass policy version as std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1864
| * | cmake_minimum_required: Optionally set policies with version rangeBrad King2018-03-212-22/+33
| | | | | | | | | | | | | | | | | | | | | | | | Teach `cmake_minimum_required` and `cmake_policy(VERSION)` to support a version range of the form `<min>[...<max>]`. Define this to mean that version `<min>` is required, but known policies up to those introduced by `<max>` will be set to `NEW`. This will allow projects to easily specify a range of versions for which they have been updated.
* | | Merge topic 'clarify_inherited_properties'Brad King2018-03-227-24/+71
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff6234509e Help: Clarify behavior of INHERITED properties 9cc97ab4dc Tests: Add tests for INHERITED property chaining Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1879