summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix typo in CMAKE_PKG_CONFIG_PC_PATH docs權少2025-03-261-1/+1
|
* PkgC: Document cmake variablesVito Gamberini2025-03-195-0/+40
|
* Help: CMAKE_LANG_LINK_MODE: clarify usage.Marc Chevrier2025-03-022-0/+4
|
* Add CMAKE_POLICY_VERSION_MINIMUM environment variableBrad King2025-02-201-0/+4
| | | | | | | | | Extend commit 1a35351125 (Add CMAKE_POLICY_VERSION_MINIMUM to help configure outdated projects, 2025-02-13, v4.0.0-rc1~12^2) with an environment variable to initialize the cache entry. That will make it easier to use when `cmake` is invoked under layers of scripting. Closes: #26715
* Merge topic 'policy-version-var' into release-4.0Brad King2025-02-142-0/+26
|\ | | | | | | | | | | | | | | | | | | 1a35351125 Add CMAKE_POLICY_VERSION_MINIMUM to help configure outdated projects d723198539 Help: De-duplicate policy version documentation e5d29e9e00 Help: Drop cmake_minimum_required pre-2.4 behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !10343
| * Add CMAKE_POLICY_VERSION_MINIMUM to help configure outdated projectsBrad King2025-02-132-0/+26
| | | | | | | | | | | | | | Provide packagers and end users with a way to try configuring projects that have not been updated to set their policy version to a supported level. Closes: #26698
* | Help: Link CMAKE_CURRENT_LIST_(DIR|FILE|LINE) to/from FUNCTION-equivalentsAlex Neundorf2025-02-136-8/+15
|/
* AIX: Add platform id variables 'AIX' and 'CMAKE_HOST_AIX'Aditya Vidyadhar Kamath2025-02-072-0/+12
| | | | | | This allows projects to use `if(AIX)` blocks instead of spelling out `if(CMAKE_SYSTEM_NAME STREQUAL "AIX")`. We already have similar variables for many other platforms.
* Help: Update Sphinx versionadded directives for 4.0 releaseBrad King2025-02-051-1/+1
| | | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.31.0 --overwrite Manually renumber `3.32` to `4.0` since the script is meant for minor version increments. Also filter out changes to documents that were added for long-existing variables.
* Help: Fix typos in RST found by the `rst-backticks` hookAlex Turbov2025-02-021-1/+1
|
* Help: Remove accidental blockquotes around listsNikita Nemkin2025-01-311-3/+3
| | | | | | Indenting a list relative to the previous paragraph creates a blockquote. Combined with the natural list indent it results in an overly large left margin.
* Help: Convert some literal blocks into tables and listsNikita Nemkin2025-01-313-30/+47
| | | | Also, ensure that header-less tables have a top border in cmake.css.
* Merge topic 'msvc-runtime-checks'Brad King2025-01-302-1/+37
|\ | | | | | | | | | | | | | | | | | | 2b2344b412 MSVC: Add abstraction for runtime checks 49dcd1ce5d Help: Fix MSVC_DEBUG_INFORMATION_FORMAT description of example 2f8e643d9d CMP0141: Fix documentation copied from CMP0091 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !10214
| * MSVC: Add abstraction for runtime checksAJIOB2025-01-291-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded default for `/RTC1` with a first-class abstraction to select runtime checks from an enumeration of logical names. Add a `MSVC_RUNTIME_CHECKS` target property and corresponding `CMAKE_MSVC_RUNTIME_CHECKS` variable. Removing the old default flag requires a policy because existing projects may rely on string processing to edit them and choose runtime checks under the old behavior. Add policy CMP0184 to provide compatibility. Fixes: #26614
| * Help: Fix MSVC_DEBUG_INFORMATION_FORMAT description of exampleAJIOB2025-01-241-1/+1
| |
* | Merge topic 'cmake_sarif_output'Brad King2025-01-301-0/+81
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | abbe41578d cmake: Add SARIF diagnostics output support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !10139
| * | cmake: Add SARIF diagnostics output supportDaniel Tierney2025-01-291-0/+81
| |/ | | | | | | Closes: #26587
* | Help: More syntax highlighting for literal blocksNikita Nemkin2025-01-294-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Covers almost all blocks containing actual code, except: * Parsed-literal blocks can't be highlighted, including many command summaries and substitution-heavy docs like find_... commands. This is a Sphinx limitation. * Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES, DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the tutorial, bracket arguments/comments in cmake-language.7 and cmake-developer.7. * FindQt4 module, which needs reformatting.
* | Merge topic 'fix-typos-found-by-pygrep-hooks'Brad King2025-01-288-11/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | bc4c71627a Help: Fix typos found by the `rst-backticks` hook c833629508 Help: Fix typos found by the `rst-directive-colons` hook Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10237
| * | Help: Fix typos found by the `rst-backticks` hookAlex Turbov2025-01-265-8/+8
| | | | | | | | | | | | | | | | | | | | | The corresponding `pre-commit` configuration is coming in the separate MR. Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
| * | Help: Fix typos found by the `rst-directive-colons` hookAlex Turbov2025-01-263-3/+3
| |/ | | | | | | | | | | | | The corresponding `pre-commit` configuration is coming in the separate MR. Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
* | Merge topic 'patch-CMAKE_OBJDUMP'Brad King2025-01-271-0/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | dc7aabf4d0 Help: Document CMAKE_OBJDUMP variable 4bd3519e89 CPack: Avoid mentioning internal CMake module in documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10224
| * | Help: Document CMAKE_OBJDUMP variablePeter Kokot2025-01-241-0/+16
| |/
* | Linker configuration: rely now on CMAKE_<LANG>_LINK_MODE variable.Marc Chevrier2025-01-262-7/+31
|/ | | | | | CMake now provides the CMAKE_<LANG>_LINK_MODE variable which specify how the link step is done. So, the CMAKE_<LANG>_USING_LINKER_MODE variable is no longer needed.
* Merge topic 'remove-old-compatibility'Brad King2025-01-232-10/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77f71ad4e2 Remove compatibility with CMake versions older than 3.5 fb1bd1d330 CMP0065: Remove support for OLD behavior d9dd38cccf CMP0064: Remove support for OLD behavior d88047c329 Remove compatibility with CMake versions older than 3.3 ac1a9cb160 CMP0063: Remove support for OLD behavior 36fffb673a CMP0062: Remove support for OLD behavior 789a7d73d4 CMP0061: Remove support for OLD behavior 3dc19e24cb CMP0060: Remove support for OLD behavior ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10210
| * CMP0065: Remove support for OLD behaviorBrad King2025-01-221-2/+2
| |
| * CMP0060: Remove support for OLD behaviorBrad King2025-01-222-6/+6
| |
| * CMP0056: Remove support for OLD behaviorBrad King2025-01-211-2/+2
| |
* | Merge topic 'CMAKE_LANG_DEVICE_LINK_MODE'Brad King2025-01-221-0/+12
|\ \ | | | | | | | | | | | | | | | | | | 53de9d0125 Introduce CMAKE_<LANG>_DEVICE_LINK_MODE variable. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10209
| * | Introduce CMAKE_<LANG>_DEVICE_LINK_MODE variable.Marc Chevrier2025-01-211-0/+12
| |/ | | | | | | This is a complement to commit 00932ea864 (Introduce CMAKE_<LANG>_LINK_MODE variable., 2025-01-09)
* | Help: Document CTEST_EXTRA_SUBMIT_FILES variableBrad King2025-01-211-0/+5
| |
* | Help: Document CTEST_NOTES_FILES variableBrad King2025-01-211-0/+5
|/
* CMP0047: Remove support for OLD behaviorBrad King2025-01-191-2/+2
|
* CMP0025: Remove support for OLD behaviorBrad King2025-01-191-2/+2
|
* CMP0001: Remove support for OLD behaviorBrad King2025-01-171-1/+1
|
* Renumber post-3.31 development from 3.32 to 4.0Brad King2025-01-169-9/+9
| | | | Issue: #26613
* Merge topic 'execute-process-error'Brad King2025-01-161-0/+9
|\ | | | | | | | | | | | | | | 3ece058d97 execute_process: Allow setting default COMMAND_ERROR_IS_FATAL value 85035dd954 Help/command/execute_process: Fix definition list formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10169
| * execute_process: Allow setting default COMMAND_ERROR_IS_FATAL valueMartin Duffy2025-01-151-0/+9
| | | | | | | | Issue: #26576
* | Help: CMAKE_POSITION_INDEPENDENT_CODE is ignored for some targetsAndreas Hartmetz2025-01-141-3/+3
| | | | | | | | | | | | SHARED and MODULE library targets have POSITION_INDEPENDENT_CODE default to TRUE regardless of CMAKE_POSITION_INDEPENDENT_CODE.
* | Merge topic 'patch-CMAKE_SCRIPT_MODE_FILE'Brad King2025-01-141-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 8ad171553b Help: Add _See Also_ to CMAKE_SCRIPT_MODE and CMAKE_ROLE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10166
| * | Help: Add _See Also_ to CMAKE_SCRIPT_MODE and CMAKE_ROLEPeter Kokot2025-01-121-0/+5
| |/
* | Merge topic 'fix-typos-found-by-pre-commit-hooks'Brad King2025-01-141-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d620d77d26 FindDoxygen: Rename `_Doxygen_dne_header` -> `_Doxygen_do_not_edit_header` e7ff3cccea PushToAndroidDevice.cmake: Rename `cmake_parse_arguments` prefix bc8621d999 Fix: A lot of typos in code found by `typos` b33beb7af5 Help: Fix some typos found by `sphinx-lint` 78e45c2db6 Style: Replace TABs with spaces for indentation in some files 74e0173f66 Tests(NuGet): Fix the test to ignore empty and space-only lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10151
| * | Help: Fix some typos found by `sphinx-lint`Alex Turbov2025-01-121-1/+1
| |/ | | | | | | | | | | | | Particularly, - Avoid TABs in RST docs. - Avoid words ending w/ hyphen at the right side of pharagraphs.
* | Merge topic 'xcode-scheme-test-config'Brad King2025-01-131-0/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7d28005244 Xcode: Support for test action 'Build Configuration' scheme property 1f4e1ccbc8 Help: Move launch config scheme property to the correct section 8aaae0f643 vim: Remove duplicated keywords from cmake.vim Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10154
| * | Xcode: Support for test action 'Build Configuration' scheme propertyCristiano Carvalheiro2025-01-091-0/+12
| |/ | | | | | | | | Also allow scoped property checking on Xcode scheme tests to be able to distinguish between launch and test actions build config.
* | Introduce CMAKE_<LANG>_LINK_MODE variable.Marc Chevrier2025-01-101-0/+12
|/ | | | | | This variable define how the link step is done. Possible values are: * DRIVER: the compiler is used as driver for the link step * LINKER: the linker is used directly for the link step.
* Help: LINK_LIBRARY:WHOLE_ARCHIVE clarificationMarc Chevrier2024-12-191-2/+12
| | | | Fixes: #26540
* Merge topic 'rename-cmakelists'Brad King2024-12-181-0/+23
|\ | | | | | | | | | | | | | | | | fcbc883fa3 cmake: Allow configuration of default script names Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !10059
| * cmake: Allow configuration of default script namesMartin Duffy2024-12-171-0/+23
| | | | | | | | | | | | | | | | Adds the ``--project-file`` command-line option to modify the default script name loaded by CMake and ``add_subdirectory`` to values other than ``CMakeLists.txt``. Fixes: #21570
* | Merge topic 'xcode-scheme-lldb-init-file'Brad King2024-12-161-0/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 419cfe30d0 Xcode: Support for 'LLDB Init File' scheme property 65ad1bbd4c vim: Remove duplicated keywords from cmake.vim a96d6a98d3 Tests/RunCMake/XcodeProject: Improve XcodeSchemaProperty failure messages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10093