summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'CheckPIESUpported-supports-SYSROOT'Brad King2022-01-201-0/+6
|\ | | | | | | | | | | | | | | | | 219dde4ea8 CheckPIESupported: now uses any SYSROOT settings 4fa105d34e Check{Compiler,Linker}Flag: Add possibility to retrieve check outputs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6877
| * CheckPIESupported: now uses any SYSROOT settingsMarc Chevrier2022-01-191-0/+6
| | | | | | | | Fixes: 23053
* | Merge topic 'ccmake-windows'Brad King2022-01-201-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e674e02c55 Help: Add release note for experimental ccmake support on Windows 5c9310c714 ci: Enable ccmake on Windows 9278c6e01a ccmake: Add Windows support using PDCurses b97c12babb ccmake: Refactor resizing logic into cmCursesForm bf11dab49d ccmake: Refactor BUILD_CursesDialog option logic bf94e01348 cmpdcurses: Add CMake build system 89703bc941 Merge branch 'upstream-PDCurses' into update-pdcurses f84c4112c3 PDCurses 2021-12-08 (f1cd4f45) ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6832
| * | Help: Add release note for experimental ccmake support on WindowsBrad King2022-01-191-0/+6
| | |
* | | Merge topic 'cmake-presets-include-outside-project-dir'Brad King2022-01-201-4/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c2d234bc9 CMakePresets: Allow files included from CMakePresets.json to be anywhere Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !6867
| * | | CMakePresets: Allow files included from CMakePresets.json to be anywhereKyle Edwards2022-01-191-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | There are some valid use cases for allowing these files to be outside the project directory. Relax the restriction, and include a strong warning in the documentation.
* | | | Merge topic 'cpack-dmg-sla'Brad King2022-01-192-0/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e38bfa915 CPack/DMG: Add explicit option to use CPACK_RESOURCE_FILE_LICENSE for SLA 542ba6ac1a Tests: Add CPack/DMG case covering SLA from CPACK_RESOURCE_FILE_LICENSE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6876
| * | | | CPack/DMG: Add explicit option to use CPACK_RESOURCE_FILE_LICENSE for SLABrad King2022-01-182-0/+30
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since macOS 12.0, the ``hdiutil udifrez`` and ``hdiutil udifderez`` commands to embed and extract resources in a disk image are deprecated. The CPack DragNDrop Generator uses these to attach the SLA specified by the `CPACK_RESOURCE_FILE_LICENSE` option. Since that option is shared by multiple CPack generators, we cannot deprecate it. Instead, add an explicit option to control the behavior. This will give projects a way to package on future macOS versions that remove the commands. In order to provide a long-term transition away from attaching SLAs to disk images, update `cpack` to default this behavior to OFF. To retain compatibility for CMake projects, teach the CPack module to default the option to ON. Later a policy can be added to change the default. Issue: #22978
* | | | Merge topic 'define-property-optional-args'Brad King2022-01-192-2/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | edb5059216 define_property(): Make BRIEF_DOCS and FULL_DOCS optional 7d26baff46 cmDefinePropertyCommand: Refactor to use cmArgumentParser Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6875
| * | | | define_property(): Make BRIEF_DOCS and FULL_DOCS optionalKyle Edwards2022-01-182-2/+7
| |/ / / | | | | | | | | | | | | Issue: #20698
* | | | Merge topic 'depfile-parsing-update'Brad King2022-01-191-4/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 0b65a2b253 add_custom_command(DEPFILE): ensure all dependencies are taken into account e04a352cca Depfile parsing: enhance compatibility with GNU Make Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6861
| * | | Depfile parsing: enhance compatibility with GNU MakeMarc Chevrier2022-01-161-4/+3
| | | |
* | | | Merge topic 'cuda_host_env'Brad King2022-01-182-5/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70f5d9eb49 CUDA: Fix CMAKE_CUDA_COMPILER_ARG1 cache description ad6cd1074b Help: Correct CUDAHOSTCXX and CUDAARCHS as having higher precedence Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6872
| * | | | Help: Correct CUDAHOSTCXX and CUDAARCHS as having higher precedenceRaul Tambre2022-01-152-5/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For CUDAHOSTCXX the behaviour seems to have been like this since the introduction of it in commit 9cf5b98d ("CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX.", 2016-11-08) and is likely unintentional judging by the wording of the commit. The documentation mistake seems to be a copy-paste error from when all the environment variables were documented in commit e6b77c5f ("Help: Document CMake's environment variables", 2017-09-01). Describe this explicitly as it is unlike all other similar environment variables. For CUDAARCHS we got it wrong from the get-go in commit c4ae9384 ("CUDA: Initialize CMAKE_CUDA_ARCHITECTURES using $ENV{CUDAARCHS}", 2020-11-24). Correcting either to follow the more standard precedence behaviour will require a policy. Fixes #23081.
* | | | Merge topic 'doc-internal-linker-preference'Brad King2022-01-183-2/+6
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | d2efc90598 Help: Move linker preference variables to the internal section Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6871
| * | | Help: Move linker preference variables to the internal sectionCraig Scott2022-01-153-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These probably should not have been documented as public variables to begin with. But since they have been documented for a long time, we can't just remove them from the docs. Move them to the internal section instead to make it clearer that they are not intended to be used directly by projects.
* | | | Merge topic 'doc-LANG_STANDARD_REQUIRED'Craig Scott2022-01-152-5/+18
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | acd65d78c4 Help: Actual language standard can be higher than <LANG>_STANDARD Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6870
| * | | Help: Actual language standard can be higher than <LANG>_STANDARDCraig Scott2022-01-142-5/+18
| |/ / | | | | | | Fixes: #22885
* | | Help: Document formatting of DEPRECATION target propertyBrad King2022-01-131-0/+5
|/ / | | | | | | Also add a test case to verify it.
* | Merge topic 'cudatoolkit_find_cufft_static_nocallback'Brad King2022-01-131-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | a4126d1c01 CUDAToolkit: Add CUDA::cufft_static_nocallback target Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6856
| * | CUDAToolkit: Add CUDA::cufft_static_nocallback targetRobert Maynard2022-01-121-0/+5
| |/ | | | | | | Fixes: #23098
* | Merge topic 'ide_guide'Brad King2022-01-132-0/+30
|\ \ | |/ |/| | | | | | | | | 6a5936c596 Help: Add IDE Integration Guide section on IDEs supporting CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6851
| * Help: Add IDE Integration Guide section on IDEs supporting CMakeSemyon Kolton2022-01-122-0/+30
| |
* | Help: add_custom_command: describes depfile formatMarc Chevrier2022-01-111-3/+42
| |
* | Merge topic 'cmake-presets-include'Brad King2022-01-104-4/+54
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26a5512c0f CMakePresets: Add include field a239f23a98 Refactor: Generalize file graph in CMakePresets 84d440caac Refactor: Split JSON processing into configure, build, and test presets fd6ea2f67f Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraph Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6829
| * | CMakePresets: Add include fieldKyle Edwards2022-01-074-4/+54
| | | | | | | | | | | | Fixes: #21331
* | | Guide: Recommend -C for IDE presets instead of -DKyle Edwards2022-01-071-0/+6
| | | | | | | | | | | | Issue: #23083
* | | CPack/productbuild: add options to control domains elementDavid Wosk2022-01-062-0/+49
|/ / | | | | | | | | | | | | | | | | The domains element determines the required authorization level needed for the install. The auth attribute of the pkg-ref element has been deprecated in favor of domains, so if the domains options are specified, the auth attribute is omitted. Fixes: #23030
* | Help: Non-zero floating point numbers are true in if() expressionsCraig Scott2022-01-031-1/+2
| | | | | | Fixes: #22991
* | Merge topic 'vs-csharp-dotnet-sdk'Brad King2021-12-225-0/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 0eea32a376 VS: Add DOTNET_SDK property to generate SDK-style C# projects a450cc9533 VS: Set ResolveNugetPackages to false for ALL_BUILD and ZERO_CHECK fa76e5d194 cmVisualStudio10TargetGenerator: Factor out helper for classic MSBuild project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6634
| * | VS: Add DOTNET_SDK property to generate SDK-style C# projectsSumit Bhardwaj2021-12-215-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | Changes in cmVisualStudio10TargetGenerator::Generate to write .Net SDK-style project for VS generators VS 19 and above. Also adds documentation and tests. Issue: #20227
* | | Merge topic 'doc-list-non-existent'Brad King2021-12-221-3/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b573a732dc Tests: add tests to check claims in the documentation b151db01f9 Help: mention non-existent case for list(PREPEND) b3a249c2cb Help: clarify range for list(INSERT), mention nonexistent / empty case b6fdcb3df0 Help: clarify description of list(INSERT) e55f473ea9 Help: clarify that list(APPEND) on a non-existent list creates it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6824
| * | | Help: mention non-existent case for list(PREPEND)Adriaan de Groot2021-12-211-1/+3
| | | |
| * | | Help: clarify range for list(INSERT), mention nonexistent / empty caseAdriaan de Groot2021-12-211-1/+6
| | | |
| * | | Help: clarify description of list(INSERT)Adriaan de Groot2021-12-211-1/+1
| | | | | | | | | | | | | | | | Since the argument is called 'index', use that in the description.
| * | | Help: clarify that list(APPEND) on a non-existent list creates itAdriaan de Groot2021-12-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is hinted-at in the introduction, which mentions creating a new variable value in the current scope, but let's make it explicit. Fixes: #22910
* | | | Merge topic 'link-only-targets'Brad King2021-12-226-0/+76
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37af6c3311 target_link_libraries: Optionally require only target names 5134f099a3 cmGeneratorTarget: Factor out message about reasons for a missing target 37a25072ea Tests: Rename RunCMake.{CMP0028 => LinkItemValidation} Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6821
| * | | | target_link_libraries: Optionally require only target namesBrad King2021-12-206-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optionally verify that items in `LINK_LIBRARIES` and `INTERFACE_LINK_LIBRARIES` that can be target names are actually target names. Add a `LINK_LIBRARIES_ONLY_TARGETS` target property and corresponding `CMAKE_LINK_LIBRARIES_ONLY_TARGETS` variable to enable this new check. Fixes: #22858
* | | | | FindGLUT: Provide modern-named GLUT_INCLUDE_DIRS result variableBrad King2021-12-201-0/+7
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Previously this module only provided `GLUT_INCLUDE_DIR`, which does not follow the modern naming convention documented in `cmake-developer(7)`. Issue: #23018
* | | | Merge topic 'doc-if-defined'Brad King2021-12-201-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a45e922768 Help: Clarify behavior of if(DEFINED) for cache and non-cache variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6817
| * | | | Help: Clarify behavior of if(DEFINED) for cache and non-cache variablesCraig Scott2021-12-201-1/+10
| |/ / / | | | | | | | | Fixes: #23023
* | | | Help: Clarify CMP0126 OLD behavior for FORCE and INTERNALCraig Scott2021-12-201-0/+3
|/ / / | | | | | | Fixes: #23022
* | | cmake: Add filtered debug-find optionsJohn Parent2021-12-172-0/+24
|/ / | | | | | | | | | | | | | | | | | | Add a `--debug-find-pkg=` option to debug find calls for specific packages. Add a `--debug-find-var=` option to debug find calls for specific return variables. Fixes: #21880
* | Help/dev: Cover module function naming in CMake Documentation GuideBrad King2021-12-081-4/+57
| |
* | Merge topic 'ifw-sign-installer'Brad King2021-12-022-0/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | e8e07a90c1 CPackIFW: add support for signing the generated app bundles on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6754
| * | CPackIFW: add support for signing the generated app bundles on macOSErlend E. Aasland2021-11-222-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Adds the CPACK_IFW_PACKAGE_SIGNING_IDENTITY CPackIFW variable. This variable mirrors the --sign option of the binarycreator tool. Fixes: #22927
* | | Merge topic 'tutorial-cpack-source-archive'Brad King2021-12-016-2/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39c410624a Tutorial: in step 7, disambiguate installed/source archive 44c527bc63 Tutorial: Package only one source archive Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6765
| * | | Tutorial: in step 7, disambiguate installed/source archiveJoachim Wuttke (h)2021-11-301-1/+5
| | | |
| * | | Tutorial: Package only one source archiveJoachim Wuttke (h)2021-11-306-1/+7
| | | |
* | | | Merge topic 'tutorial-install-arg-order'Brad King2021-12-012-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4f524797dc Tutorial: Order install(TARGETS) EXPORT option consistently with docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6770