summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* GenEx: Add support for custom transitive link propertiesBrad King2024-05-216-6/+53
| | | | | | | | | Teach the `$<TARGET_PROPERTY:...>` generator expression to check for a new `TRANSITIVE_LINK_PROPERTIES` property in the target's link closure to enable transitive evaluation of named properties through the link closure, including entries guarded by `$<LINK_ONLY:...>`. Fixes: #20416
* GenEx: Add support for custom transitive compile propertiesBrad King2024-05-215-0/+115
| | | | | | | | | Teach the `$<TARGET_PROPERTY:...>` generator expression to check for a new `TRANSITIVE_COMPILE_PROPERTIES` property in the target's link closure to enable transitive evaluation of named properties through the link closure, excluding entries guarded by `$<LINK_ONLY:...>`. Issue: #20416
* Help: Format TARGET_PROPERTY special evaluation rules as a definition listBrad King2024-05-211-16/+18
|
* Merge topic 'doc-macro'Brad King2024-05-211-1/+1
|\ | | | | | | | | | | | | | | 67171a99be Help: Fix inaccurate use of "function" in macro docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Juan Ramos <juan.ramos@kitware.com> Merge-request: !9534
| * Help: Fix inaccurate use of "function" in macro docsDave Abrahams2024-05-211-1/+1
| |
* | Merge topic 'typo-fix-issue'Brad King2024-05-201-1/+1
|\ \ | | | | | | | | | | | | | | | | | | ea544235e5 Tutorial: Fix grammar typo in Step 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9529
| * | Tutorial: Fix grammar typo in Step 11FrankYin2024-05-171-1/+1
| | | | | | | | | | | | Fix and improve wording in the "Adding Export Configuration" step.
* | | Merge topic 'cmp0097-fetchcontent'Brad King2024-05-201-3/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | eda17e76e2 Help: Document that CMP0097 is always NEW for FetchContent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9527
| * | | Help: Document that CMP0097 is always NEW for FetchContentCraig Scott2024-05-171-3/+12
| |/ / | | | | | | | | | Fixes: #25971
* | | Merge topic 'fetchcontent-direct'Craig Scott2024-05-183-0/+74
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bf15e49a8 ExternalProject: Fix misleading git update output b2496bf14c FetchContent: Populate directly without a sub-build 173daad58d ExternalProject: Move more internal commands out of main file 462e583267 ExternalProject: Switch download, update and patch to use _EP_ vars 0ccc8e340d ExternalProject: Provide ExternalProject_Add keywords through a macro 91e1015722 ExternalProject: Don't treat YES as a keyword a1743ce1ef ExternalProject: Fix minor formatting error Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9513
| * | FetchContent: Populate directly without a sub-buildCraig Scott2024-05-173-0/+74
| | | | | | | | | | | | Fixes: #21703
* | | Merge topic 'LINK_LIBRARY-Feature-properties'Brad King2024-05-166-0/+125
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6e5e7968c3 GenEx $<LINK_LIBRARY>: Add the support of properties attached to features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9510
| * | | GenEx $<LINK_LIBRARY>: Add the support of properties attached to featuresMarc Chevrier2024-05-156-0/+125
| | | | | | | | | | | | | | | | Fixes: #24504, #25954
* | | | Merge topic 'custom-command-output-hash-character'Brad King2024-05-161-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d2a503c1e add_custom_command: Allow OUTPUT filenames containing a hash '#' character b38000d774 cmGlobalXCodeGenerator: Re-implement legacy makefile path escaping d929089687 cmGlobalXCodeGenerator: Do not use legacy makefile escaping in shell commands d61fc2c52e cmGlobalXCodeGenerator: Migrate legacy makefile path escaping to local helper 6010e007c7 cmState: Add method to check for the Borland Makefiles generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9514
| * | | | add_custom_command: Allow OUTPUT filenames containing a hash '#' characterGlenn Coombs2024-05-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most generators now support this character after escaping and quoting cleanups over time. Disallow it only on generators that do support it. Fixes: #25604
* | | | | importstd: clarify when the experimental UUID must be availableBen Boeckel2024-05-151-1/+2
| | | | | | | | | | | | | | | | | | | | Fixes: #25980
* | | | | Merge topic 'FindPython-WIN32-DEBUG'Brad King2024-05-141-0/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c164404b2e FindPython: On Windows, Enhance python debug version support Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Osyotr <zhenchik35026@gmail.com> Merge-request: !9482
| * | | | | FindPython: On Windows, Enhance python debug version supportMarc Chevrier2024-05-091-0/+20
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following variables: * Python_EXECUTABLE_DEBUG * Python_INTERPRETER * Python_DEBUG_POSTFIX and target Python::InterpreterDebug. python_add_library() command Manage DEBUG_POSTFIX target property based on the value of Python_DEBUG_POSTFIX variable. Fixes: #25874
* | | | | Merge topic 'help-options'Brad King2024-05-141-2/+3
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | fc2bce54c7 Help: try_compile how to pass compiler options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9512
| * | | | Help: try_compile how to pass compiler optionsscivision2024-05-121-2/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | it wasn't obvious how to pass compiler options. Since the old add_definitions() is used we can workaround this by passing compiler options there.
* | | | Merge topic 'print-configure-generate-time'Brad King2024-05-131-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29404cfd92 cmake: Capture more complete configure/generate steps in printed durations f106df8f96 cmGlobalVisualStudio8Generator: Remove unused Configure method override Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9508
| * | | | cmake: Capture more complete configure/generate steps in printed durationsBrad King2024-05-101-0/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the start/end times from commit 5f0c5ec49b (cmake: Print configure/generate time, 2023-01-17, v3.26.0-rc1~67^2) to capture generator-specific Configure/Generate actions, and the time spent in the internal "Compute" step at the start of generation. Fixes: #25482
* | | | Merge topic 'doc-TARGET_PROPERTY-unset'Brad King2024-05-131-4/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | d6bda72981 Help: Document TARGET_PROPERTY genex behavior on unset property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9506
| * | | Help: Document TARGET_PROPERTY genex behavior on unset propertyBrad King2024-05-101-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Also add an explicit test for the case. Fixes: #25968
* | | | Tutorial: Set CPACK_GENERATOR in Step 9betsy.mcphail2024-05-095-4/+11
|/ / / | | | | | | | | | In addition to CPACK_SOURCE_GENERATOR also set CPACK_GENERATOR.
* | | Merge topic 'remove-vs9-generator'Brad King2024-05-0916-61/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 03c31b0395 Drop Visual Studio 9 2008 generator 88c70dde34 cmGlobalVisualStudioGenerator: Use member 'Version' more directly 0bdcf1cb17 cmLocalVisualStudio7Generator: Make vfproj conditions more explicit acc5ea7390 cmLocalVisualStudio7Generator: Reset per-target members after every target 252702bb35 cmVisualStudioGeneratorOptions: Order version check branches consistently Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9496
| * | | Drop Visual Studio 9 2008 generatorBrad King2024-05-0816-61/+25
| | | | | | | | | | | | | | | | This generator has been deprecated since CMake 3.27. Remove it.
* | | | Merge topic 'cmake-module-path-example'Brad King2024-05-091-1/+14
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 8763da8268 Help: Provide simple CMAKE_MODULE_PATH example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9498
| * | | Help: Provide simple CMAKE_MODULE_PATH exampleJuan Ramos2024-05-071-1/+14
| |/ /
* | | Help: Clarify TARGET_PROPERTY genex evaluation of transitive propertiesBrad King2024-05-071-12/+18
| | | | | | | | | | | | | | | | | | Regularize and fill out a documentation pattern from commit ddb9442f48 (GenEx: Fix TARGET_PROPERTY evaluation of transitive link properties, 2024-04-22).
* | | Help: Add intro text to cmake-buildsystem(7) build properties sectionsBrad King2024-05-071-0/+12
| |/ |/|
* | Merge branch 'release-3.29'Brad King2024-05-071-3/+3
|\ \ | |/ |/|
| * CMake 3.29.3v3.29.3Brad King2024-05-071-3/+3
| |
| * Merge branch 'release-3.28' into release-3.29Brad King2024-05-071-0/+6
| |\
* | \ Merge branch 'release-3.28'Brad King2024-05-071-0/+6
|\ \ \ | | |/ | |/|
| * | CMake 3.28.5v3.28.5Brad King2024-05-071-0/+6
| | |
* | | Merge topic 'FindBoost-remove'Brad King2024-05-063-0/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0355c4ea9 FindBoost: Add policy to remove this module Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Christoph GrĂ¼ninger <foss@grueninger.de> Merge-request: !9488
| * | | FindBoost: Add policy to remove this moduleBrad King2024-05-033-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream Boost 1.70 and above provide a proper `BoostConfig.cmake` package configuration file. Packages for all major distros now provide it in at least one LTS release. Add a policy to pretend that the `FindBoost` module does not exist so that projects calling `find_package(Boost)` use the upstream package directly. Closes: #19402
* | | | Help: Clarify cmake-buildsystem(7) compile properties section namesBrad King2024-05-033-13/+13
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 835f34949e (Help: Update cmake-buildsystem(7) build and usage requirements, 2024-04-23) we labeled the sections documenting `COMPILE_*` properties as "build properties". All the properties it documents are about compilation steps before linking, including the Autogen features for compiling Qt metadata, so rename the sections as "compile properties". This is also consistent with the name of the `$<COMPILE_ONLY:...>` generator expression.
* | | Merge topic 'vs-filter-props'Brad King2024-05-023-0/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56a96d1f1f VS: Add option to import .props in .vcxproj.filters files Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9478
| * | | VS: Add option to import .props in .vcxproj.filters fileshalx992024-05-013-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | Adds new target property VS_FILTER_PROPS Fixes: #25948
* | | | Merge topic 'FindOpenMP-runtime-msvc'Brad King2024-05-021-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b07c637e42 FindOpenMP: Add option to control OpenMP runtime with MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9475
| * | | | FindOpenMP: Add option to control OpenMP runtime with MSVCAxel Huebl2024-05-011-0/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | The MSVC compiler's `-openmp` flag accepts `:{experimental,llvm}` values. Add an option to specify one. Closes: #25570
* | | | Merge topic 'genex-link-properties'Brad King2024-05-015-10/+77
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ddb9442f48 GenEx: Fix TARGET_PROPERTY evaluation of transitive link properties 862b8e28ad GenEx: Teach TARGET_PROPERTY evaluation to optionally pierce LINK_ONLY 8d1d6a1437 Tests: Cover TARGET_PROPERTY genex evaluation of transitive link properties abf607c2ec Tests: Cover TARGET_PROPERTY genex evaluation of transitive build properties 7d3d728a72 Help: Clarify CMP0099 documentation and summary text 79a3ae9a0d cmGeneratorExpressionDAGChecker: Simplify transitive property table e8010b67c7 cmGeneratorExpressionDAGChecker: Make local generator available in constructor b36fb3f6f1 cmGeneratorExpressionNode: Remove outdated lint suppression Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9473
| * | | | GenEx: Fix TARGET_PROPERTY evaluation of transitive link propertiesBrad King2024-04-295-4/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit bbba701899 (Link properties: must be transitive over private dependency on static library, 2019-12-06, v3.17.0-rc1~323^2) and commit af9d4f24ae (Link properties: must be transitive over private dependency on static library, 2019-12-11, v3.17.0-rc1~305^2) we neglected to implement CMP0099 NEW behavior for `TARGET_PROPERTY` evaluation. Add policy CMP0166 to fix this.
| * | | | Help: Clarify CMP0099 documentation and summary textBrad King2024-04-292-6/+9
| |/ / /
* | | | Add CMAKE_<LANG>_STANDARD_LATEST variablesTyler2024-04-303-0/+70
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a variable to indicate the latest standard known to be supported for each language: * `CMAKE_C_STANDARD_LATEST` * `CMAKE_CXX_STANDARD_LATEST` * `CMAKE_CUDA_STANDARD_LATEST` * `CMAKE_HIP_STANDARD_LATEST` * `CMAKE_OBJC_STANDARD_LATEST` * `CMAKE_OBJCXX_STANDARD_LATEST` These variables, more generally referred to as `CMAKE_<LANG>_STANDARD_LATEST`, are assigned an integer value which represents the minimum between the latest version of the associated language standard supported by the current compiler and the latest version supported by CMake. Add documentation for these variables in a new page called `CMAKE_<LANG>_STANDARD_LATEST` was added under the "Variables for Languages" section of the `cmake-variables(7)` page. Update each compiler-specific CMake script under `${CMAKE_ROOT}\Modules\Compiler` to manually define the relevant `CMAKE_<LANG>_STANDARD_LATEST` variable as necessary. This will require updating and maintaining as newer compiler versions become recognized by CMake. Closes: #25717
* | | Merge topic 'help-fix-cmake_path-example'Craig Scott2024-04-281-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 769866163a Help: Fix cmake_path example Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9467
| * | | Help: Fix cmake_path exampleJuan Ramos2024-04-261-1/+1
| | | | | | | | | | | | | | | | Fixes: #25938
* | | | Help: CMP0135 applies to FetchContent as wellCraig Scott2024-04-272-10/+10
|/ / / | | | | | | | | | | | | | | | | | | | | | This updates the CMP0135 documentation, which should have been done as part of c2044fdf3f (FetchContent: Respect the CMP0135 policy setting, 2022-06-02). Issue: #23560