summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'sphinx-linkcheck' into release-3.25Brad King2022-11-081-3/+3
|\ | | | | | | | | | | | | | | 435b0c573c Help: Fix some redirects reported with sphinx linkcheck ac5295a9de Help: Fix broken external links found by sphinx linkcheck Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7876
| * Help: Fix some redirects reported with sphinx linkcheckAlex Turbov2022-11-071-3/+3
| | | | | | | | Mostly it's about replace `http:` with `https:` protocol.
* | Tasking: Update CMAKE_TASKING_TOOLSET documentationChristoph Seitz2022-11-071-4/+7
|/ | | | | | | Clarify the relationship between the compiler version and toolset/architecture. Fixes: #24117
* Help: Add more CLI `:option:` references to various pagesAlex Turbov2022-10-203-3/+3
|
* Merge topic 'doc-flag-init' into release-3.25Brad King2022-10-181-1/+9
|\ | | | | | | | | | | | | e0075799ed Help: Clarify how language-specific flag environment values are used Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7804
| * Help: Clarify how language-specific flag environment values are usedBrad King2022-10-181-1/+9
| | | | | | | | | | | | | | | | | | Previous the wording could be interpreted to mean that the environment variables like `CXXFLAGS` are used exclusively to initialize the corresponding cache entries like `CMAKE_CXX_FLAGS`. State clearly that the value will be used in combination with builtin defaults. Issue: #23956
* | Help: Clarify historical-only role of CMAKE_ANDROID_API variableBrad King2022-10-171-3/+4
|/ | | | | | | | | Revise documentation added by commit 6b84df8da9 (Help: Document cross compiling for Android, 2016-06-20, v3.7.0-rc1~229^2~2) to avoid implying that `CMAKE_ANDROID_API` is interchangeable with `CMAKE_SYSTEM_VERSION`. The latter is the authoritative value of the Android API level. Issue: #23830
* Help: Minor grammar, typo and formatting cleanupsCraig Scott2022-10-091-1/+1
|
* Help: Re-sort property, variable and compiler id listsCraig Scott2022-10-091-1/+1
|
* Help: Disambiguate cmake(1) program modes in Sphinx option referencesBrad King2022-10-056-8/+8
| | | | | | Define the entry point to each mode as an option for the `cmake` program, but reference the options for that mode as part of stand-in `cmake-<mode>` programs.
* Drop Visual Studio 10 2010 generatorBrad King2022-09-263-3/+3
| | | | This generator has been deprecated since CMake 3.22. Remove it.
* Genex LINK_LIBRARY: Add support for framework with postfixMarc Chevrier2022-09-211-2/+7
|
* Merge topic 'add_tasking_compiler'Brad King2022-09-152-0/+33
|\ | | | | | | | | | | | | 94df5b6ef1 Tasking: Add support for several compiler toolsets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7491
| * Tasking: Add support for several compiler toolsetsChristoph Seitz2022-09-142-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the Tasking compiler toolset: * TriCore Compiler Toolset 6.3 (with TriCore, ARM, MCS, 8051 and PCP architecture compilers) * SmartCode Compiler Toolset 10.1 (with TriCore, ARC, MCS, 8051 architecture compilers) * ARM Compiler 6.0 * MCS Complier 3.3 * 8051 Compiler 7.2 Fixes: #23756
* | Merge topic 'MsvcDebugInformationFormatAbstraction'Brad King2022-09-141-0/+36
|\ \ | |/ |/| | | | | | | | | | | | | a858466aac MSVC: Add test for debug information format 0e96a20478 MSVC: Add abstraction for debug information format d4c8111da4 Clang/Windows: Clarify name of internal runtime library flags variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7606
| * MSVC: Add abstraction for debug information formatGlen Chung2022-09-141-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded default for `/Zi` with a first-class abstraction to select the debug information format an enumeration of logical names. We've long hesitated to do this because the idea of "debug information format" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flag requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0141 to provide compatibility. Fixes: #10189
* | LINUX: Set CMAKE_HOST_LINUX variable when running on a Linux hostCristian Adam2022-09-091-0/+6
| | | | | | | | Relates: #23840
* | BSD: Set CMAKE_HOST_BSD variable on a BSD hostCristian Adam2022-09-051-0/+7
| | | | | | | | | | | | Also the BSD variable will be set in CMake scripting mode (-P). Relates: #23853
* | BSD: Only use BSD as variable for target BSD systemCristian Adam2022-09-055-25/+2
|/ | | | | | | Instead of having multiple boolean variables, we only have one string variable: BSD with the name of the target BSD system. Relates: #23853
* Merge topic 'xcode-add-gpu-validation-and-default-configuration'Brad King2022-08-313-0/+38
|\ | | | | | | | | | | | | | | | | 740bee97bd Xcode: Add settings to control a scheme's launch configuration 39456c70e1 Xcode: Add settings to control a scheme's GPU Validation values 4034272ed8 gitignore: Tell Git to ignore the .cache/ directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7581
| * Xcode: Add settings to control a scheme's launch configurationPatriceJiang2022-08-301-0/+12
| |
| * Xcode: Add settings to control a scheme's GPU Validation valuesPatriceJiang2022-08-302-0/+26
| |
* | Merge topic 'CMAKE_FIND_USE_INSTALL_PREFIX-support-staging-prefix'Brad King2022-08-311-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 0fc10bb19b CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX 43d31c5198 cmFindBase: Refactor CMAKE_FIND_USE_INSTALL_PREFIX handling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7623
| * | CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIXRobert Maynard2022-08-301-1/+2
| | | | | | | | | | | | Fixes #23900
* | | Help:CMAKE_[CTEST,CPACK]_COMMAND]: correct copy-paste errorMichael Hirsch2022-08-252-6/+6
| | |
* | | Help:CMAKE_EXPORT_COMPILE_COMMANDS: link to Ninja GeneratorsMichael Hirsch2022-08-251-1/+1
| | | | | | | | | | | | compile_commands.json is generated for Ninja and Ninja Multi-Config
* | | Merge topic 'bsd-variables'Craig Scott2022-08-225-0/+30
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | a20d7a9707 BSD: Set *BSD variables when targeting a *BSD system 2ae42d0aa3 kFreeBSD: Do not unset LINUX variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7573
| * | BSD: Set *BSD variables when targeting a *BSD systemCristian Adam2022-08-205-0/+30
| | | | | | | | | | | | Fixes: #23853
* | | Merge topic 'doc-compiler-id-table'Brad King2022-08-161-37/+54
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a8430527f3 Help: `CMAKE_<LANG>_COMPILER_ID` turn code block into table Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7567
| * | | Help: `CMAKE_<LANG>_COMPILER_ID` turn code block into tableAlex Turbov2022-08-151-37/+54
| |/ /
* | | Merge topic 'doc-cmake-cli-options'Brad King2022-08-164-4/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0224576995 Help: Replace `cmake -P` option mentions w/ Sphinx role 1b94770f27 Help: Insert link to `cmake --toolchain` option 2c54cd871a Help: Turn items of presets manual page into description list e2198fd9dc Help: Format `-Werror`/`-Wno-error` in the way it can be referenced a6070b480f Help: Use placeholder instead of listing choices in option lines 8ba20cb56f Help: Simplify `cmake --log-level` option definition 146e4e6bad Help: Split `ctest` options into groups like `cmake` man page has 4c1008d739 Help: Use `:option:` role to reference `ctest` options ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7554
| * | Help: Replace `cmake -P` option mentions w/ Sphinx roleAlex Turbov2022-08-144-4/+4
| | |
* | | variable: Set LINUX variable on Linux target systemsCristian Adam2022-08-111-0/+6
|/ / | | | | Fixes: #23840
* | Merge topic 'doc-markup-program-options'Brad King2022-08-0818-24/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6abdf6c8f Help: Consistent options declaration -- short first, then long f4563f05db Help: Value for `--graphviz=` option actually is mandatory 04843d743e Help: Replace a bunch of more ``--option`` to `:option:` role 09446266ee Help: Replace mentions of ``-D`` option with :option:`-D` role b57f27b087 Help: Replace mentions of ``-T`` and ``-A`` options with role d25b232dee Help: Replace mentions of ``-G`` option with :option:`-G` role 63940e1cab Help: Replace mentions of ``-C`` option with :option:`-C` role 183a49cbfe Help: Replace mentions of ``-S`` option with :option:`-S` role ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7544
| * | Help: Replace a bunch of more ``--option`` to `:option:` roleAlex Turbov2022-08-0412-17/+23
| | |
| * | Help: Replace mentions of ``-D`` option with :option:`-D` roleAlex Turbov2022-08-042-2/+3
| | |
| * | Help: Replace mentions of ``-T`` and ``-A`` options with roleAlex Turbov2022-08-043-4/+4
| | |
| * | Help: Replace mentions of ``-S`` option with :option:`-S` roleAlex Turbov2022-08-041-1/+1
| | |
* | | Merge topic 'fetchcontent-set-CMAKE_VERIFY_INTERFACE_HEADER_SETS'Brad King2022-08-041-1/+23
|\ \ \ | |/ / |/| / | |/ | | | | | | 2a9cc3e8e8 FetchContent: Disable header set verification for dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7535
| * FetchContent: Disable header set verification for dependenciesCraig Scott2022-08-031-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CMAKE_VERIFY_INTERFACE_HEADER_SETS variable is intended to be under the control of the user. It doesn't discriminate between header sets defined in the main project and those defined by dependencies brought into the build directly via FetchContent. Developers will usually only be interested in verifying the main project's header sets, not those from dependencies. Make the variable effectively only enable header set verification of the main project by turning it off during FetchContent_MakeAvailable() calls. The user still has variables like CMAKE_PROJECT_INCLUDE and CMAKE_PROJECT_<projectName>_INCLUDE available to them if they want to enable verification of all or specific dependencies respectively. Fixes: #23808
| * Merge topic 'doc-LINK_LIBRARY_genex' into release-3.24Craig Scott2022-07-0310-263/+286
| |\ | | | | | | | | | | | | | | | | | | d185f7c0a8 Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7413
* | \ Merge topic 'doc-LINK_LIBRARY_genex'Craig Scott2022-07-0310-263/+286
|\ \ \ | | |/ | |/| | | | | | | | | | | | | d185f7c0a8 Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7413
| * | Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docsCraig Scott2022-07-0310-263/+286
| | | | | | | | | | | | | | | | | | | | | These changes restructure the docs to improve readability and flow, correct grammar and typos, and fix errors and inconsistencies in some of the examples. Fixes: #23684
* | | Merge topic 'log_level_command'Brad King2022-06-291-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23bbac941a Add cmake_language(GET_MESSAGE_LOG_LEVEL) sub command 2b6ef864e0 Move LogLevel enum out of cmake.h header Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7348
| * | | Add cmake_language(GET_MESSAGE_LOG_LEVEL) sub commandAlexandru Croitor2022-06-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new sub-command writes a string representation of the current log level to the output variable given to the sub-command. Given that the log-level might be set either via the --log-level command line option or via the CMAKE_MESSAGE_LOG_LEVEL cache / regular variables, the priority for each of the log level sources is as follows, with the first one being the highest: 1) --log-level 2) CMAKE_MESSAGE_LOG_LEVEL regular variable 3) CMAKE_MESSAGE_LOG_LEVEL cache variable 4) default log level (STATUS) Fixes: #23572
* | | | Merge topic 'doc-osx-cmp0126'Brad King2022-06-281-1/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | 3fac3d365d Help: Mention CMP0126 in CMAKE_OSX_* variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7414
| * | Help: Mention CMP0126 in CMAKE_OSX_* variable documentationDa Quexian2022-06-271-1/+2
| |/ | | | | | | Signed-off-by: Da Quexian <daquexian566@gmail.com>
* | Merge topic 'vs-compile-batching'Brad King2022-06-231-0/+20
|\ \ | |/ | | | | | | | | | | | | | | 9a0a94fdaa VS: Add variable to to turn off Visual Studio compile batching a7ebb73929 Help: Improve formatting in VS_NO_COMPILE_BATCHING docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7405
| * VS: Add variable to to turn off Visual Studio compile batchingBrad King2022-06-221-0/+20
| | | | | | | | | | | | | | | | | | Extend the change from commit b764c7c273 (VS: Add property to turn off Visual Studio compile batching, 2022-02-07, v3.24.0-rc1~710^2) by adding a variable to initialize the property on every target. Issue: #23179 Fixes: #23639
* | Merge topic 'xcode-launch-mode'Brad King2022-06-161-0/+13
|\ \ | |/ |/| | | | | | | | | a1a0ae3ad4 Xcode: Add Xcode SCHEME control for 'Launch' control Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7355