summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ifw-depends-name-version-parsing'Brad King2021-03-301-0/+7
|\ | | | | | | | | | | | | | | a43783a08d CPackIFW: Fix parsing of name and version in component DEPENDS f536e6f3fb CPackIFW: Remove redundant variable assignment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5929
| * CPackIFW: Fix parsing of name and version in component DEPENDSCraig Scott2021-03-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DEPENDS or DEPENDENCIES arguments in a call to cpack_ifw_configure_component() or cpack_ifw_configure_component_group() specify a name and optionally a version constraint as a single string. QtIFW also allows a colon (requires QtIFW 3.1 or later) or a hyphen to separate the name and version. The version may optionally contain a leading operator, with = being assumed when no operator is present. The previous code was not handling : as a separator at all and was erroneously dropping the version part when no operator was given. Fix both of those non-conforming behaviors and also warn if trying to use a hyphen in a name with a QtIFW version that isn't recent enough to support it. Fixes: #21697
* | Merge topic 'multiple-L-labels'Brad King2021-03-301-2/+48
|\ \ | | | | | | | | | | | | | | | | | | | | | 44ad3f0b7f ctest: Support multiple -L and -LE options to mean "AND" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lars Bilke <larsbilke83@googlemail.com> Merge-request: !5329
| * | ctest: Support multiple -L and -LE options to mean "AND"Adriaan de Groot2021-03-281-2/+48
| | | | | | | | | | | | Fixes: #21087
* | | Merge topic 'SWIG'Brad King2021-03-293-1/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1d8e3a1e77 UseSWIG: Use standard library name conventions for csharp language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5949
| * | | UseSWIG: Use standard library name conventions for csharp languageMarc Chevrier2021-03-263-1/+24
| | | | | | | | | | | | | | | | Fixes: #21542
* | | | Merge topic 'commands-file-permissions'Brad King2021-03-292-23/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 769ff05483 Help: Clarify permission-related command options 900184616a Cleanup: Fix misspelt name of local C++ variable 635431a0c9 Tests: Check host platform instead of target for running stat 4ceb0ca59e Tests: Remove redundant files for configure_file() tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5945
| * | | | Help: Clarify permission-related command optionsCraig Scott2021-03-262-23/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous docs did not make clear that at most only one of the three permissions-related options can be given for configure_file() or file(GENERATE) and that USE_SOURCE_PERMISSIONS is already the default behavior for these commands. Use consistent wording to refer to the input and output files for configure_file(). Add missing "versionadded" directives on some of these keywords. Use the consistent wording and keyword ordering between the configure_file(), file(GENERATE) and file(COPY) commands.
* | | | | Merge topic 'FindIntl-builtin'Brad King2021-03-291-0/+14
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0850160254 Merge branch 'backport-FindIntl-builtin' into FindIntl-builtin 8e342a6637 FindIntl: Fix detection of intl built in to C library f56c1571d2 Merge branch 'backport-FindIntl-builtin' into FindIntl-builtin e34d64c04d FindIntl: Fix detection of intl built in to C library cb0d1a49e6 FindIntl: Improve documentation formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jeremy Tan <jtanx@outlook.com> Acked-by: David Adam <zanchey@ucc.gu.uwa.edu.au> Merge-request: !5948
| * | | | Merge branch 'backport-FindIntl-builtin' into FindIntl-builtinBrad King2021-03-261-0/+14
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | FindIntl: Fix detection of intl built in to C libraryBrad King2021-03-261-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit c30d06b7e6 (FindIntl: Add imported target, 2020-10-06, v3.20.0-rc1~687^2) we use `check_symbol_exists` to check whether the `intl` library is built in to the C library. On some platforms the tested symbols are provided as macros so the check passes without linking any symbol. Instead, check whether a sample source file both compiles and links. Fixes: #21979
| | * | | Merge topic 'doc-custom-output-genex' into release-3.20Brad King2021-03-253-3/+11
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2f59b683d3 Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5939
* | | | | | project: Define variables indicating whether project is top levelfriendlyanon2021-03-265-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define `PROJECT_IS_TOP_LEVEL` and `<PROJECT-NAME>_IS_TOP_LEVEL`. The latter is a STATIC cache entry just like other `<PROJECT-NAME>_*` variables so that it is globally scoped. Issue: #20310 Fixes: #21961
* | | | | | Help: Convert project() directory variables to a definition listBrad King2021-03-261-5/+6
|/ / / / /
* | | | | Merge topic 'doc-custom-output-genex'Brad King2021-03-253-3/+11
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 2f59b683d3 Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5939
| * | | | Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targetsCraig Scott2021-03-253-3/+11
| | |/ / | |/| | | | | | Relates: #21364
* | | | Merge branch 'master' into nsis-branding-trim-positionCraig Scott2021-03-2443-87/+1116
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Merge topic 'vs-custom-flag-table'Brad King2021-03-231-0/+24
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 608ef8a6fc VS: Add a mostly-undocumented hook to load custom JSON flag tables 8dd8d63665 Tests: Add RunCMake hook to describe test variants Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5895
| | * | VS: Add a mostly-undocumented hook to load custom JSON flag tablesBrad King2021-03-221-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The names and formats of our VS flag tables are internal implementation details. However, some institutions need to maintain support for non-public VS platforms and toolsets. Provide a hook that their projects can use to load custom flag table files. This helps avoid distributing a custom CMake package within such institutions. Document the hook itself, but explicitly specify that the files the hook loads are not considered a stable interface.
| * | | Merge topic 'doc-xcoff-chrpath'Brad King2021-03-231-6/+13
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | 4a9fb82030 Help: CMAKE_NO_BUILTIN_CHRPATH applies to XCOFF too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5925
| * | | Merge topic 'cmake-presets-condition'Brad King2021-03-234-9/+460
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8bc5c8961e CMakePresets.json: Add the ability to conditionally disable presets ce6ea7c927 Refactor: Move some common code into separate file ebbd475e54 Refactor: Move cmCMakePresetsFile::ReadJSON into a separate file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5919
| | * | | CMakePresets.json: Add the ability to conditionally disable presetsKyle Edwards2021-03-224-9/+460
| | | | |
| * | | | Merge topic 'cxx-module-extensions'Brad King2021-03-231-0/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c4c4f1406 Treat '.ixx' and '.cppm' files as C++ sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5926
| | * | | | Treat '.ixx' and '.cppm' files as C++ sourcesAndrew Gilewsky2021-03-221-0/+4
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | These extensions are used by convention for C++ modules and interface units with MSVC.
| * | | | Help/guide: use GNUInstallDirs in importing-exporting exampleBen Boeckel2021-03-195-25/+35
| |/ / / | | | | | | | | | | | | | | | | | | | | This allows the example to also show how to work on systems with different libdir settings (e.g., Debian multiarch or Red Hat multilib) rather than a regular `lib` directory.
| * | | Merge topic 'update_cuda_custom_toolkit_location_folder_structure'Brad King2021-03-191-7/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c73b847b03 VS: switch to new folder structure while keeping the old one working Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5911
| | * | | VS: switch to new folder structure while keeping the old one workingMarcel Ritzschke2021-03-181-7/+6
| | |/ / | | | | | | | | | | | | Fixes: #21170
| * | | Merge topic 'FindDevIL-targets'Brad King2021-03-191-0/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73b27f6ae8 FindDevIL: add imported targets and tests 52d3d1bdc5 FindDevIL: Format documentation of provided variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5891
| | * | | FindDevIL: add imported targets and testsAlex2021-03-181-0/+4
| | |/ / | | | | | | | | | | | | Fixes: #21900
| * | | Merge topic 'schema-typo'Brad King2021-03-191-16/+16
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fae7910268 Help: Fix typos in presets schema field descriptions fa1b729b9d Merge branch 'backport-preset-schema-typos' into preset-schema-typos bda6446e6f Help: Fix typos in presets schema field descriptions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5922
| | * | | Help: Fix typos in presets schema field descriptionsAdriaan de Groot2021-03-181-1/+1
| | | | |
| | * | | Merge branch 'backport-preset-schema-typos' into preset-schema-typosBrad King2021-03-181-15/+15
| | |\ \ \ | | | |/ / | | |/| |
| * | | | Merge topic 'fix-CMP0118-NEW'Brad King2021-03-191-2/+8
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 17eb610a31 Help: Document CMP0118 requirement for boolean values 06feb845aa CMP0118: Fix NEW behavior when looking up target sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5921
| * | | | Merge topic 'fileapi-codemodel-directory'Brad King2021-03-182-36/+239
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 049bf98f63 fileapi: Add installers to codemodel-v2 "directory" object eae2256a52 fileapi: Add backtraceGraph to codemodel-v2 "directory" object a12d7f70b1 fileapi: Add a "directory" object to codemodel-v2 fd30bd93e6 fileapi: Re-organize backtrace infrastructure 415ead8153 cmFileAPICodemodel: Build map from each target to its index f73b6879e9 cmInstallTargetGenerator: Report namelink mode with list of files ea430582f9 cmInstallTargetGenerator: Drop unused GetNamelinkMode method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5917
| | * | | | fileapi: Add installers to codemodel-v2 "directory" objectBrad King2021-03-162-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
| | * | | | fileapi: Add backtraceGraph to codemodel-v2 "directory" objectBrad King2021-03-161-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
| | * | | | fileapi: Add a "directory" object to codemodel-v2Brad King2021-03-162-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This object will contain more detailed directory-level information. Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
| | * | | | fileapi: Re-organize backtrace infrastructureBrad King2021-03-161-34/+42
| | | | | | | | | | | | | | | | | | | | | | | | Make it available to more parts of the codemodel object.
| * | | | | Merge topic 'doc-flag-var-strings'Brad King2021-03-172-0/+5
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 95c50da8af Help: Document that CMAKE_<LANG>_FLAGS[_INIT] are strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5915
| | * | | | Help: Document that CMAKE_<LANG>_FLAGS[_INIT] are stringsAlexander Richardson2021-03-172-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #21944
| * | | | | Merge topic 'cmake-presets-host-system-name'Brad King2021-03-163-5/+27
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d497e159b CMakePresets.json: Add ${hostSystemName} macro 79d03ab505 Help: Fix version numbers in CMakePresets.json documentation 69527a1979 Refactor: Pass CMakePresets.json version to ExpandMacros() functions ad19da011d Refactor: Add cmSystemTools::GetSystemName() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5902
| | * | | | | CMakePresets.json: Add ${hostSystemName} macroKyle Edwards2021-03-152-0/+11
| | | | | | |
| | * | | | | Help: Fix version numbers in CMakePresets.json documentationKyle Edwards2021-03-151-5/+6
| | | | | | |
| | * | | | | Refactor: Add cmSystemTools::GetSystemName()Kyle Edwards2021-03-151-0/+10
| | |/ / / / | | | | | | | | | | | | | | | | | | And use it for CMAKE_HOST_SYSTEM_NAME and CMAKE_SYSTEM_NAME.
| * | | | | Merge topic 'doc-configure_file-cmakedefine01'Brad King2021-03-161-2/+24
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c13f75982f Help: Clarify configure_file #cmakedefine01 syntax and behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !5909
| | * | | | Help: Clarify configure_file #cmakedefine01 syntax and behaviorElsie Hupp2021-03-151-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21935
| * | | | | Merge topic 'vs-toolset-version'Brad King2021-03-152-0/+28
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30c835428f VS: Accept and translate '-T version=' values with three components 58a50a3a0a VS: Fix '-T version=14.28' under VS 16.9 09f59da7f0 cmGlobalVisualStudioVersionedGenerator: Clarify local variable name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5903
| * | | | | Merge topic 'add_prefix_cmake_option'Brad King2021-03-114-3/+109
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 400536c317 cmCommandLineArgument: trim leading empty spaces b227a9565e cmake: configure preset add support for --install-prefix mapping 38140713ad cmake: add support for --install-prefix command argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5843
| | * | | | | cmake: configure preset add support for --install-prefix mappingRobert Maynard2021-03-094-4/+102
| | | | | | |
| | * | | | | cmake: add support for --install-prefix command argumentRobert Maynard2021-03-042-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21781