summaryrefslogtreecommitdiff
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Help: Update SYSTEM oriented target properties for Apple FrameworksMarc Chevrier2023-05-143-12/+19
| | | | This is a complement to !8469.
* Apple Frameworks: honor SYSTEM target propertyMarc Chevrier2023-05-111-0/+4
| | | | Fixes: #24109
* Merge topic 'ctest-timeout-zero'Brad King2023-05-051-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 0a5aeaf302 cmCTestRunTest: Consolidate test timeout selection logic 426e38cc10 cmCTestRunTest: Adopt decision for starting cmProcess timer 59336b29bd cmCTestRunTest: Remove unnecessary arguments to ForkProcess 07b5087ba7 Help: Document meaning of TIMEOUT test property with value 0 3edf7fbb41 ctest: Fix TIMEOUT test property with value 0 with --timeout flag 39a20a56dd Tests: Move `CTestTestZeroTimeout` into `RunCMake.CTestTimeout` cd4038fe94 cmCTestTestHandler: Use in-class initialization of properties and results Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8455
| * Help: Document meaning of TIMEOUT test property with value 0Brad King2023-05-041-0/+3
| | | | | | | | | | Document the behavior added by commit 51bb493574 (Test TIMEOUT property explicitly set to zero should be honored, 2011-01-03, v2.8.4~118^2).
* | Merge topic 'compile-only-genex'Brad King2023-05-052-1/+26
|\ \ | |/ |/| | | | | | | | | | | | | c42630ee62 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex 0fb923c460 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8411
| * cmGeneratorExpressionNode: implement `COMPILE_ONLY` genexRobert Maynard2023-05-041-5/+8
| | | | | | | | | | | | | | | | | | This generator expression is the inverse of `LINK_ONLY` and only coveys usage requirements for the purposes of compilation. Its intended use is to avoid needing to export targets that do not have link usage requirements (e.g., header-only libraries) when used by another target. See: #15415
| * cmGeneratorExpressionNode: implement `COMPILE_ONLY` genexBen Boeckel2023-04-122-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This generator expression is the inverse of `LINK_ONLY` and only coveys usage requirements for the purposes of compilation. Its intended use is to avoid needing to export targets that do not have link usage requirements (e.g., header-only libraries) when used by another target. It will also be used to represent private usage requirements on exported C++ module-containing targets in the future. Eventually there should be logic to collapse nesting of `$<COMPILE_ONLY>` and `$<LINK_ONLY>` when generating instances of either. A TODO is left in the code for this case. See: #15415
* | Merge topic 'use-linker-depfile'Brad King2023-05-043-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | 375e6fdbbe Link step: use linker dependency linker file 24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8443
| * | Link step: use linker dependency linker fileMarc Chevrier2023-05-033-0/+24
| | | | | | | | | | | | | | | | | | Based on work done by @ben.boeckel (!8051) Fixes: #22217
* | | Merge topic 'Pospelove-master-patch-11353'Brad King2023-05-041-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c64f6d5a5a Help: Document append functionality of string(JSON) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8453
| * | | Help: Document append functionality of string(JSON)Leonid Pospelov2023-05-031-0/+3
| |/ /
* | | Merge topic 'autogen-system-include'Brad King2023-05-047-0/+65
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 7bf4e30090 Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set 033dc7ee2f Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property 8ba16db163 Tests/RunCMake: Add option for dynamic expected output Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8400
| * | Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not setOrkun Tokdemir2023-05-033-0/+32
| | | | | | | | | | | | Add policy CMP0151 to preserve the old behavior by default.
| * | Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target propertyOrkun Tokdemir2023-05-035-0/+33
| | | | | | | | | | | | | | | | | | | | | `AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE` is a boolean property that can be set on a target to indicate that the autogen target include directory should be added as a system include directory or normal include directory to the target.
* | | Merge topic 'vs-debugger-init'Brad King2023-05-0210-4/+56
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 35566b48b4 VS: Add variables to initialize debugger-related properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8445
| * | | VS: Add variables to initialize debugger-related propertiesAlex Neundorf2023-05-0110-4/+56
| | | | | | | | | | | | | | | | | | | | | | | | Add variables to initialize target properties `VS_DEBUGGER_COMMAND`, `VS_DEBUGGER_COMMAND_ARGUMENTS`, `VS_DEBUGGER_ENVIRONMENT`, and `VS_DEBUGGER_WORKING_DIRECTORY`.
* | | | Merge topic 'doc-xref-find-env-vars'Brad King2023-05-0218-11/+133
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c584882b26 Help: change links to point to the env.vars, not to the cmake vars e40d4eb644 Help: add documentation for some CMAKE_XXX_PATH env.vars 73ce0b792f Help: minor improvement for the CMAKE_PREFIX_PATH docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8444
| * | | | Help: change links to point to the env.vars, not to the cmake varsAlex Neundorf2023-05-016-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation of the find-commands was pointing to the cmake variables CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH etc. also in the section for environment variables. Now they point to the documentation for the respective environment variables.
| * | | | Help: add documentation for some CMAKE_XXX_PATH env.varsAlex Neundorf2023-05-0112-7/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds basic documentation for the CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH, CMAKE_APPBUNDLE_PATH and CMAKE_FRAMEWORK_PATH environment variables and links to the respective cmake variables and vice versa.
| * | | | Help: minor improvement for the CMAKE_PREFIX_PATH docsAlex Neundorf2023-04-291-0/+3
| |/ / / | | | | | | | | | | | | | | | | With this patch the CMAKE_PREFIX_PATH env. var. is now mentioned in the help for the CMAKE_PREFIX_PATH cmake var.
* | | | Help: Remove outdated link to Absoft FortranBrad King2023-05-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Absoft ceased operations on 2022-09-22 [1] [2]. The website is no longer available. [1] https://web.archive.org/web/20220816070730/https://www.absoft.com/ [2] https://fortran-lang.discourse.group/t/4274
* | | | Merge topic 'tutorial-iface-order'Brad King2023-05-017-200/+225
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c6a426198a Tutorial: Move Step4-Ex1 to Step3-Ex2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8417
| * | | | Tutorial: Move Step4-Ex1 to Step3-Ex2Paul Choisel2023-04-287-200/+225
| | |_|/ | |/| | | | | | | | | | | | | | During the training, we talk about INTERFACE libraries just before Step3 so it makes more sense to do the exercise related to them in Step3
* | | | Merge topic 'cpack-inno-setup'Brad King2023-05-013-0/+433
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1d6db66179 CPack: Add Inno Setup generator 9b0dc652ff ci: Provide Inno Setup tools to some Windows CI jobs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8399
| * | | CPack: Add Inno Setup generatorJannik Alber2023-04-283-0/+433
| | |/ | |/|
* | | FindDoxygen: Optionally use custom config fileLe Go2023-04-271-0/+5
|/ /
* | Merge topic 'ExternalProject-relative-git-urls'Craig Scott2023-04-273-0/+47
|\ \ | | | | | | | | | | | | | | | | | | 550f63447d ExternalProject/FetchContent: Support relative remote URLs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7988
| * | ExternalProject/FetchContent: Support relative remote URLsChris Wright2023-04-263-0/+47
| |/ | | | | | | | | | | | | | | | | Teach `ExternalProject_Add` and `FetchContent_Declare` to resolve relative remote URLs provided via `GIT_REPOSITORY`. Add policy CMP0150 to maintain compatibility. Fixes: #24211 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | presets: add support for macro expansion to includesZoran Angelov2023-04-262-0/+10
| | | | | | | | Only `$penv{}` can be expanded when processing includes.
* | Merge topic 'GenEx-list'Marc Chevrier2023-04-203-17/+281
|\ \ | | | | | | | | | | | | | | | | | | 31675964e7 GenEx LIST: list operations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8410
| * | GenEx LIST: list operationsMarc Chevrier2023-04-163-17/+281
| |/ | | | | | | Fixes: #24550, #24547
* | Merge topic 'doc-workflow-presets-vendor'Craig Scott2023-04-171-0/+6
|\ \ | | | | | | | | | | | | | | | | | | dd8ac2f5ca Help: Add missing vendor field to the workflow presets docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8419
| * | Help: Add missing vendor field to the workflow presets docsCraig Scott2023-04-151-0/+6
| |/ | | | | | | | | | | | | The JSON schema already allows a vendor field for workflow presets, but it was missed in the documentation. There is no change in behavior or support, this just fixes an oversight in the docs when the workflow presets were originally added.
* | Merge branch 'backport-3.26-help-CMP0105' into Help-CMP0105-clarificationsMarc Chevrier2023-04-151-2/+3
|\ \ | |/ |/|
| * Help: CMP0105 policy: clarificationsMarc Chevrier2023-04-151-2/+3
| |
* | Merge topic 'automoc-macro-names'Craig Scott2023-04-104-2/+101
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5c3aff1f5 Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property 69cf9700e6 Autogen: Defer setup until Generate step 7cecb6353e cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructure 2daba01ddf cmGeneratorTarget: Avoid incidental include-what-you-use warning 850b4d990c IWYU: Add mapping for 'std::remove_reference<Defer &>::type' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8391
| * | Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target propertyOrkun Tokdemir2023-04-094-2/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add this target property to specify macro names that propagate to dependents as `AUTOMOC_MACRO_NAMES`. The dependents will automatically generate MOC files for source files that contain the inherited macro names. Co-Authored-By: Craig Scott <craig.scott@crascit.com> Fixes: #19679
* | | Merge topic 'vs-sdk-selection'Brad King2023-04-067-13/+126
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ecb645934 VS: Select Windows SDK matching WindowsSDKVersion env var f90c8ab54e VS: Select latest available Windows SDK version by default b512c53d43 VS: Add support for setting WindowsTargetPlatformVersion to 10.0 2f3d945f83 VS: Add CMAKE_GENERATOR_PLATFORM field to control Windows SDK selection f0a67b6291 VS: Parse comma-separated fields from CMAKE_GENERATOR_PLATFORM e259063b0a VS: Defer Windows SDK selection until CMAKE_GENERATOR_PLATFORM is known 8499374c6a VS: Simplify logic to require SDK for Windows Store 1c8d4b4bf1 Tests: Teach RunCMake_TEST_FILTER to account for test variant description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8389
| * | | VS: Select Windows SDK matching WindowsSDKVersion env varBrad King2023-04-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In an environment established by `vcvarsall.bat` or similar, this environment variable may be set to select a Windows SDK version. If the VS generator is used in such an environment, use that SDK. This is similar to how `CMAKE_GENERATOR_INSTANCE` defaults using a `VS##0COMNTOOLS` environment variable. Fixes: #17992
| * | | VS: Select latest available Windows SDK version by defaultBrad King2023-04-053-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add policy `CMP0149` to stop preferring SDKs exactly matching `CMAKE_SYSTEM_VERSION` over the latest SDK. Fixes: #16202
| * | | VS: Add support for setting WindowsTargetPlatformVersion to 10.0Brad King2023-04-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2019 and above support this value to select a SDK version automatically. Fixes: #21403
| * | | VS: Add CMAKE_GENERATOR_PLATFORM field to control Windows SDK selectionBrad King2023-04-055-12/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `version=` field to explicitly control the SDK version selection without relying on `CMAKE_SYSTEM_VERSION`. Fixes: #16713
| * | | VS: Parse comma-separated fields from CMAKE_GENERATOR_PLATFORMBrad King2023-04-051-2/+14
| | | |
* | | | Merge topic 'doc-typo'Brad King2023-04-061-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 045fbbb47c Help: Remove duplicated word in COMPILE_OPTIONS target property docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8396
| * | | Help: Remove duplicated word in COMPILE_OPTIONS target property docsBrad King2023-04-051-1/+1
| | | | | | | | | | | | | | | | Fixes: #24673
* | | | Merge branch 'release-3.26'Brad King2023-04-041-2/+2
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | CMake 3.26.3v3.26.3Brad King2023-04-041-2/+2
| | |
* | | Help: Clarify that {add,target}_compile_options are not used for linkingBrad King2023-03-316-3/+31
| | | | | | | | | | | | | | | | | | Link to alternatives that can be used for adding link options. Issue: #24662
* | | Help: Clarify that CMAKE_<LANG>_FLAGS are used when driving linkingBrad King2023-03-312-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | State explicitly that these flags are used when driving either compiling or linking. For linking, document their order w.r.t. link flags specified by commands. Fixes: #24662
* | | Help: Link to COMPILE_LANGUAGE genex from add_compile_optionsBrad King2023-03-311-0/+4
| |/ |/| | | | | | | | | | | Follow-up commit e2830cf16b (Help: Link to COMPILE_LANGUAGE genex from target_compile_options, 2023-03-28). Issue: #24639