summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* cmake_path: various updatesMarc Chevrier2021-01-131-4/+3
| | | | | | To follow discussions in #21385 and !5682: * Fix bug in cmCMakePath::IsSuffix() method * cmake_path(HASH) always normalized paths (NORMALIZE option removed)
* Merge topic 'cuda_architectures_default_doc'Brad King2021-01-121-0/+15
|\ | | | | | | | | | | | | baa530fe9f Help: Add example for setting default CMAKE_CUDA_ARCHITECTURES value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5685
| * Help: Add example for setting default CMAKE_CUDA_ARCHITECTURES valueRaul Tambre2021-01-101-0/+15
| | | | | | | | Fixes #21302 and #21666.
* | Merge topic 'sections-to-if-documentation'Brad King2021-01-121-19/+35
|\ \ | | | | | | | | | | | | | | | | | | 55ba98556f Help: Add sections to if() conditions documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5677
| * | Help: Add sections to if() conditions documentationShannon Booth2021-01-081-19/+35
| |/
* | Merge topic 'cuda-nvcc-ccache-symlink'Brad King2021-01-121-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | fb2afef620 CUDA: Support nvcc symlinking to ccache Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Tested-by: Raul Tambre <raul@tambre.ee> Merge-request: !5620
| * | CUDA: Support nvcc symlinking to ccacheRong Ou2021-01-111-0/+9
| |/ | | | | | | | | | | | | Invoke `nvcc -v` to find the real CUDA bin directory. This is needed if `nvcc` is a symlink to `ccache` or `colornvcc`. Fixes: #21177
* | Merge topic 'ninja-multi-config-post-build'Brad King2021-01-121-0/+31
|\ \ | |/ |/| | | | | | | | | 98805a11ce Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlap Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5673
| * Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlapKyle Edwards2021-01-071-0/+31
| | | | | | | | Fixes: #21252
* | Merge topic 'reword_MSVC_documentation'Brad King2021-01-081-3/+2
|\ \ | | | | | | | | | | | | | | | | | | 1185438ea8 Help: Reword the MSVC variable documentation focusing on cl.exe compatibility Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5676
| * | Help: Reword the MSVC variable documentation focusing on cl.exe compatibilityThomas Bernard2021-01-071-3/+2
| |/ | | | | | | Fixes: #21651
* | Merge topic 'Help-guide-import-export-dest'Brad King2021-01-081-3/+3
|\ \ | | | | | | | | | | | | | | | | | | e58a76de51 Help/guide: fix importing-exporting CMake install destinations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5674
| * | Help/guide: fix importing-exporting CMake install destinationsBen Boeckel2021-01-071-3/+3
| | |
* | | Merge branch 'backport-rel-macos-modern' into rel-macos-modernBrad King2021-01-071-0/+10
|\ \ \ | |/ / |/| |
| * | ci: build separate macOS packages for macOS 10.13+ and macOS 10.10+Brad King2021-01-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to support modern macOS features like Dark Mode, we need to use Qt 5.15, which requires macOS 10.13. However, we still want to support macOS 10.10 as well, for which we need to use Qt 5.9. Build separate macOS packages for these use cases. Fixes: #21606 Issue: #20825
* | | Merge topic 'cpp-modules'Brad King2021-01-071-1/+61
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39cbbb59a5 ninja: add experimental infrastructure to generate gcc-format modmap files 791b4d26d6 ninja: add experimental infrastructure to generate modmap files with dyndep 4b23359117 ninja: Add experimental infrastructure for C++20 module dependency scanning f814d3b3c6 cmNinjaTargetGenerator: use $OBJ_FILE for the object b0fc2993e1 Treat the '.mpp' file extension as C++ code 988f997100 cmScanDepFormat: Fix name of our internal tool in parse errors dacd93a2db ninja: De-duplicate version numbers required for ninja features 533386ca29 cmStandardLevelResolver: Factor out helper to capture stoi exceptions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Acked-by: Shannon Booth <shannon.ml.booth@gmail.com> Merge-request: !5562
| * | | ninja: add experimental infrastructure to generate gcc-format modmap filesBen Boeckel2021-01-051-0/+20
| | | |
| * | | ninja: Add experimental infrastructure for C++20 module dependency scanningBrad King2021-01-051-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optionally enable this infrastructure through an undocumented `CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP` variable. Currently this is experimental and intended for use by compiler writers to implement their scanning tools. Warn as such when the feature is activated. Later when compilers provide the needed scanning tools we can enable this variable from our corresponding compiler information modules. It is never meant to be set by project code. When enabled, generate a build graph similar to what we use for Fortran module dependencies. There are some differences needed because we can scan dependencies without explicit preprocessing, and can directly compile the original source afterward. Co-Author: Ben Boeckel <ben.boeckel@kitware.com>
* | | | CMAKE_EXPORT_COMPILE_COMMANDS: allow configuration per targetShannon Booth2021-01-054-1/+18
| |_|/ |/| | | | | | | | | | | | | | | | | | | | The new target property `EXPORT_COMPILE_COMMANDS` associated with the existing global variable can be used to optionally configure targets for their compile commands to be exported. Fixes: #19462
* | | 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