summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | Merge topic 'doc-genex'Brad King2024-04-253-35/+82
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 263f6b888c Help: Document TARGET_PROPERTY genex handling of transitive properties f70eb84be7 Help: Clarify role of TARGET_NAME generator expression 36145e2680 Help: Organize target-dependent generator expressions into subsections 50eadd794e Help: Clarify cross-references to target-dependent generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9460
| * | | Help: Document TARGET_PROPERTY genex handling of transitive propertiesBrad King2024-04-251-5/+33
| | | |
| * | | Help: Clarify role of TARGET_NAME generator expressionBrad King2024-04-251-4/+6
| | | |
| * | | Help: Organize target-dependent generator expressions into subsectionsBrad King2024-04-251-19/+36
| | | |
| * | | Help: Clarify cross-references to target-dependent generator expressionsBrad King2024-04-253-7/+7
| | | |
* | | | Merge topic 'help.file'Brad King2024-04-251-318/+324
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | d2d2ffe1c1 Help: file: document GET_RUNTIME_DEPENDENCIES separately Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Juan Ramos <juan.ramos@kitware.com> Merge-request: !9456
| * | | Help: file: document GET_RUNTIME_DEPENDENCIES separatelyJoachim Wuttke (h)2024-04-241-318/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved documentation of file(GET_RUNTIME_DEPENDENCIES ...) from the 'Reading' section to a separate section at the bottom of the page. Because it is a very long text, and because this signature is quite different from all the others in the 'Reading' section.
* | | | Help: Fix link in cmake-buildsystem(7)Brad King2024-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | One local cross-reference added by commit 835f34949e (Help: Update cmake-buildsystem(7) build and usage requirements, 2024-04-23) had incorrect syntax.
* | | | Help: Update cmake-buildsystem(7) build and usage requirementsBrad King2024-04-2413-97/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-organize the section to explicitly describe target-specific commands, build properties, and usage requirement properties. Add builtin transitive properties that have been created since the document was first written.
* | | | Help: Document when AUTOUIC_OPTIONS properties were addedBrad King2024-04-232-0/+4
|/ / /
* | | Merge topic 'doc-install-prefix-override-default'Brad King2024-04-221-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 062c9dda89 Help: update CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9445
| * | | Help: update CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULTEtienne Doms2024-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | Suggests to override CMAKE_INSTALL_PREFIX value with set_property(CACHE) instead of set(FORCE).
* | | | Merge topic 'doc-objc-lang-flags'Brad King2024-04-194-0/+34
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 31e6017bb6 Help: Document ObjC/ObjC++ flag variables Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9437
| * | | | Help: Document ObjC/ObjC++ flag variablesAlexander Borsuk2024-04-184-0/+34
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Borsuk <me@alex.bio>
* | | | | cxxmodules: provide a detection variable for `import std`Ben Boeckel2024-04-183-0/+18
| |/ / / |/| | |
* | | | Merge topic 'doc-ObjC-17-23'Brad King2024-04-171-0/+10
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | 84f1eb64f3 Help/OBJC_STANDARD: Document Objective C17 and C23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9439