summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'document_find_package_version_restrictions'Craig Scott2021-09-111-5/+6
|\ | | | | | | | | | | | | 563139e5e9 Help: find_package document version only supports numeric components Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6510
| * Help: find_package document version only supports numeric componentsRobert Maynard2021-09-091-5/+6
| |
* | Merge topic 'vs_settings'Brad King2021-09-102-1/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | f21158cdfe VS: Honor VS_SETTINGS source file property on all sources 3bf013632d cmVisualStudio10TargetGenerator: Factor out helper to write VS_SETTINGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6492
| * | VS: Honor VS_SETTINGS source file property on all sourcesSteven Boswell2021-09-092-1/+11
| |/ | | | | | | | | | | Extend the feature added by commit 2ce42f281f (VS: Add VS_SETTINGS source file property, 2020-03-18, v3.18.0-rc1~449^2~3) to support all source file types.
* | Merge topic 'ctest-memcheck-generate-test.xml'Brad King2021-09-102-1/+8
|\ \ | |/ |/| | | | | | | | | | | ce44c2cec3 ctest_memcheck: generate `DynamicAnalysis-Test.xml` as well Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6491
| * ctest_memcheck: generate `DynamicAnalysis-Test.xml` as wellBen Boeckel2021-09-092-1/+8
| | | | | | | | | | | | | | This is useful so that memcheck results also show up as test results on CDash. It will be submitted with the other `MemCheck` parts. Fixes: #22190
* | Help: Mention that Qt6 is supported by AUTOGENJoerg Bornemann2021-09-063-10/+13
| | | | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | Help: Document that toolchain files may set implicit link informationBrad King2021-09-022-5/+33
| | | | | | | | | | | | Document in `CMAKE_<LANG>_IMPLICIT_LINK_{LIBRARIES,DIRECTORIES}` how their value is used and that a fallback value may be provided by a toolchain file.
* | Merge topic 'cmake-packages-pkg-cfg-file-example'Brad King2021-09-021-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | d186797cf6 Help: Fix regex in example of cmake-packages(7) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6489
| * | Help: Fix regex in example of cmake-packages(7) Johel Ernesto Guerrero Peña2021-08-281-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes it work as intended as opposed to make the condition always true. This can be confirmed by running the following script: ``` [johel@sundown tmp]$ cat x.cmake function(f) set(valid_inputs abc 123) foreach(input ${ARGV}) if(";${valid_inputs};" MATCHES input) message("old valid: ${input}") endif() if(";${valid_inputs};" MATCHES ";${input};") message("new valid: ${input}") endif() endforeach() endfunction() f("0;z;123;12;abc;ab;13;ac") set(_supported_components Plot Table) set(ClimbingStats_FIND_COMPONENTS Plot Table P T) foreach(_comp ${ClimbingStats_FIND_COMPONENTS}) if(NOT ";${_supported_components};" MATCHES _comp) message("old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE \"Unsupported component: ${_comp}\")") endif() if(NOT ";${_supported_components};" MATCHES ";${_comp};") message("new invalid: set(ClimbingStats_NOT_FOUND_MESSAGE \"Unsupported component: ${_comp}\")") endif() endforeach() [johel@sundown tmp]$ cmake -P x.cmake new valid: 123 new valid: abc old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: Plot") old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: Table") old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: P") new invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: P") old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: T") new invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: T") ```
* | Help: Fix terminology for regular expression in if(MATCHES)Johel Ernesto Guerrero Peña2021-08-281-1/+1
|/ | | | | This was wrongly changed in commit ba90611225 (Help: Make synopsis of if command more compact; add section headers, 2018-10-05).
* Merge topic 'vs2022'Brad King2021-08-252-3/+6
|\ | | | | | | | | | | | | c8ec137da7 VS: Update Visual Studio 17 2022 generator for Preview 3.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6480
| * VS: Update Visual Studio 17 2022 generator for Preview 3.1Brad King2021-08-252-3/+6
| | | | | | | | Issue: #22339
* | Merge topic 'find-package-note'Brad King2021-08-251-1/+1
|\ \ | | | | | | | | | | | | | | | | | | d7e521bcd3 Help: find_package: Tweak change description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6477
| * | Help: find_package: Tweak change descriptionFeRD (Frank Dana)2021-08-241-1/+1
| | |
* | | Merge topic 'host-distro-info'Brad King2021-08-242-39/+235
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9698f89df cmake_host_system_information: Make it available for all systems 5469c71a82 Refactor: Simplify `GetValue()` function calls 6c92f80f2e cmake_host_system_information: Also set `USED_FALLBACK_SCRIPT` efe139d1b8 cmake_host_system_information: Can run fallback scripts 1e65e4a6e5 cmake_host_system_information: Can read `/etc/os-release` file e808cbb1dd Testing: Convert `cmake_host_system_information` tests into `RunCMake` 9e831284e5 Documentation: Use definition list instead of tables 346f3de005 Refactor: Deduplicate code for `VS_nn_DIR` keys processing ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6410
| * | | cmake_host_system_information: Make it available for all systemsAlex Turbov2021-08-201-4/+2
| | | | | | | | | | | | | | | | Before it was Linux only.
| * | | cmake_host_system_information: Can run fallback scriptsAlex Turbov2021-08-201-0/+67
| | | |
| * | | cmake_host_system_information: Can read `/etc/os-release` fileAlex Turbov2021-08-202-0/+51
| | | |
| * | | Documentation: Use definition list instead of tablesAlex Turbov2021-07-301-39/+119
| | | | | | | | | | | | | | | | | | | | Transform tables into definition list for `cmake_host_system_information` command manual.
* | | | Help: get/set_property: Fix SOURCE grammarsFeRD (Frank Dana)2021-08-232-3/+3
| |/ / |/| |
* | | Merge topic 'GoogleTest-gtest-filter'Brad King2021-08-101-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ea6a7dd1c2 GoogleTest: Add TEST_FILTER arg to gtest_discover_tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6406
| * | | GoogleTest: Add TEST_FILTER arg to gtest_discover_testsAshish Sadanandan2021-08-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `TEST_FILTER` argument can be used to filter tests during the discovery phase. It combines `--gtest_filter=<expr>` with the `--gtest_list_tests` argument when invoking the test excutable for listing defined tests. Fixes: #17493
* | | | Merge topic 'symlinks-rebase-master'Brad King2021-08-105-0/+63
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 58d10cf6f1 Alternative symlink-creating mode for file(INSTALL ...) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6396
| * | | | Alternative symlink-creating mode for file(INSTALL ...)Felix Lelchuk2021-08-025-0/+63
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An new environment variable 'CMAKE_INSTALL_MODE' is introduced, which can be used to ask CMake to create symbolic links instead of copying files during a file(INSTALL ...). The operation is at the file level only, directory trees are still created using actual directories, not links. Signed-off-by: Felix Lelchuk <felix.lelchuk@gmx.de>
* | | | Merge topic 'doc-find_package-components'Craig Scott2021-08-091-5/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7d4567769 Help: Clarify find_package() component handling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !6436
| * | | | Help: Clarify find_package() component handlingCraig Scott2021-08-081-5/+20
| | |/ / | |/| | | | | | Fixes: #22513
* | | | Merge topic 'help_cmake_path'Brad King2021-08-091-2/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | bb19af546b Help: cmake_path: add missing parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6431
| * | Help: cmake_path: add missing parameterMichael Hirsch2021-08-061-2/+2
| | | | | | | | | | | | for cmake_path(`CONVERT` ... [NORMALIZE]) was missing in top summary
* | | Merge topic 'vs10-deprecate'Brad King2021-08-032-1/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 22dab6eb96 Deprecate Visual Studio 10 2010 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6412
| * | | Deprecate Visual Studio 10 2010 generatorBrad King2021-07-292-1/+13
| | | | | | | | | | | | | | | | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning.
* | | | Merge topic 'string-TIMESTAMP-specifier-V'Brad King2021-08-032-28/+68
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aafa392c12 string(TIMESTAMP): Add %V specifier for ISO 8601 week number a915f691ad Help: Format string(TIMESTAMP) format specifiers as a definition list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6374
| * | | | string(TIMESTAMP): Add %V specifier for ISO 8601 week numberAntons Jeļkins2021-08-022-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ISO 8601 weeks begin with Monday. The first week of the year is the week which contains the first Thursday of the year.
| * | | | Help: Format string(TIMESTAMP) format specifiers as a definition listBrad King2021-07-231-28/+58
| | | | | | | | | | | | | | | | | | | | Also fix the version that added `%A` and `%B`.
* | | | | Merge topic 'nsis_ignore_license_page'Brad King2021-08-032-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 795e406e3b CPack/NSIS: Add option to not display license page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6422
| * | | | | CPack/NSIS: Add option to not display license pageJohnny Jazeix2021-08-012-0/+12
| | |/ / / | |/| | | | | | | | | | | | | Fixes: #22215
* | | | | Merge topic 'minimal_nsis'Brad King2021-08-032-2/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c0572a15d6 CPack/NSIS: Bump minimal version of NSIS to 3.03 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6425
| * | | | | CPack/NSIS: Bump minimal version of NSIS to 3.03Johnny Jazeix2021-08-022-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22508
* | | | | | Merge topic 'cpack_deb_zstd'Brad King2021-08-032-4/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 051da997da CPack/DEB: Add zstd compression for deb packages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6394
| * | | | | | CPack/DEB: Add zstd compression for deb packagesRussell Greene2021-07-292-4/+23
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'help-get_filename_path-fix-version-changed'Brad King2021-08-031-1/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b28fe5670 Help: get_filename_component: fix version info for cmake_path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6423
| * | | | | Help: get_filename_component: fix version info for cmake_pathMarc Chevrier2021-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22505
| * | | | | Merge topic 'doc-dmg-filesystem' into release-3.21Craig Scott2021-08-021-0/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 03ddaf1763 Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6416
* | \ \ \ \ \ Merge topic 'cpack_debug_doc'Brad King2021-08-022-0/+13
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 008d55df76 CPack/DEB+RPM: Update documentation on debug symbol package creation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6393
| * | | | | | CPack/DEB+RPM: Update documentation on debug symbol package creationRussell Greene2021-07-292-0/+13
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update documentation to elaborate on the behavior between `.ddeb` creation, CPACK_STRIP_FILES, and if the files are actually stripped. Closes: #22438
* | | | | | Merge topic 'doc-dmg-filesystem'Craig Scott2021-08-021-0/+2
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 03ddaf1763 Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6416
| * | | | | Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEMCraig Scott2021-07-311-0/+2
| | | | | |
* | | | | | Merge topic 'doc-presets-toolchain-file'Craig Scott2021-08-021-2/+3
|\ \ \ \ \ \ | | |_|/ / / | |/| | / / | |_|_|/ / |/| | | | | | | | | | | | | | ca371d3a14 Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6417
| * | | | Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILECraig Scott2021-07-311-2/+3
| |/ / /
* | | | Merge topic 'cuda_separable_clang_make'Brad King2021-07-291-0/+6
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | | | | | | | 3975678fcc CUDA/Clang: Simplify --register-link-binaries logic 0b1cea66cd CUDA/Clang: Fix separable compilation in non-root directories with Makefiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6400