summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Propagate platform variables in project-mode tooBrad King2022-05-165-0/+52
| | | | | | | | | 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 'stl-containers-helpers'Brad King2022-05-101-9/+95
|\ | | | | | | | | | | | | 95a1b2c7b8 stl containers: enhance compatibility with C++14, C++17 and C++20 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7244
| * stl containers: enhance compatibility with C++14, C++17 and C++20Marc Chevrier2022-05-071-9/+95
| | | | | | | | | | | | * Ensure various functions working with containers are available through all headers as specified by the standard. * Add C++20 std::ssize() function.
* | Merge topic 'werror-property'Brad King2022-05-105-0/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-065-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Support CMAKE_WATCOM_RUNTIME_LIBRARY with Linux and OS/2 buildsCameron Cawley2022-05-064-6/+10
| | |
* | | OpenWatcom: Allow specifying the runtime libraryCameron Cawley2022-05-069-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | 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-062-2/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Help: Add release notes for test-output-truncationFrank Winklmeier2022-05-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Add missing release notes for test-output-truncation. Issue: #23206
* | | | Merge topic 'FetchContent_find_package_integration'Craig Scott2022-05-064-9/+76
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-034-9/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-052-0/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-052-2/+6
| | | | |
| * | | | Help: document exit code of command cmake(1)Joachim Wuttke (h)2022-05-041-0/+11
| | | | |
* | | | | Merge topic 'HelpEnv'Brad King2022-05-054-5/+17
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: from command:if, link to environment variablesJoachim Wuttke (h)2022-05-051-2/+3
| | | | |
| * | | | Help: Cross-reference ENV operator from cmake-language(7) manualJoachim Wuttke (h)2022-05-052-3/+5
| | | | |
| * | | | Help: From Environment Variables section, link to cmake -E env etcJoachim Wuttke (h)2022-05-052-0/+9
| |/ / /
* | | | Merge topic 'cpack-wix-arch'Brad King2022-05-052-0/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cae7e5e38d CPack/WIX: Add CPACK_WIX_ARCHITECTURE to support Windows for ARM installers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7236
| * | | | CPack/WIX: Add CPACK_WIX_ARCHITECTURE to support Windows for ARM installersjakoblover2022-05-052-0/+15
| | | | |
* | | | | Merge topic 'ExternalProject-no-extract-timestamp'Brad King2022-05-053-0/+38
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-043-0/+38
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge topic 'remove-PackageMaker-generator'Brad King2022-05-056-91/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c150f89f4d CPack: Remove the deprecated PackageMaker generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7221
| * | | | | CPack: Remove the deprecated PackageMaker generatorCraig Scott2022-05-046-91/+11
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This CPack generator has been deprecated since commit 7bf187499f (CPack: Deprecate PackageMaker generator, 2020-01-31). Fixes: #23344
* | | | | Merge topic 'chsi-windows_registry-updates'Brad King2022-05-042-2/+10
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 0c33f12a39 cmake_host_system_information(WINDOWS_REGISTRY) updates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7229
| * | | | cmake_host_system_information(WINDOWS_REGISTRY) updatesMarc Chevrier2022-05-012-2/+10
| |/ / / | | | | | | | | | | | | | | | | * add a cross-reference in 'get_filename_component()' documentation * rework tests for better 32bit systems support
* | | | Merge topic 'find_item-query-windows-registry'Brad King2022-05-0312-9/+184
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d7e80cf3d find_* commands: add control over Windows registry views 08941a9a40 cmWindowsRegistry: Add helper for conversion between string and enum View 769f25aa3c cmWindowsRegistry: enhance unicode conversions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7211
| * | | | find_* commands: add control over Windows registry viewsMarc Chevrier2022-04-2912-9/+184
| |/ / / | | | | | | | | | | | | Fixes: #22775
* | | | Merge topic 'restore-CPACK_PACKAGEMAKER_CHOICES'Brad King2022-05-032-0/+71
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d099136add productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7220
| * | | | productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variableCraig Scott2022-04-292-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 2a8df7e7db (productbuild: Don't write rootVolumeOnly attribute if writing domains, 2022-03-21), the variable holding the main contents of the distribution.dist XML file was renamed from CPACK_PACKAGEMAKER_CHOICES to CPACK_APPLE_PKG_INSTALLER_CONTENT. This reflected the fact that the PackageMaker generator is deprecated. The new variable also includes more details than the old one held. Some projects were relying on the old variable name, so we need to still set that to the same contents as it would have previously provided. Neither of these variables were previously documented, but the older variable was mentioned in enough semi-official places that it essentially became semi-supported. Document both variables and highlight that the older one is deprecated. Fixes: #23467
* | | | | Merge topic 'cpp-modules-prep'Brad King2022-05-031-1/+8
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5b56b35c2 cmInstallExportGenerator: expose the temporary directory c107760417 cmNinjaTargetGenerator: support msvc-style deps discovery for scanning 64c15ec018 cmNinjaTargetGenerator: add flags for scanning based on the fileset type aaa18f15cf cmTarget: add support for querying all file set names cc4e19710d cmGlobalNinjaGenerator: use an extention based on the modmapfmt 97a68198c9 cmGlobalNinjaGenerator: escape `:` in module names 499009b79c cmTarget: avoid creating export entries if they don't exist 0513a1fe10 cmInstallGenerator: use CMake-private variables in generated code ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7214
| * | | | cmNinjaTargetGenerator: support msvc-style deps discovery for scanningBen Boeckel2022-04-271-1/+3
| | | | |
| * | | | cmNinjaTargetGenerator: add flags for scanning based on the fileset typeBen Boeckel2022-04-271-0/+5
| | |/ / | |/| |
* | | | Merge topic 'doc-cmake.org-tutorial-archive'Brad King2022-04-292-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cb616fed6 Tutorial: Provide a source archive when published on cmake.org 37fb70591e Utilities/Sphinx: Add variables listing pre-sphinx commands eb7d913a21 Utilities/Sphinx: Clarify names of variables listing post-sphinx commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7215
| * | | | Tutorial: Provide a source archive when published on cmake.orgBrad King2022-04-282-2/+6
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide readers following the tutorial on `cmake.org` a direct link to download the tutorial's source examples. Previously readers had to fetch the CMake source tree separately and look for the tutorial source examples inside it. Fixes: #22475
* | | | 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
* | | | cm::enum_set: container that contains a set of unique enum values.Marc Chevrier2022-04-271-0/+5
| |/ / |/| | | | | | | | The enum must be an `enum class` with an unsigned integer as base type.
* | | Merge topic 'target-bundle-dir-name-genex'Brad King2022-04-263-6/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-223-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | 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 'verify-header-sets-doc-clarification'Brad King2022-04-221-8/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fe0e3627c VERIFY_HEADER_SETS: Clarify that header sets must be PUBLIC or INTERFACE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7195
| * | | | VERIFY_HEADER_SETS: Clarify that header sets must be PUBLIC or INTERFACEKyle Edwards2022-04-211-8/+9
| |/ / /
* | | | Merge topic 'NO_CMAKE_INSTALL_PREFIX'Brad King2022-04-2211-6/+70
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1511-6/+70
| | | | | | | | | | | | | | | | | | | | Fixes #23359
* | | | | Merge topic 'wrong-header-referenced-in-guide'Brad King2022-04-221-2/+3
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | 27589da705 Help/guide: Fix wrong header file reference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7196
| * | | Help/guide: Fix wrong header file referenceMartin Duffy2022-04-211-2/+3
| | | | | | | | | | | | | | | | | | | | Step 2 references mysqrt.h instead of MathFunctions.h. MathFunctions/mysqrt.h doesn't exist until Step 9.