summaryrefslogtreecommitdiff
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'find_item-doc-update'Brad King2022-05-191-0/+63
|\ | | | | | | | | | | | | 98af010b5c Help: Avoid duplicating registry query syntax in multiple find_* commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7278
| * Help: Avoid duplicating registry query syntax in multiple find_* commandsMarc Chevrier2022-05-181-0/+63
| | | | | | | | | | | | In commit 8d7e80cf3d (find_* commands: add control over Windows registry views, 2022-04-16) we added documentation that is repeated by multiple find commands. Move it to a dedicated manual section to avoid duplication.
* | Merge topic 'ignore-werror-command-arg'Brad King2022-05-191-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 65f7053d6c COMPILE_WARNING_AS_ERROR: Add command-line option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7268
| * | COMPILE_WARNING_AS_ERROR: Add command-line optionMartin Duffy2022-05-181-0/+5
| | | | | | | | | | | | | | | | | | | | | Add command-line option `--compile-no-warning-as-error` to ignore value of `COMPILE_WARNING_AS_ERROR`. Issue: #19085
* | | VERIFY_HEADER_SETS: Rename to VERIFY_INTERFACE_HEADER_SETSKyle Edwards2022-05-182-2/+2
| |/ |/| | | | | Issue: #23448
* | Merge topic 'try_compile-project-platform-vars'Brad King2022-05-172-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | a6562ff579 try_compile: Add option to skip passing platform variables 4843a37676 try_compile: Propagate platform variables in project-mode too Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7265
| * | try_compile: Add option to skip passing platform variablesBrad King2022-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | Add a `CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES` variable to tell `try_compile` not to pass platform variables to the test project. Issue: #23219
| * | try_compile: Propagate platform variables in project-mode tooBrad King2022-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add policy CMP0137 to propagate both our builtin variables and those listed by `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` to `try_compile` whole-project builds. Inspired-by: Alexander Neumann <Alexander.Neumann@hamburg.de> Fixes: #23219
* | | Merge topic 'CMAKE_PROJECT_TOP_LEVEL_INCLUDES'Brad King2022-05-161-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6c34b0353 project(): Add new CMAKE_PROJECT_TOP_LEVEL_INCLUDES file injection point 8aa29a1793 CMakeDetermineSystem: Remove unreachable code Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7250
| * | | project(): Add new CMAKE_PROJECT_TOP_LEVEL_INCLUDES file injection pointCraig Scott2022-05-131-0/+1
| | | | | | | | | | | | Fixes: #22685
* | | | Merge topic 'presets-pathListSep'Brad King2022-05-131-0/+11
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | ba969ce5fe cmake-presets: add ${pathListSep} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7234
| * | | cmake-presets: add ${pathListSep} macroErin Melucci2022-05-121-0/+11
| | | | | | | | | | | | | | | | Fixes: #23282
* | | | Merge topic 'werror-property'Brad King2022-05-102-0/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 76a08cd253 COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errors Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !7187
| * | | COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errorsMartin Duffy2022-05-062-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `COMPILE_WARNING_AS_ERROR` target property and supporting `CMAKE_COMPILE_WARNING_AS_ERROR` variable. `COMPILE_WARNING_AS_ERROR` is initialized by `CMAKE_COMPILE_WARNING_AS_ERROR`. It is a boolean variable. If it is true, it expands to a different flag depending on the compiler such that any warnings at compile will be treated as errors. Supports compiler ids that I could find a relevant flag for.
* | | | OpenWatcom: Allow specifying the runtime libraryCameron Cawley2022-05-063-0/+3
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Add a `CMAKE_WATCOM_RUNTIME_LIBRARY` variable to control the runtime library selection. Add policy CMP0136 to switch to in place of the old hard-coded default flags. Fixes: #23178
* | | Merge topic 'truncation_relnotes'Brad King2022-05-061-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99cad40172 Help: Document version of ctest(1) adding output truncation mode a6f2c13727 Help: Add release notes for test-output-truncation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7242
| * | | Help: Document version of ctest(1) adding output truncation modeBrad King2022-05-051-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | While at it, fix mode value markup. Issue: #23206
* | | | Merge topic 'FetchContent_find_package_integration'Craig Scott2022-05-061-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29e31e2825 Packages: Integrate FetchContent and find_package() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: huangqinjin <huangqinjin@gmail.com> Merge-request: !5688
| * | | | Packages: Integrate FetchContent and find_package()Craig Scott2022-05-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow FetchContent_MakeAvailable() to try a call to find_package() first, or redirect a find_package() call to FetchContent_MakeAvailable(). The user can set variables to control which of these are allowed or tried by default. Fixes: #21687
* | | | | Merge topic 'HelpExit'Brad King2022-05-051-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aea13d20b Help: for message(FATAL_ERROR), document nonzero exit code cc97725137 Help: document exit code of command cmake(1) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7175
| * | | | | Help: for message(FATAL_ERROR), document nonzero exit codeJoachim Wuttke (h)2022-05-051-2/+3
| | | | | |
| * | | | | Help: document exit code of command cmake(1)Joachim Wuttke (h)2022-05-041-0/+11
| | | | | |
* | | | | | Merge topic 'HelpEnv'Brad King2022-05-052-1/+11
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a693da21f3 Help: from command:if, link to environment variables ab2bdbaf31 Help: Cross-reference ENV operator from cmake-language(7) manual ee4e728a69 Help: From Environment Variables section, link to cmake -E env etc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7239
| * | | | | Help: Cross-reference ENV operator from cmake-language(7) manualJoachim Wuttke (h)2022-05-051-1/+2
| | | | | |
| * | | | | Help: From Environment Variables section, link to cmake -E env etcJoachim Wuttke (h)2022-05-052-0/+9
| |/ / / /
* | | | | Merge topic 'ExternalProject-no-extract-timestamp'Brad King2022-05-051-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a283e58b51 ExternalProject: Add DOWNLOAD_EXTRACT_TIMESTAMP option and policy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7137
| * | | | | ExternalProject: Add DOWNLOAD_EXTRACT_TIMESTAMP option and policyKasper Laudrup2022-05-051-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the option to keep the current filestamps when extracting an archive in ExternalProject_Add. Enabling this option makes the behavior consistent with how ExternalProject_Add is used when checking out code from revision control instead of an archive. Fixes: #22746
* | | | | CPack: Remove the deprecated PackageMaker generatorCraig Scott2022-05-051-1/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | This CPack generator has been deprecated since commit 7bf187499f (CPack: Deprecate PackageMaker generator, 2020-01-31). Fixes: #23344
* | | | find_* commands: add control over Windows registry viewsMarc Chevrier2022-04-291-0/+1
| |_|/ |/| | | | | | | | Fixes: #22775
* | | Merge topic 'doc-genex-REMOVE_DUPLICATES'Brad King2022-04-281-1/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 484b992f25 Help: Clarify which items are retained by $<REMOVE_DUPLICATES:...> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7217
| * | | Help: Clarify which items are retained by $<REMOVE_DUPLICATES:...>Craig Scott2022-04-281-1/+3
| |/ /
* | | Merge topic 'manual-fileset-for-header-only-libraries'Brad King2022-04-281-25/+26
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 4b25a0d512 Help/manual: Update header-only library example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7198
| * | Help/manual: Update header-only library exampleMartin Duffy2022-04-271-25/+26
| |/ | | | | | | | | | | | | Use target_sources with a named file set for the header-only library example in cmake-buildsystem7. Issue: #23400
* | Merge topic 'target-bundle-dir-name-genex'Brad King2022-04-261-6/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | 997af2e1a6 Genex: Add TARGET_BUNDLE_DIR_NAME 627b2eba6c Help: Make TARGET_BUNDLE[_CONTENT]_DIR examples more precise Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7177
| * | Genex: Add TARGET_BUNDLE_DIR_NAMEBen Leadbetter2022-04-221-0/+10
| | | | | | | | | | | | | | | | | | Evaluate to the name of the bundle directory for a given bundle target. Fixes: #23409
| * | Help: Make TARGET_BUNDLE[_CONTENT]_DIR examples more preciseBrad King2022-04-221-6/+8
| | | | | | | | | | | | | | | | | | | | | The `TARGET_BUNDLE_DIR` and `TARGET_BUNDLE_CONTENT_DIR` generator expressions produce absolute paths. Show them in the examples. Suggested-by: Ben Leadbetter <ben.leadbetter@native-instruments.com>
* | | Merge topic 'NO_CMAKE_INSTALL_PREFIX'Brad King2022-04-221-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 42f7e39789 Find: Support per call disabling of CMAKE_INSTALL_PREFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7163
| * | Find: Support per call disabling of CMAKE_INSTALL_PREFIXRobert Maynard2022-04-151-0/+1
| |/ | | | | | | Fixes #23359
* | Merge topic 'cpack-dmg-sla'Brad King2022-04-201-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | b760828d3f CPack/DMG: Do not use CPACK_RESOURCE_FILE_LICENSE for SLA by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7176
| * | CPack/DMG: Do not use CPACK_RESOURCE_FILE_LICENSE for SLA by defaultBrad King2022-04-141-0/+1
| |/ | | | | | | | | | | | | | | Since macOS 12.0 deprecated the tools needed to attach a SLA to a `.dmg`, we should no longer do this by default. Add a policy to change the default to off. Fixes: #22978
* | Merge topic 'vs-dotnet-startup-object'Brad King2022-04-201-0/+1
|\ \ | | | | | | | | | | | | | | | | | | d89af11f89 VS: Add StartupObject property for managed .NET projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7171
| * | VS: Add StartupObject property for managed .NET projectsFlorian Schweiger2022-04-121-0/+1
| |/
* | Merge topic 'target-runtime-dlls-doc'Brad King2022-04-201-7/+7
|\ \ | |/ |/| | | | | | | | | 692aacfc72 Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> doc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7186
| * Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> docKyle Edwards2022-04-191-7/+7
| |
| * Revert INTERFACE_LINK_LIBRARIES_DIRECT feature for 3.23 branchBrad King2022-03-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit f3ad061858 (Add usage requirements to update direct link dependencies, 2022-01-12, v3.23.0-rc1~44^2) and the property storage updates in its predecessor commit 193a999cd5 (cmTarget: Add INTERFACE_LINK_LIBRARIES_DIRECT{,_EXCLUDE} backtrace storage, 2022-01-06, v3.23.0-rc1~44^2~1) from the 3.23 release branch. After initial experience using the feature in practice, additional design considerations have been raised for discussion in the original issue. To avoid rushing this for the 3.23 series, we've decided to revert the feature for now so it can be revised for a future release. Issue: #22496
* | Merge topic 'adsp-platform-and-compilers'Brad King2022-04-063-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 87142bbd5f ADSP: Add dedicated platform module e9eabb0dcd ADSP: Configure compiler in compiler module 88b38f531a ADSP: Support both VDSP++ and CCES for ADSP compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7123
| * | ADSP: Add dedicated platform moduleChris Wright2022-04-043-0/+24
| | |
* | | xcode: add support for xcconfig filesGregor Jasny2022-04-032-0/+2
|/ / | | | | | | Fixes: #18420
* | Merge topic 'verify-header-sets'Brad King2022-03-302-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | c798744f81 FILE_SET: Add VERIFY_HEADER_SETS target property Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7085
| * | FILE_SET: Add VERIFY_HEADER_SETS target propertyKyle Edwards2022-03-292-0/+2
| | | | | | | | | | | | Fixes: #23338