Brad King
ddd9545895
Merge topic 'doc-preset-layout'
...
3115cc3895 Help: Fix layout of architecture/toolset fields in cmake-presets(7) manual
69dbaba6fb Help: Add section heading for configure presets in cmake-presets(7)
501bcb6327 Help: Add section heading for macro expansion in cmake-presets(7)
1c4c742f40 Help: Remove unnecessary indentation in cmake-presets(7)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5700
2021-01-15 10:36:38 -05:00
Marc Chevrier
50b8dc8735
Merge topic 'cmake_path-stabilization'
...
76f0bcdfb6 cmake_path: various updates
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5695
2021-01-15 05:47:02 -05:00
Brad King
6baffecab9
Merge topic 'memory_check_sanitizer_options_docs'
...
4426ddda1c Help: Clarify memory check sanitizer option behavior for `log_path`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !5699
2021-01-14 14:18:16 -05:00
Brad King
810b8e5102
Merge topic 'tutorial-step5'
...
174b1e5da5 Tutorial: Remove incorrect instructions from Step 5
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5697
2021-01-14 14:17:00 -05:00
Brad King
3115cc3895
Help: Fix layout of architecture/toolset fields in cmake-presets(7) manual
...
These two fields share common documentation and so should be a single
entry in the definition list.
Fixes : #21642
2021-01-14 13:44:50 -05:00
Brad King
69dbaba6fb
Help: Add section heading for configure presets in cmake-presets(7)
...
Cross-reference it from the main `configurePresets` field.
This removes an extra layer of indentation and makes the
section linkable.
2021-01-14 13:40:16 -05:00
Brad King
501bcb6327
Help: Add section heading for macro expansion in cmake-presets(7)
...
Also cross-reference it from the prose.
2021-01-14 13:40:04 -05:00
Brad King
1c4c742f40
Help: Remove unnecessary indentation in cmake-presets(7)
...
The entire "Format" section had an extra 2 spaces of indentation.
2021-01-14 13:40:02 -05:00
Betsy McPhail
174b1e5da5
Tutorial: Remove incorrect instructions from Step 5
...
The first section of Step 5 is not tested, incorrect, and not the
recommended solution.
Fixes : #21539
2021-01-14 13:05:09 -05:00
Brad King
cc47f4ebf9
Merge topic 'fileapi-toolchains'
...
6418dabb87 Tests: Add test for toolchains-v1 File API object
1c5bd1bed5 Tests: Add toolchains kind to capabilities test
f72bb2ee0d Help: Add documentation for "toolchains" object kind
bb069c0857 cmFileAPI: Add "toolchains" object kind.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5678
2021-01-14 13:02:54 -05:00
Brad King
967d1f7dde
Merge topic 'install-FILES-rename-genex'
...
ac3ccc393e install(files): Support genex in rename option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5694
2021-01-14 13:00:16 -05:00
Pawel Dac
4426ddda1c
Help: Clarify memory check sanitizer option behavior for log_path
...
Added information about prepending [ASAN/LSAN/TSAN/MSAN/UBSAN]_OPTIONS
to MemoryTesterEnvironmentVariable and `log_path` limitation.
2021-01-13 23:14:26 +01:00
Marc Chevrier
76f0bcdfb6
cmake_path: various updates
...
To follow discussions in #21385 and !5682 :
* Fix bug in cmCMakePath::IsSuffix() method
* cmake_path(HASH) always normalized paths (NORMALIZE option removed)
2021-01-13 15:27:49 +01:00
Brad King
438ed46c13
Merge topic 'ExternalProject-configure-handled-by-build'
...
7155e358c9 ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5626
2021-01-13 09:21:47 -05:00
Craig Scott
4274b4aaaf
Merge topic 'doc-standard-module-var-names'
...
cc32eeae17 Help: Clarify standard module variable naming
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5679
2021-01-13 06:31:01 -05:00
Asit Dhal
ac3ccc393e
install(files): Support genex in rename option
...
Fixes : #19903
2021-01-13 11:27:56 +01:00
Ben McMorran
6418dabb87
Tests: Add test for toolchains-v1 File API object
2021-01-12 15:43:38 -08:00
Ben McMorran
f72bb2ee0d
Help: Add documentation for "toolchains" object kind
2021-01-12 11:21:28 -08:00
Brad King
d591353126
Merge topic 'cuda_architectures_default_doc'
...
baa530fe9f Help: Add example for setting default CMAKE_CUDA_ARCHITECTURES value
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5685
2021-01-12 10:29:43 -05:00
Brad King
bd0700d107
Merge topic 'sections-to-if-documentation'
...
55ba98556f Help: Add sections to if() conditions documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5677
2021-01-12 10:28:49 -05:00
Brad King
d87a8934e0
Merge topic 'cuda-nvcc-ccache-symlink'
...
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
2021-01-12 10:27:19 -05:00
Brad King
db8e2e711a
Merge topic 'ninja-multi-config-post-build'
...
98805a11ce Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlap
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5673
2021-01-12 10:25:07 -05:00
Anakin Skywalker
cc32eeae17
Help: Clarify standard module variable naming
...
Co-Authored-By: Craig Scott <craig.scott@crascit.com >
2021-01-12 23:00:34 +11:00
Daan De Meyer
7155e358c9
ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD option
...
Fixes #21592 .
2021-01-12 08:50:02 +01:00
Rong Ou
fb2afef620
CUDA: Support nvcc symlinking to ccache
...
Invoke `nvcc -v` to find the real CUDA bin directory.
This is needed if `nvcc` is a symlink to `ccache` or `colornvcc`.
Fixes : #21177
2021-01-11 00:18:04 -08:00
Raul Tambre
baa530fe9f
Help: Add example for setting default CMAKE_CUDA_ARCHITECTURES value
...
Fixes #21302 and #21666 .
2021-01-10 12:06:02 +02:00
Shannon Booth
55ba98556f
Help: Add sections to if() conditions documentation
2021-01-09 10:03:46 +13:00
Brad King
4f5a12be29
Merge topic 'reword_MSVC_documentation'
...
1185438ea8 Help: Reword the MSVC variable documentation focusing on cl.exe compatibility
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5676
2021-01-08 09:12:47 -05:00
Brad King
90cd5df20c
Merge topic 'Help-guide-import-export-dest'
...
e58a76de51 Help/guide: fix importing-exporting CMake install destinations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5674
2021-01-08 09:12:08 -05:00
Brad King
2d4d9cd37a
Merge branch 'backport-rel-macos-modern' into rel-macos-modern
2021-01-07 16:56:48 -05:00
Brad King
6410425e5b
ci: build separate macOS packages for macOS 10.13+ and macOS 10.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
2021-01-07 16:56:05 -05:00
Thomas Bernard
1185438ea8
Help: Reword the MSVC variable documentation focusing on cl.exe compatibility
...
Fixes : #21651
2021-01-07 16:32:48 -05:00
Ben Boeckel
e58a76de51
Help/guide: fix importing-exporting CMake install destinations
2021-01-07 12:19:57 -05:00
Kyle Edwards
98805a11ce
Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlap
...
Fixes : #21252
2021-01-07 11:26:17 -05:00
Brad King
05f4248e3d
Merge topic 'cpp-modules'
...
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
2021-01-07 08:26:28 -05:00
Shannon Booth
a742b5d137
CMAKE_EXPORT_COMPILE_COMMANDS: allow configuration per target
...
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
2021-01-06 11:51:39 +13:00
Ben Boeckel
39cbbb59a5
ninja: add experimental infrastructure to generate gcc-format modmap files
2021-01-05 09:35:10 -05:00
Brad King
4b23359117
ninja: Add experimental infrastructure for C++20 module dependency scanning
...
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 >
2021-01-05 09:34:55 -05:00
Brad King
522015e04f
Merge topic 'java-export-native_headers'
...
53235626a2 UseJava: enable exportation of native headers target
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5658
2021-01-05 09:02:12 -05:00
Brad King
4d70299c66
Merge topic 'clang_win32_subsystem'
...
acfb54bb2f Clang: Support WIN32_EXECUTABLE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5648
2021-01-04 13:49:23 -05:00
fazl
b42a63605c
Tutorial: Fix minor typo in index.rst
...
s/mqsqrt.h/mysqrt.h/
2021-01-04 12:02:09 -05:00
Marc Chevrier
53235626a2
UseJava: enable exportation of native headers target
2020-12-29 17:14:20 +01:00
Marc Chevrier
f5cdcd0606
Merge topic 'makefiles-custom_command-depfile'
...
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
2020-12-26 05:55:55 -05:00
Marc Chevrier
cfd8a5ac1f
Makefiles: Add support of DEPFILE for add_custom_command
...
Issue: #20286
Fixes : #21415
2020-12-23 15:47:46 +01:00
Raul Tambre
acfb54bb2f
Clang: Support WIN32_EXECUTABLE
...
Fixes #21613 .
2020-12-23 12:39:09 +02:00
Brad King
7cf6941f37
Merge branch 'backport-rel-linux-aarch64' into rel-linux-aarch64
2020-12-22 14:05:43 -05:00
Brad King
2c1127a7a9
Help: Add 3.19.3 release note for Linux aarch64 binary
2020-12-22 14:04:39 -05:00
Brad King
72a28635b8
Merge topic 'issue-20134'
...
b68699b717 target_include_directories: Support AFTER option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5633
2020-12-22 09:13:08 -05:00
Brad King
3cf1a8c59b
Merge topic 'issue-15653'
...
c3385dd8bd file(GENERATE): Support options to manipulate file permissions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5437
2020-12-22 09:12:20 -05:00
Brad King
3f85a95978
Merge topic 'doc-add_test-config-genex'
...
af7882ba6e Help: replace deprecated $<CONFIGURATION> generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5636
2020-12-22 09:11:32 -05:00