summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* Link feature attributes: stabilizationMarc Chevrier2024-06-213-23/+24
| | | | | * enhance OVERRIDE handling * Update wording
* Help: Improve link library feature properties docsCraig Scott2024-06-154-103/+115
|
* Merge topic 'dep-provider-try_compile'Brad King2024-05-311-4/+7
|\ | | | | | | | | | | | | | | 4cb5bb014d try_compile: Propagating top level includes into whole-project calls Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !9532
| * try_compile: Propagating top level includes into whole-project callsCraig Scott2024-05-301-4/+7
| | | | | | | | Fixes: #24151
* | Merge topic 'msvc-v143-versions'Brad King2024-05-301-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 3873574f89 Help: Update MSVC_VERSION range for VS 17.10's MSVC 14.40 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9554
| * | Help: Update MSVC_VERSION range for VS 17.10's MSVC 14.40 toolsetBrad King2024-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to this blog post: * https://devblogs.microsoft.com/cppblog/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10/ the 14.40 through 14.49 version range will be used by the v143 toolsets. Fixes: #26015
* | | HIP: Populate CMAKE_HIP_KNOWN_FEATURES global propertyBrad King2024-05-281-0/+13
| |/ |/| | | | | Fixes: #26013
* | GenEx $<LINK_LIBRARY>: Add the support of properties attached to featuresMarc Chevrier2024-05-154-0/+116
| | | | | | | | Fixes: #24504, #25954
* | Merge topic 'remove-vs9-generator'Brad King2024-05-094-4/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-084-4/+3
| | | | | | | | | | | | This generator has been deprecated since CMake 3.27. Remove it.
* | | Help: Provide simple CMAKE_MODULE_PATH exampleJuan Ramos2024-05-071-1/+14
|/ /
* | Add CMAKE_<LANG>_STANDARD_LATEST variablesTyler2024-04-301-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 '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-191-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-181-0/+4
| |/ / | | | | | | | | | Signed-off-by: Alexander Borsuk <me@alex.bio>
* | | cxxmodules: provide a detection variable for `import std`Ben Boeckel2024-04-181-0/+14
|/ /
* | Experimental: add an experimental feature gate for `import std`Ben Boeckel2024-04-121-0/+5
| |
* | cmTarget: support the `CXX_MODULE_STD` propertyBen Boeckel2024-04-111-0/+10
| |
* | Merge topic 'swift-linker-selection'Brad King2024-04-031-17/+22
|\ \ | |/ | | | | | | | | | | 3fb4092826 Swift: Add CMAKE_LINKER_TYPE support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9380
| * Swift: Add CMAKE_LINKER_TYPE supportEvan Wilde2024-04-021-17/+22
| | | | | | | | | | | | Extend commit 96a953b1ed (Add options to specify linker tool, 2023-09-27, v3.29.0-rc1~577^2) with the `CMAKE_Swift_USING_LINKER_*` variables needed to support `CMAKE_LINKER_TYPE` for Swift.
| * Merge topic 'doc-vsfortran' into release-3.29Brad King2024-04-012-6/+6
| |\ | | | | | | | | | | | | | | | | | | 7fa0057c74 Help: emphasize need for VS Integrations with oneAPI Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9387
* | \ Merge topic 'tls-verify'Brad King2024-04-012-3/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7139944264 ctest: Fall back to CMake environment variable for TLS server verification c295df53c6 ctest: Test fallback to CMake options for TLS server verification 0d250dd021 ExternalProject: Honor CMAKE_TLS_VERIFY environment variable e8404502b1 ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION pattern 46faaf9667 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable 8b0169fe2b file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variable 93886f5c7d file(DOWNLOAD|UPLOAD): Avoid unnecessary CMAKE_TLS_VERIFY variable lookup bed32f400e file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variable ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9389
| * | | ctest: Fall back to CMake environment variable for TLS server verificationBrad King2024-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `ENV{CMAKE_TLS_VERIFY}` if `CTEST_TLS_VERIFY` or `CMAKE_TLS_VERIFY` is not set. Issue: #23608
| * | | file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variableBrad King2024-03-301-1/+3
| | | | | | | | | | | | | | | | Issue: #23608
* | | | Merge topic 'doc-vsfortran'Brad King2024-04-012-6/+6
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | 7fa0057c74 Help: emphasize need for VS Integrations with oneAPI Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9387
| * | Help: emphasize need for VS Integrations with oneAPI Fortranscivision2024-03-292-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Be more explicit that VS Integration is required to use Intel Fortran with MSVC. It is common that users do not have VS Integration installed because oneAPI is then only usable with a narrow range of MSVC versions, even when oneAPI is used by itself with MSVC as the required backend. Without VS Integration, a wide range of MSVC versions work as the backend to oneAPI on Windows.
* | | Merge topic 'doc-linker-vars'Brad King2024-03-276-61/+69
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 6ba2bbc0f3 Help: Restructure and improve LINKER_TYPE docs c39bc6e412 Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flags 1c7ccefd83 Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE> aecea7b28b Help: Grammar, typos and wording improvements for linker variables 5b21897c6e Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9362
| * | Help: Restructure and improve LINKER_TYPE docsCraig Scott2024-03-252-32/+33
| | |
| * | Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flagsCraig Scott2024-03-251-2/+4
| | |
| * | Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE>Craig Scott2024-03-251-0/+8
| | |
| * | Help: Grammar, typos and wording improvements for linker variablesCraig Scott2024-03-255-27/+24
| |/
* | Merge topic 'doc-project-include-vars-3.29'Brad King2024-03-184-4/+8
|\ \ | |/ | | | | | | | | | | | | dcb894fb00 Help: Update project() code injection for new 3.29 include behavior 09cf39ab07 Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9343
| * Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29Craig Scott2024-03-164-4/+8
| |
| * Merge topic 'LINKER_TYPE-mold-support' into release-3.29Brad King2024-03-141-0/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
* | \ Merge topic 'LINKER_TYPE-mold-support'Brad King2024-03-141-0/+6
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | 801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
| * | LINKER_TYPE: Document that linker tool should be in the PATHMarc Chevrier2024-03-121-0/+6
| | | | | | | | | | | | Issue: #25748
* | | Merge topic 'ctest-tls-options'Brad King2024-03-135-7/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aeb8bcc055 ctest: Fall back to CMake options for TLS version 56e319ce4a ctest: Fall back to CMake options for TLS server verification 6671f17f65 ctest: Add explicit options for TLS version 0aba13a2f3 ctest: Add explicit options for TLS server verification 51728a6dd3 CTest: Create scope to isolate defaults for DartConfiguration.tcl 8a3a486fb5 cmCTestCurl: Factor out helper struct for curl options 7f668bb94f cmCTestCurl: Use inline member initialization add81210df cmCurl: Assert that we cover all TLS versions supported by our vendored curl ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9318
| * | | ctest: Fall back to CMake options for TLS versionBrad King2024-03-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `CMAKE_TLS_VERSION` or `ENV{CMAKE_TLS_VERSION}` if `CTEST_TLS_VERSION` is not set. Issue: #25701
| * | | ctest: Fall back to CMake options for TLS server verificationBrad King2024-03-121-0/+3
| | | | | | | | | | | | | | | | Use `CMAKE_TLS_VERIFY` if `CTEST_TLS_VERIFY` is not set.
| * | | ctest: Add explicit options for TLS versionBrad King2024-03-121-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a dedicated `TLSVersion` ctest option and a `CTEST_TLS_VERSION` variable to control it. Issue: #25701
| * | | ctest: Add explicit options for TLS server verificationBrad King2024-03-122-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Add a dedicated `TLSVerify` ctest option and a `CTEST_TLS_VERIFY` variable to control it. Deprecate `CurlOptions` because it exposes internal implementation details.
| * | | Help: Factor out CMAKE_TLS_VERSION allowed valuesBrad King2024-03-122-7/+8
| | | |
* | | | Merge topic 'export-find_dependency-calls'Brad King2024-03-131-1/+3
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | 3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9336
| * | EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gateBrad King2024-03-121-1/+3
| |/ | | | | | | | | | | | | Some design concerns have been raised after trying the 3.29 release candidates. Avoid committing to a stable public interface for now. Issue: #25767
* | Merge topic 'doc-https'Brad King2024-03-082-6/+6
|\ \ | |/ | | | | | | | | | | 53a542936e Help: Convert http URLs to https Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9313
| * Help: Convert http URLs to httpsscivision2024-03-072-6/+6
| |
* | ExternalProject: Add TLS version options for https connectionsBrad King2024-02-291-0/+4
| | | | | | | | | | | | | | Add a `TLS_VERSION` option and honor `CMAKE_TLS_VERSION` variables. Also map the version to Git options as we already do for `TLS_VERIFY`. Issue: #25701
* | file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variableBrad King2024-02-281-0/+2
| | | | | | | | Issue: #25701
* | file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION variableBrad King2024-02-281-0/+17
| | | | | | | | Issue: #25701