summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-compile-features-wcdh'Brad King2021-04-261-115/+17
|\ | | | | | | | | | | | | | | 1f4ec3f4a7 Help: Do not recommend WCDH in cmake-compile-features(7) 1cc63f2cd5 Help: Fix typos in cmake-compile-features(7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6037
| * Help: Do not recommend WCDH in cmake-compile-features(7)Brad King2021-04-231-114/+16
| | | | | | | | | | | | | | | | | | Since commit da7ad7997e (WriteCompilerDetectionHeader: Add policy to remove module, 2020-12-04, v3.20.0-rc1~350^2), the WCDH module is deprecated. Update the `cmake-compile-features(7)` manual section that previously recommended WCDH to make such detection the project's responsibility instead. Move the old content of the section over to the WCDH module to preserve it.
| * Help: Fix typos in cmake-compile-features(7)Brad King2021-04-231-6/+6
| |
| * Merge topic 'doc-if-IS_ABSOLUTE' into release-3.20Brad King2021-04-202-2/+12
| |\ | | | | | | | | | | | | | | | | | | | | | 6234afdff4 Help: Document special cases for if(IS_ABSOLUTE) 789307b02f Help: Behavior of file(TO_NATIVE_PATH) depends on the host platform Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6016
* | \ Merge topic 'cuda-host-compiler-windows'Brad King2021-04-232-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 625ef88a92 CUDA: Add CMAKE_CUDA_HOST_COMPILER support on Windows non-VS generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6030
| * | | CUDA: Add CMAKE_CUDA_HOST_COMPILER support on Windows non-VS generatorsunknown2021-04-222-0/+8
| | | |
* | | | Merge topic 'tutorial_step12_version_install'Brad King2021-04-221-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfb47335da Tutorial: Step12 install MathFunctionsConfigVersion.cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6025
| * | | | Tutorial: Step12 install MathFunctionsConfigVersion.cmakeAlexander Pivovarov2021-04-201-0/+1
| | | | |
* | | | | Merge topic 'cmake-1-docs-for-presets'Brad King2021-04-221-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71cbddf83a cmake(1): Change wording for fields in presets Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6026
| * | | | | cmake(1): Change wording for fields in presetsfriendlyanon2021-04-211-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | The placement of the word "optionally" implied that the fields mentioned before are not optional, which is not the case starting from version 3 of the presets.
* | | | | Merge topic 'better_explain_policy_value'Brad King2021-04-211-6/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b94bf12a31 Help: cmake_minimum_required specify max is only for policies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6023
| * | | | | Help: cmake_minimum_required specify max is only for policiesRobert Maynard2021-04-201-6/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Make it even clearer that for the signature `<version>...<version>` that the second value is only used for policies, and is not a clamp range of supported CMake versions.
* | | | | Help: Demonstrate using set_target_properties with CUDA architecturesRobert Maynard2021-04-202-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | A common anti-pattern is to copy from the `CUDA_ARCHITECTURES` documentation. If at any point the user tries to simplify by changin `set_property` to `set_target_properties` the code breaks. To better train users, provide and example of how to set multiple CUDA architectures with `set_target_properties`.
* | | | Merge topic 'Xcode-add_custom_command-DEPFILE'Brad King2021-04-201-8/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 253aff6c94 Xcode: Add support of DEPFILE for add_custom_command, part 2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6015
| * | | | Xcode: Add support of DEPFILE for add_custom_command, part 2Marc Chevrier2021-04-171-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This MR extend the support of 'DEPFILE' to buildsystem version 1. Issue: #20286
* | | | | Merge topic 'doc-if-IS_ABSOLUTE'Brad King2021-04-202-2/+12
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | 6234afdff4 Help: Document special cases for if(IS_ABSOLUTE) 789307b02f Help: Behavior of file(TO_NATIVE_PATH) depends on the host platform Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6016
| * | | Help: Document special cases for if(IS_ABSOLUTE)Craig Scott2021-04-171-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The meaning of "absolute path" was previously assumed knowledge, but a number of special cases were left unspecified. The way some of these are handled differs to the way that cmake_path(IS_ABSOLUTE) works, so document those special cases so that the differing behavior between these two commands is clearly defined.
| * | | Help: Behavior of file(TO_NATIVE_PATH) depends on the host platformCraig Scott2021-04-171-1/+2
| | | |
* | | | Help: Fix typo in CMAKE_TOOLCHAIN_FILE docsAlbrecht Schlosser2021-04-171-1/+1
| |/ / |/| |
* | | Merge topic 'Xcode-add_custom_command-DEPFILE'Brad King2021-04-162-10/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d67cc4882d Xcode: Add support of DEPFILE for add_custom_command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6006
| * | | Xcode: Add support of DEPFILE for add_custom_commandMarc Chevrier2021-04-152-10/+25
| | | | | | | | | | | | | | | | Issue: #20286
* | | | Merge topic 'add_toolchain_cmake_option'Brad King2021-04-164-2/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d5c3e4ac32 cmake: add support for --toolchain command argument 13838bbb36 CMAKE_TOOLCHAIN_FILE: Document relative path behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5991
| * | | | cmake: add support for --toolchain command argumentRobert Maynard2021-04-153-2/+11
| | | | |
| * | | | CMAKE_TOOLCHAIN_FILE: Document relative path behaviorRobert Maynard2021-04-151-0/+3
| | | | |
* | | | | Merge topic 'doc-error-unknown-arg'Brad King2021-04-152-0/+5
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | 06d26c7baf Help: Add 3.20 release note for error on unknown arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6003
| * | | Help: Add 3.20 release note for error on unknown argumentsBrad King2021-04-142-0/+5
| | |/ | |/| | | | | | | | | | | | | | | | This was left out of commit 1b6c5333a0 (cmake: Error out on unknown arguments starting with `-`., 2020-11-30, v3.20.0-rc1~370^2). Fixes: #22060
| * | Merge topic 'ios-rpath-linker-flag' into release-3.20Brad King2021-04-073-4/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 4aed96e230 Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5980
| * \ \ Merge topic 'add_q_namespace_export_docs' into release-3.20Brad King2021-04-061-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3538f1c69b Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5982
* | | | | Genex: add_custom_command: DEPFILE supports genexMarc Chevrier2021-04-122-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This facility is very useful for 'Ninja Multi-Config' and required as well for future support of DEPFILE in 'Xcode' and 'Visual Studio' generators (#20286).
* | | | | Merge topic 'newer-git-show'Brad King2021-04-081-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f71e7b8156 Help/dev/review: mention `--pretty=reference` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5994
| * | | | | Help/dev/review: mention `--pretty=reference`Ben Boeckel2021-04-071-1/+2
| | |_|_|/ | |/| | | | | | | | | | | | | This was added in Git 2.25 (13 Jan 2020).
* | | | | Merge topic 'presets-optional-generator-and-builddir'Brad King2021-04-083-2/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06e6981336 cmake-presets: Make generator and binaryDir fields optional Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5946
| * | | | | cmake-presets: Make generator and binaryDir fields optionalfriendlyanon2021-04-063-2/+18
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In v3 of the presets, generator and buildDir can be omitted to fall back to regular cmake behavior when these values are not explicitly provided by the user. Fixes: #21987
* | | | | Merge topic 'ios-rpath-linker-flag'Brad King2021-04-073-4/+12
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 4aed96e230 Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5980
| * | | | Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS tooCraig Scott2021-04-063-4/+12
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since CMake 3.19, we no longer support macOS SDKs older than 10.5, which corresponds to Xcode 3. Supporting older Xcode versions for device platforms is also not realistic. We therefore expect the -rpath linker option should always be supported now. When targeting iOS, tvOS or watchOS, the previous disabling of -rpath support meant that the install_name_dir of shared libraries and frameworks was unable to use @rpath. This resulted in embedding absolute paths for their install_name. When they were embedded in an app bundle, this would cause the app to fail at runtime. By enabling the -rpath linker option, the default install_name_dir is now @rpath for these platforms, which results in binaries that do work at runtime. Fixes: #20036
* | | | Merge topic 'autouic-source-group-fixes'Brad King2021-04-074-13/+25
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8ddc1e268 Autogen: Fix a bug in setting the UIC source group 7f0151dc91 Help: Document the AUTOUIC_SOURCE_GROUP property f6c47dd0b4 Help: Fix a typo in the AUTOGEN_SOURCE_GROUP help Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexey Edelev <alexey.edelev@qt.io> Merge-request: !5978
| * | | Help: Document the AUTOUIC_SOURCE_GROUP propertyDuncan Barber2021-04-044-12/+24
| | | | | | | | | | | | | | | | This property came into existence with the changes in b4a103bdecc437d37580d0ab540f6014006d661c because generated files are now being added for UIC.
| * | | Help: Fix a typo in the AUTOGEN_SOURCE_GROUP helpDuncan Barber2021-04-041-1/+1
| | | |
* | | | Merge topic 'add_q_namespace_export_docs'Brad King2021-04-061-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 3538f1c69b Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5982
| * | | Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default valuesAlexander Neumann2021-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was accidentally left out of commit 426941c433 (Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC, 2020-02-26, v3.17.0-rc2~3^2).
* | | | Merge topic 'doc-imported-soname'Brad King2021-04-051-6/+18
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | 4d6e899578 Help: Document in add_library how to import libraries with SONAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5975
| * | Help: Document in add_library how to import libraries with SONAMEBrad King2021-04-021-6/+18
| |/ | | | | | | | | | | | | | | | | | | When using `add_library` to create an `IMPORTED` library target, there are a few target properties that are essential to correctly tell CMake about the library file. We already cover `IMPORTED_LOCATION` and `IMPORTED_IMPLIB`. Add `IMPORTED_SONAME` and `IMPORTED_NO_SONAME`, which are important in certain cases. Fixes: #22016
* | Merge topic 'doc-IMPORTED_LOCATION'Brad King2021-04-021-4/+4
|\ \ | |/ | | | | | | | | | | 08a25e4902 Help: Clarify IMPORTED_LOCATION documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5968
| * Help: Clarify IMPORTED_LOCATION documentationmcc2021-04-011-4/+4
| | | | | | | | | | Prefer the macOS term "application bundle" over just "bundle". Put both macOS cases together.
| * Merge topic 'doc-CMAKE_APPLE_SILICON_PROCESSOR' into release-3.20Brad King2021-04-011-3/+2
| |\ | | | | | | | | | | | | | | | | | | 3f04f69733 Help: CMAKE_APPLE_SILICON_PROCESSOR cannot be set in a toolchain file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5965
| * \ Merge topic 'commands-file-permissions' into release-3.20Brad King2021-03-292-23/+40
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 769ff05483 Help: Clarify permission-related command options 900184616a Cleanup: Fix misspelt name of local C++ variable 635431a0c9 Tests: Check host platform instead of target for running stat 4ceb0ca59e Tests: Remove redundant files for configure_file() tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5945
* | \ \ Merge topic 'fujitsu-compiler-4.0-support'Brad King2021-04-013-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ef55dec29 Help: Add release notes for Fujitsu compiler support 4c74c86f40 FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library 376c300b25 FindOpenMP: Add support for Fujitsu compilers 9e0a1cf03e FindMPI: Add support for the Fujitsu compiler wrappers a237450948 Tests: Update for the FujitsuClang compiler 27579e9cf1 FujitsuClang: Add support for the Fujitsu compiler in Clang mode a55feff69c Tests: Update for the Fujitsu compiler 3c867cff4a Fujitsu: Add support for the Fujitsu compiler in Trad mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Acked-by: Gilles Gouaillardet <gilles@rist.or.jp> Merge-request: !5954
| * | | | Help: Add release notes for Fujitsu compiler supportChuck Atkins2021-03-311-0/+11
| | | | |
| * | | | FujitsuClang: Add support for the Fujitsu compiler in Clang modeChuck Atkins2021-03-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be front end compatible with vanilla clang but giving it a unique identifier allows a project to pass additional options unique to Fujitsu and outside the scope of a CMake builtin.
| * | | | Fujitsu: Add support for the Fujitsu compiler in Trad modeChuck Atkins2021-03-302-0/+2
| | | | | | | | | | | | | | | | | | | | Co-Author: Yuichiro Utsumi <utsumi.yuichiro@jp.fujitsu.com>