summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge topic 'remove-FindPythonInterp-FindPythonLibs'Brad King2023-03-313-0/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | a4c5b91f80 FindPython{Interp,Libs}: Add policy to remove these modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8380
| * | FindPython{Interp,Libs}: Add policy to remove these modulesBrad King2023-03-303-0/+36
| | | | | | | | | | | | | | | | | | The `FindPythonInterp` and `FindPythonLibs` modules have been deprecated since CMake 3.12. Add a policy to pretend they do not exist in order to encourage projects to port to `FindPython` or `FindPython{2,3}`.
* | | presets: Add trace options to configure presetsArtin Alavi2023-03-302-0/+156
|/ / | | | | | | | | | | Add JSON schema version 7 to support them. Fixes: #22543
* | Merge branch 'release-3.26'Brad King2023-03-291-3/+3
|\ \ | |/
| * CMake 3.26.2v3.26.2Brad King2023-03-291-3/+3
| |
* | Help: Link to COMPILE_LANGUAGE genex from target_compile_optionsBrad King2023-03-282-0/+8
| | | | | | | | Issue: #24639
* | Merge topic 'lint-genex'Brad King2023-03-285-0/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | 099934e313 Add generator expression support to static code analysis hooks Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8361
| * | Add generator expression support to static code analysis hooksStefan Schober2023-03-275-0/+27
| | | | | | | | | | | | | | | | | | Teach target properties `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY` and `<LANG>_INCLUDE_WHAT_YOU_USE` to accept generator expressions.
* | | Merge topic 'FindPython-Windows-ARM'Brad King2023-03-281-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9913c28ebb FindPython: Add Windows/ARM support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: David Lechner <david@lechnology.com> Merge-request: !8354
| * | | FindPython: Add Windows/ARM supportMarc Chevrier2023-03-261-0/+5
| | | | | | | | | | | | | | | | Fixes: #24587
* | | | Merge topic 'file-GET_RUNTIME_DEPENDENCIES-windows-casing'Brad King2023-03-282-9/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5922c86ed6 file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on Windows 7dffe99ad8 Tests: Restore CudaOnly.RuntimeControls cudart verification on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !8367
| * | | | file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on WindowsBrad King2023-03-272-9/+23
| | |/ / | |/| | | | | | | | | | | | | | | | | | In commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries, 2023-03-06) we neglected to update associated documentation.
* | | | Merge topic 'crosscompiling-warn-reset'Brad King2023-03-271-5/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d23636694 Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME set Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8358
| * | | | Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME setMartin Storsjö2023-03-241-5/+5
| |/ / / | | | | | | | | | | | | | | | | Also clarify the `CMAKE_CROSSCOMPILING` documentation to state that CMake sets the variable automatically.