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
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
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
NeroBurner
af7882ba6e
Help: replace deprecated $<CONFIGURATION> generator expression
...
The `$<CONFIGURATION>` genex has been deprecated since CMake 3.0.
Use `$<CONFIG>` instead in the `add_test` example.
2020-12-21 13:54:25 -05:00
Brad King
05a59f37ab
Merge topic 'ctest-test-dir'
...
dbcf86d24d Ctest: Support build tree on command line
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5623
2020-12-21 10:04:58 -05:00
Asit Dhal
c3385dd8bd
file(GENERATE): Support options to manipulate file permissions
...
Fixes : #15653
2020-12-21 12:16:16 +01:00
Craig Scott
63ff43fc9e
Merge topic 'doc-fix-XCODE_LINK_BUILD_PHASE_MODE'
...
2d84b9d145 Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5634
2020-12-21 06:03:38 -05:00
Craig Scott
2d84b9d145
Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODE
2020-12-20 20:13:23 +11:00
Asit Dhal
b68699b717
target_include_directories: Support AFTER option
...
Fixes : #20134
2020-12-19 14:51:39 +01:00
Brad King
6d7621baea
Merge topic 'qt-autogen-per-config'
...
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
2020-12-17 13:22:40 -05:00
Asit Dhal
dbcf86d24d
Ctest: Support build tree on command line
...
Fixes : #21268
2020-12-17 05:01:03 +01:00
Brad King
92d7b456e5
Autogen: Add support for per-config sources
...
Fixes : #20682
2020-12-16 14:04:30 -05:00
Craig Scott
d2456b29f4
Merge topic 'unity-anon-ns'
...
0fe9c40494 Unity Build: Add option for generating per-file unique id
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4784
2020-12-16 07:40:41 -05:00
Brad King
34469a4f71
Merge topic 'custom-command-output-genex-nmc'
...
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
2020-12-16 06:20:39 -05:00
Brad King
67f12dd1d6
Merge topic 'ispc_control_header_suffixes'
...
c9a50f3556 ISPC: Generated Headers suffix configurable with a better default
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5597
2020-12-15 07:40:34 -05:00
Kyle Edwards
dcf9f4d2f7
Ninja Multi-Config: Add support for cross-config custom commands
...
Co-Author: Brad King <brad.king@kitware.com >
2020-12-15 07:01:21 -05:00
Brad King
2b1cc175ee
Help: Clarify version adding add_custom_{command,target} OUTPUT genex support
...
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.
2020-12-15 07:00:20 -05:00
Stephen Kelly
0fe9c40494
Unity Build: Add option for generating per-file unique id
...
Fixes : #21477
2020-12-15 22:26:09 +11:00
Robert Maynard
c9a50f3556
ISPC: Generated Headers suffix configurable with a better default
...
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.
2020-12-14 13:13:09 -05:00
Brad King
fedfe763ee
Merge topic 'custom-command-output-genex'
...
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
2020-12-14 07:22:45 -05:00
Guillem Vela
1f41eb8472
Help: Fix small typos in documentation
2020-12-14 07:18:47 -05:00