summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge topic 'vs-UseDebugLibraries'Brad King2024-02-231-2/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 721d8b192a VS: Add UseDebugLibraries to vcxproj files by default 47136b6959 VS: Suppress more MSBuild defaults affected by UseDebugLibraries 82a174182a cmVisualStudioGeneratorOptions: Add UsingDebugRuntime method f498032141 cmVisualStudioGeneratorOptions: Rename {IsDebug => UsingDebugInfo} Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9275
| * | VS: Add UseDebugLibraries to vcxproj files by defaultBrad King2024-02-221-2/+3
| | | | | | | | | | | | | | | | | | | | | Use heuristics to select a reasonable value. Add policy CMP0162 to provide compatibility with existing projects. Fixes: #25327
* | | Merge topic 'doc-BUILD_SHARED_LIBS-top-level'Brad King2024-02-221-0/+9
|\ \ \ | | |/ | |/| | | | | | | | | | | | | fb14a54a25 Help: Advise calling option(BUILD_SHARED_LIBS) early enough Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9280
| * | Help: Advise calling option(BUILD_SHARED_LIBS) early enoughCraig Scott2024-02-211-0/+9
| | | | | | | | | | | | | | | | | | | | | Amends 01e33df83f (Help: Modernize BUILD_SHARED_LIBS documentation, 2024-02-21) to highlight that BUILD_SHARED_LIBS needs to be set early enough to prevent different behavior between the first and subsequent runs.
* | | Merge topic 'doc-BUILD_SHARED_LIBS'Brad King2024-02-211-6/+30
|\ \ \ | |/ / | | / | |/ |/| | | | | 01e33df83f Help: Modernize BUILD_SHARED_LIBS documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9278
| * Help: Modernize BUILD_SHARED_LIBS documentationBrad King2024-02-211-6/+30
| | | | | | | | | | | | | | Previously the documentation used long-outdated terminology from CMake's early days. Issue: #25699
* | VS: Add [CMAKE_]VS_USE_DEBUG_LIBRARIES options to control UseDebugLibrariesBrad King2024-02-191-0/+28
|/ | | | | | | This indicates to MSBuild which configurations are considered debug configurations. This is useful for reference both by humans and tools. Issue: #25327
* TIClang: Add support for TI Clang-based compilers, including tiarmclangAlan Phipps2024-02-091-0/+2
| | | | | | | | Add TIClang compiler ID and support in compiler modules. Update documentation. Add rudimentary RunCMake test for TIClang to test basic functionality. Fixes: #24619
* Merge topic 'doc-autogen' into release-3.29Brad King2024-02-082-8/+14
|\ | | | | | | | | | | | | | | ccaf529c4e Autogen: Update Documentation 16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9223
| * Autogen: Update DocumentationOrkun Tokdemir2024-02-082-8/+14
| | | | | | | | | | | | | | * Add Qt 6 to documentation * Add explanation about `<ORIGIN>_autogen_timestamp_deps` Fixes: #25201
* | Help: Document CMAKE_SYSTEM_NAME possible valuesPeter Kokot2024-02-052-0/+85
|/ | | | Fixes: #21489
* cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variableSilvio Traversaro2024-01-302-5/+17
| | | | Fixes: #25023
* Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATORBrad King2024-01-292-7/+10
| | | | | | | | Evaluate generator expressions in these properties, as they apply to `add_test`, `add_custom_command`, and `add_custom_target`. The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs at configure time and so cannot support generator expressions.
* Merge topic 'autogen-exe-per-config'Brad King2024-01-181-0/+10
|\ | | | | | | | | | | | | | | | | 596e84b0d5 NinjaMultiConfig: Update tests for the new dependency change 7c39dabdbc Autogen: AUTO*_EXECUTABLE: add support for per-config values Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8919
| * Autogen: AUTO*_EXECUTABLE: add support for per-config valuesOrkun Tokdemir2024-01-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Per-config values were added to `AUTO*_EXECUTABLE`. * Dependency order was refactored for `cmake_autogen` and `cmake_autorcc` to avoid unnecessary rebuilds. * A new parameter was added for `cmake_autogen` and `cmake_autorcc` to specify the config name of the `auto*_executable` to be used. * Add `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` target property to change the behavior of the dependency graph. * The timestamp target is split into three targets for per-config to avoid redundant `mocs_compilation` builds when `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON * Per-config `DEP_FILE_RULE_NAME` values were added to `AutogenInfo.json` for `Multi-Config` usage. * Some functions were refactored to avoid code duplication. This commit reimplements fddd0f0443b4ce81d61f15ee1b2f13105967b25a Fixes: #20074
* | Help: Drop incorrect versionadded mark from CMAKE_MATCH_<n>Brad King2024-01-091-2/+0
|/ | | | | | | It was added by commit 496ec6036f (Help: Add Sphinx 'versionadded' directives to each top-level document, 2020-07-06, v3.19.0-rc1~558^2) because the document happened to be added during the 3.9 release series, but the variable has existed since the beginning.
* Merge topic 'cmake-test-launcher'Brad King2023-12-151-0/+16
|\ | | | | | | | | | | | | | | | | | | | | 88863d83d6 fileapi: Add test launcher to codemodel-v2 1ec0372ed4 add_test: Optionally use a launcher for tests running in-project targets 478a5f4e04 fileapi: Make launcher attribute 'arguments' optional b44e38a397 cmFileAPICodemodel: Add missing std::move() Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8963
| * add_test: Optionally use a launcher for tests running in-project targetsRalf Habacker2023-12-131-0/+16
| | | | | | | | | | | | | | Add a `CMAKE_TEST_LAUNCHER` variable and corresponding `TEST_LAUNCHER` target property. Issue: #23672
* | Merge topic 'compute-compiler-linker'Brad King2023-12-091-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | df025444b2 LinkerId: Identify AIX and SunOS system linkers c1e48a19a5 LinkerId: Try multiple flags to detect linker id and version 1e42a0cf18 LinkerId: Match linker id and version more robustly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9057