summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge topic 'ctest_test_measurements_docs'Brad King2021-04-282-1/+83
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b60789a758 Help: Document CTest custom test measurements 63b5ddcce2 Tests: Add cases for CTest extra measurements from tests 52eac4573d Help: Fix link to cdash.org from CTest manual Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !6029
| * | | | Help: Document CTest custom test measurementsZack Galbreath2021-04-272-0/+82
| | | | |
| * | | | Help: Fix link to cdash.org from CTest manualZack Galbreath2021-04-271-1/+1
| | | | |
* | | | | Merge topic 'ARMClang-cpu-arch-flags'Brad King2021-04-283-0/+40
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4941b7e66 ARMClang: Do not automatically add cpu/arch compile or link options 0078db3888 ARMClang: Separate cpu/arch flags from preceding flags Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Merge-request: !6035
| * | | | ARMClang: Do not automatically add cpu/arch compile or link optionsLingkai Dong2021-04-273-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compile options `--march=<arch>` and `--mcpu=<cpu>` and the link option `--cpu=<cpu>` are automatically added by CMake based on `CMAKE_SYSTEM_PROCESSOR` or `CMAKE_SYSTEM_ARCH`. But this is not sufficient, because armclang also supports enabling or disabling features using `+<feature>`: -mcpu=<name>[+[no]<feature>+...] For example: -mcpu=cortex-a57+nocrypto+nofp+nosimd+crc (Reference: https://developer.arm.com/documentation/dui0774/k/Compiler-Command-line-Options/-mcpu?lang=en) The problem is, even if a project adds a flag with features it needs, CMake still adds flags, resulting in code that is compiled with wrong CPU features and unable to run. Add policy `CMP0123` to not automatically add compile or link options, and let projects set them instead. Co-Author: Brad King <brad.king@kitware.com> Fixes: #21173
* | | | | Help: Convert CMAKE_LINK_DEPENDS_NO_SHARED to cross-reference linkCraig Scott2021-04-271-2/+3
| |/ / / |/| | |
* | | | Merge topic 'ctest_junit'Brad King2021-04-273-0/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25bf514447 ctest: Add support for writing test results in JUnit XML format Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Acked-by: MvdHurk <maikelvandenhurk@hotmail.com> Acked-by: Alexander Richardson <arichardson.kde@gmail.com> Merge-request: !6020
| * | | | ctest: Add support for writing test results in JUnit XML formatZack Galbreath2021-04-263-0/+21
| | | | | | | | | | | | | | | | | | | | Addresses #18654
* | | | | Help: Add release note for MSYS runtime supportBrad King2021-04-261-0/+4
| |_|_|/ |/| | |
* | | | Merge topic 'SWIG'Brad King2021-04-261-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e3e005dbd8 UseSWIG: use swig dependencies for Xcode generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6042
| * | | | UseSWIG: use swig dependencies for Xcode generatorMarc Chevrier2021-04-231-0/+6
| | | | |
* | | | | Merge topic 'xcode_app_extensions'Brad King2021-04-268-7/+88
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb5e33ba47 Xcode: Add support for embedding app extensions f62a2bf44f Tests: Factor out XcodeProject-Embed check function findAttribute() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5934
| * | | | | Xcode: Add support for embedding app extensionsAlexander Akhundzhanov2021-04-228-7/+88
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | | | | | Merge topic 'lzma-threads'Brad King2021-04-262-3/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5c130e675 cmArchiveWrite: Consolidate multiple ways to set thread count 5380d858ff liblzma: Enable multi threaded stream encoding support e9065e96dc Merge branch 'upstream-liblzma' into lzma-threads ee909a8e8b liblzma 2020-03-17 (2327a461) 741b85b42b liblzma: Revise update script to get version 5.2.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6014
| * | | | | | liblzma: Enable multi threaded stream encoding supportNils Gladitz2021-04-222-3/+11
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'file-REAL_PATH-EXPAND_TILDE'Brad King2021-04-263-6/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4b793c614 file(REAL_PATH): add option EXPAND_TILDE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6033
| * | | | | | file(REAL_PATH): add option EXPAND_TILDEMarc Chevrier2021-04-213-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option enables the replacement of any leading tilde with the path to the user's home directory.
* | | | | | | 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