summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add test for toolchains-v1 File API objectBen McMorran2021-01-121-54/+45
|
* Help: Add documentation for "toolchains" object kindBen McMorran2021-01-121-0/+166
|
* Merge topic 'java-export-native_headers'Brad King2021-01-051-0/+6
|\ | | | | | | | | | | | | 53235626a2 UseJava: enable exportation of native headers target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5658
| * UseJava: enable exportation of native headers targetMarc Chevrier2020-12-291-0/+6
| |
* | Merge topic 'clang_win32_subsystem'Brad King2021-01-041-0/+4
|\ \ | | | | | | | | | | | | | | | | | | acfb54bb2f Clang: Support WIN32_EXECUTABLE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5648
| * | Clang: Support WIN32_EXECUTABLERaul Tambre2020-12-231-0/+4
| | | | | | | | | | | | Fixes #21613.
* | | Tutorial: Fix minor typo in index.rstfazl2021-01-041-1/+1
| |/ |/| | | | | s/mqsqrt.h/mysqrt.h/
* | Merge topic 'makefiles-custom_command-depfile'Marc Chevrier2020-12-262-3/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3eacf857e3 Tests: Add case for DEPFILE in add_custom_command cfd8a5ac1f Makefiles: Add support of DEPFILE for add_custom_command a526f71266 cmGccDepfileReader: Add new function ensuring paths are valid Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5617
| * | Makefiles: Add support of DEPFILE for add_custom_commandMarc Chevrier2020-12-232-3/+23
| |/ | | | | | | | | Issue: #20286 Fixes: #21415
* | Merge branch 'backport-rel-linux-aarch64' into rel-linux-aarch64Brad King2020-12-221-0/+5
|\ \ | |/ |/|
| * Help: Add 3.19.3 release note for Linux aarch64 binaryBrad King2020-12-221-0/+5
| |
* | Merge topic 'issue-20134'Brad King2020-12-222-3/+8
|\ \ | | | | | | | | | | | | | | | | | | b68699b717 target_include_directories: Support AFTER option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5633
| * | target_include_directories: Support AFTER optionAsit Dhal2020-12-192-3/+8
| | | | | | | | | | | | Fixes: #20134
* | | Merge topic 'issue-15653'Brad King2020-12-222-1/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c3385dd8bd file(GENERATE): Support options to manipulate file permissions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5437
| * | | file(GENERATE): Support options to manipulate file permissionsAsit Dhal2020-12-212-1/+20
| |/ / | | | | | | | | | Fixes: #15653
* | | Merge topic 'doc-add_test-config-genex'Brad King2020-12-221-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | af7882ba6e Help: replace deprecated $<CONFIGURATION> generator expression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5636
| * | | Help: replace deprecated $<CONFIGURATION> generator expressionNeroBurner2020-12-211-1/+1
| |/ / | | | | | | | | | | | | The `$<CONFIGURATION>` genex has been deprecated since CMake 3.0. Use `$<CONFIG>` instead in the `add_test` example.
* | | Merge topic 'ctest-test-dir'Brad King2020-12-212-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | dbcf86d24d Ctest: Support build tree on command line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5623
| * | | Ctest: Support build tree on command lineAsit Dhal2020-12-172-0/+8
| | | | | | | | | | | | | | | | Fixes: #21268
* | | | Merge topic 'doc-fix-XCODE_LINK_BUILD_PHASE_MODE'Craig Scott2020-12-211-0/+1
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | 2d84b9d145 Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5634
| * | Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODECraig Scott2020-12-201-0/+1
| | |
* | | Merge topic 'qt-autogen-per-config'Brad King2020-12-173-3/+11
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 20e4db4a66 cmGeneratorTarget: Make GetConfigCommonSourceFiles Xcode-specific 92d7b456e5 Autogen: Add support for per-config sources 3ffebbaefb Tests/QtAutogen: Forward build configuration in multi-config generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5624
| * | Autogen: Add support for per-config sourcesBrad King2020-12-163-3/+11
| | | | | | | | | | | | Fixes: #20682
* | | Merge topic 'unity-anon-ns'Craig Scott2020-12-166-0/+73
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 0fe9c40494 Unity Build: Add option for generating per-file unique id Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4784
| * | Unity Build: Add option for generating per-file unique idStephen Kelly2020-12-156-0/+73
| | | | | | | | | | | | Fixes: #21477
* | | Merge topic 'custom-command-output-genex-nmc'Brad King2020-12-165-34/+124
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1526ae3aba Tests: Add cases for Ninja Multi-Config cross-config custom commands dcf9f4d2f7 Ninja Multi-Config: Add support for cross-config custom commands 15467f12f7 cmLocalGenerator: Adopt custom target 'force' output name generation 7b64b0cd5a cmLocalGenerator: Refactor custom command generator construction d29da8ed3e cmMakefile: Simplify custom target 'force' output name generation 2b1cc175ee Help: Clarify version adding add_custom_{command,target} OUTPUT genex support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5612
| * | | Ninja Multi-Config: Add support for cross-config custom commandsKyle Edwards2020-12-155-0/+85
| | | | | | | | | | | | | | | | Co-Author: Brad King <brad.king@kitware.com>
| * | | Help: Clarify version adding add_custom_{command,target} OUTPUT genex supportBrad King2020-12-152-34/+39
| |/ / | | | | | | | | | | | | | | | | | | Update the documentation added by commit c257c25419 (add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTS, 2020-10-19) to use sphinx markup instead of prose to specify the version in which the feature was added.
* | | Merge topic 'ispc_control_header_suffixes'Brad King2020-12-155-0/+30
|\ \ \ | |/ / |/| / | |/ | | | | | | c9a50f3556 ISPC: Generated Headers suffix configurable with a better default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5597
| * ISPC: Generated Headers suffix configurable with a better defaultRobert Maynard2020-12-145-0/+30
| | | | | | | | | | | | | | | | | | The target property `ISPC_HEADER_SUFFIX` and associated global variable now can control the suffix used when generating the C/C++ interoperability ISPC headers. In addition the default suffix is now "_ispc.h" which matches the common convention that the ISPC compiler team uses and recommends.
| * Merge topic 'apple-silicon-host-arch' into release-3.19Brad King2020-12-116-3/+84
| |\ | | | | | | | | | | | | | | | | | | | | | b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589
* | \ Merge topic 'custom-command-output-genex'Brad King2020-12-143-0/+95
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c257c25419 add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTS f36af9228b cmLocalGenerator: Evaluate generator expressions in custom command outputs c887cefd9a cmLocalGenerator: Simplify custom command output cmSourceFile creation 947ba01bf9 cmLocalGenerator: Factor out helper to expand custom command output paths 1902d28ebc cmLocalGenerator: Refactor UpdateOutputToSourceMap to avoid boolean trap e4034eabe9 cmLocalGenerator: Re-order logic in CreateGeneratedSource 706c48301d cmCustomCommandGenerator: Treat relative outputs w.r.t. build dir 5d23c5446e cmCustomCommandGenerator: Refactor OUTPUT and DEPENDS path evaluation ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5402
| * | | add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTSBrad King2020-12-113-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move rejection of `#`, `<`, and `>` characters in outputs and byproducts to a generate-time check. This removes the front-end check that disallowed generator expressions. The generators have already been updated to handle them. Fixes: #12877
| * | | Help: Add examples to add_custom_command reference documentationBrad King2020-12-101-0/+38
| | | |
* | | | Help: Fix small typos in documentationGuillem Vela2020-12-143-3/+3
| | | |
* | | | Merge topic 'apple-silicon-host-arch'Brad King2020-12-116-3/+84
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589
| * | | macOS: Offer control over host architecture on Apple Silicon hostsBrad King2020-12-106-3/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit b6c60f14b6 (macOS: Default to arm64 architecture on Apple Silicon hosts, 2020-09-28, v3.19.0-rc1~63^2) we use `sysctl` to detect that we are running on Apple Silicon in a way that pierces Rosetta. This always sets `CMAKE_HOST_SYSTEM_PROCESSOR` to be `arm64` on such hosts. However, macOS offers strong support for running processes under an emulated `x86_64` architecture. Teach CMake to select either `arm64` or `x86_64` as the host architecture on Apple Silicon based on the architecture of its own process. When CMake is built as a universal binary, macOS will select whichever slice (architecture) is appropriate under the user's shell, and `CMAKE_HOST_SYSTEM_PROCESSOR` will match. Also offer a `CMAKE_APPLE_SILICON_PROCESSOR` variable and environment variable to provide users with explicit control over the host architecture selection regardless of CMake's own architecture. Finally, if `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use selected host architecture instead of letting the toolchain pick. Fixes: #21554
* | | | Merge branch 'master' into doc-3_19_release-fixesBrad King2020-12-11157-1323/+3031
|\ \ \ \ | |_|_|/ |/| | |
| * | | Merge topic 'rel-macos-apple-silicon'Brad King2020-12-101-0/+9
| |\ \ \ | | |/ / | | | / | | |/ | |/| | | | | | | | | | | | | | | | | | | 56a075eb5d ci: update macOS package to produce universal binaries b184cc256b ci: do not use sccache for macOS packaging 41bddf1028 ci: update to pre-built Qt 5.9.9 universal binaries for macOS packages b201dc0d42 Utilities/Release: Add script to build Qt 5.9.9 macOS universal binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5595
| * | Merge topic 'cpp23'Brad King2020-12-106-3/+15
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9f3c70a333 CUDA, CXX, OBJCXX: C++23 support with Clang 12 af7e1545c8 CUDA, CXX: Remove HAS_FULL_SUPPORT for C++17 and 20 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5576
| | * | CUDA, CXX, OBJCXX: C++23 support with Clang 12Raul Tambre2020-12-086-3/+15
| | | | | | | | | | | | | | | | | | | | Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
| * | | Merge topic 'android-docs'Brad King2020-12-092-2/+14
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1a4b1cca1c Android: update documentation for NDK integration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5586
| | * | | Android: update documentation for NDK integrationHaibo Huang2020-12-082-2/+14
| | |/ /
| * | | Merge topic 'update_cmp112'Brad King2020-12-082-0/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf0c71dae3 Document CMP0112 covers $<TARGET_FILE_NAME,tgt> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5582
| * \ \ \ Merge topic 'remove-partial-intel-compiler-support'Brad King2020-12-081-2/+0
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41b69348a5 Revert "Intel: Add Intel DPC++ compiler identification" f0babb53b3 Revert "Intel: Add Intel Clang compiler identification" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !5583
| * | | | WriteCompilerDetectionHeader: Add policy to remove moduleBrad King2020-12-055-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See justification in the policy documentation. Closes: #17842
| * | | | Help: Move Documentation module to list of deprecated modulesBrad King2020-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The module has been deprecated since commit 306a1ba960 (Modules/Documentation: remove, 2020-04-16, v3.18.0-rc1~290^2).
| * | | | Merge topic 'explicit-LANGUAGE-flag'Brad King2020-12-044-1/+49
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48aac247e9 Compile with explicit language flag when source LANGUAGE property is set 2e67a75acd Embarcadero: Simplify addition of -P flag for C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5522
| | * | | | Compile with explicit language flag when source LANGUAGE property is setBrad King2020-12-024-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was originally made by commit 74b1c9fc8e (Explicitly specify language flag when source LANGUAGE property is set, 2020-06-01, v3.19.0-rc1~722^2), but it was reverted by commit 30aa715fac (Revert "specify language flag when source LANGUAGE property is set", 2020-11-19) to restore compatibility with pre-3.19 behavior. Implement the change again, but add policy CMP0119 to make this change while preserving compatibility with existing projects. Note that the `Compiler/{Clang,Intel,MSVC}-CXX` modules do not need to specify `-TP` for their MSVC-like variants because we already use the flag in `CMAKE_CXX_COMPILE_OBJECT`. Similarly for `Compiler/XL-CXX` and `Platform/Windows-Embarcadero`. Note also that this does not seem possible to implement for XL C. Even with `-qsourcetype=c`, `xlc` complains about an unknown suffix: `1501-218 (W) file /.../AltExtC.zzz contains an incorrect file suffix`. It returns non-zero even with `-qsuppress=1501-218`. Co-Author: Robert Maynard <robert.maynard@kitware.com> Fixes: #14516, #20716
| * | | | | Merge topic 'versionadded'Brad King2020-12-0315-28/+39
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5000f93a91 Help: Fix grammar in `.. versionadded` directives 8fea95319b Help: Add `.. versionadded` directives to module docs 8634561dca Help: Improve formatting for FindBoost and FindCUDA ea59b0cd34 Help: Fix version note for CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE 05c3060b10 Help: Fix cmake_parse_arguments version note dafcef8b50 Help: Improve styling for versionadded/deprecated directives 6ae216daef Tests: Make RunCMake.CMP0106 expected output robust to line number changes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5560