Brad King
ce6f9610b3
Merge topic 'FindPython-Apple-python3' into release-3.19
...
5772ca0a53 FindPython: Ensure Apple Xcode python 3 is usable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5356
2020-10-13 08:26:14 -04:00
Kyle Edwards
55fce4425f
Merge topic 'cmake-presets-documentation-fix' into release-3.19
...
94c955e508 Tests: Test the CMakePresets.json example in the documentation
d6af1e83bc Help: Fix documentation of CMakePresets.json's cacheVariables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5353
2020-10-12 14:04:41 -04:00
Marc Chevrier
5772ca0a53
FindPython: Ensure Apple Xcode python 3 is usable
...
The python 3 distributed as part of Xcode requires the specification
of a 'rpath' pointing at frameowrks root for a correct execution.
Fixes : #21293
2020-10-12 15:45:55 +02:00
Kyle Edwards
94c955e508
Tests: Test the CMakePresets.json example in the documentation
2020-10-09 15:35:54 -04:00
Kyle Edwards
18372afcd4
Help: Fix documentation for Ninja Multi-Config's build.ninja
2020-10-09 13:50:36 -04:00
Kyle Edwards
d6af1e83bc
Help: Fix documentation of CMakePresets.json's cacheVariables
...
cacheVariables is a map with variable names as the keys, but the
example in the documentation was not updated to reflect this. Fix
the example.
2020-10-09 11:41:47 -04:00
Brad King
b16eb7c76d
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2020-10-08 11:22:38 -04:00
Brad King
e1ab55b4ca
Help: Update Sphinx versionadded directives for 3.19 release
...
Run the script:
Utilities/Sphinx/update_versions.py --since v3.18.0 --overwrite
2020-10-08 09:30:26 -04:00
Brad King
1b6c0b375e
Help: Organize and revise 3.19 release notes
...
Add section headers similar to the 3.18 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2020-10-08 09:30:25 -04:00
Brad King
b81cb27f20
Help: Consolidate 3.19 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.19.rst`.
2020-10-08 09:30:25 -04:00
Brad King
bc19ceb6fe
Merge topic 'check_cuda_helpers'
...
5c66ac31e6 CUDA: CheckLinkerFlag now supports CUDA
da2622ff36 CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5338
2020-10-08 09:22:21 -04:00
Robert Maynard
5c66ac31e6
CUDA: CheckLinkerFlag now supports CUDA
2020-10-08 08:30:59 -04:00
Robert Maynard
da2622ff36
CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags
2020-10-08 08:30:59 -04:00
Kyle Edwards
0a638e86b2
Help: Add note about Visual Studio tools for Android
2020-10-07 10:24:38 -04:00
Kyle Edwards
55689ce800
Help: Add ref to Ninja Generators section
2020-10-07 10:23:31 -04:00
Brad King
2e53641d76
Merge topic 'user-interaction-presets'
...
4bdc1c0a2c Help: Update user interaction guide with presets info
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5340
2020-10-07 07:48:24 -04:00
Brad King
c4c86acaac
Merge topic 'cmake-presets-empty-var'
...
a395cb516b CMakePresets.json: Prohibit empty variable names
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5339
2020-10-07 07:25:52 -04:00
Brad King
c61f820a7f
Merge topic 'add_ispc_to_check_helpers'
...
e17e2c6a51 ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5337
2020-10-07 07:13:21 -04:00
Kyle Edwards
4bdc1c0a2c
Help: Update user interaction guide with presets info
2020-10-06 16:11:50 -04:00
Kyle Edwards
a395cb516b
CMakePresets.json: Prohibit empty variable names
2020-10-06 12:09:38 -04:00
Kyle Edwards
6e10518cbc
Help: Add IDE integration guide
2020-10-06 11:54:12 -04:00
Robert Maynard
e17e2c6a51
ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC
2020-10-06 10:47:20 -04:00
Kyle Edwards
1d25760198
Help: Add presets documentation and release notes
2020-10-05 09:49:59 -04:00
Raul Tambre
079ea66468
CMakeDetermineCompilerABI: Handle NVCC-style -Werror flags
...
NVCC doesn't require an equals sign for its -Werror flags.
Fixes #21265 .
2020-10-04 09:09:21 +03:00
Brad King
3ec0f9d620
Merge topic 'UseSWIG-output-source-file-properties'
...
4a81a0ce3d UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5303
2020-10-02 09:55:26 -04:00
Brad King
a64c779746
Merge topic 'execute_process-fatal-error'
...
116a427eb1 execute_process: add options for fatal errors on subprocess failure
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5243
2020-10-02 08:38:53 -04:00
Craig Scott
468bcc3291
Merge topic 'FindSWIG-version-range'
...
1d300ee2a9 FindSWIG: Add version range support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5306
2020-10-02 06:58:13 -04:00
Brad King
7074b4c08c
Help/dev: Add maintainer guide steps for CI packaging pipeline updates
2020-10-01 12:16:24 -04:00
Asit Dhal
116a427eb1
execute_process: add options for fatal errors on subprocess failure
...
Fixes : #19930
2020-10-01 17:07:44 +02:00
Brad King
436b57ccb2
Merge topic 'genexpr-for-mfc-flag'
...
c1f1eaf7a4 VS: Teach CMAKE_MFC_FLAG to support generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5283
2020-10-01 07:59:33 -04:00
Brad King
9fc742041b
Merge topic 'intel-clang'
...
5c3a93ab88 Intel: Add Intel Clang compiler identification
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5300
2020-10-01 07:55:13 -04:00
Craig Scott
431f1183ef
Merge topic 'FindPython-version_range'
...
e4b7049230 FindPython: Add version range support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5265
2020-10-01 07:43:38 -04:00
Marc Chevrier
1d300ee2a9
FindSWIG: Add version range support
2020-10-01 12:00:29 +02:00
Marc Chevrier
4a81a0ce3d
UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties
...
These properties enable to manage output directories on
per source file basis.
Fixes : #21250
2020-09-30 19:19:14 +02:00
Andrey Starodubtsev
c1f1eaf7a4
VS: Teach CMAKE_MFC_FLAG to support generator expressions
2020-09-30 12:24:13 -04:00
Brad King
d91c3e33cb
Merge topic 'cmake_language-DEFER'
...
e8b0359a43 cmake_language: Add signature to DEFER calls to later times
9880549405 cmake_language: Make all errors fatal
4f33f3dcff cmake_language(CALL): Accept empty ${var} expansions
4ebe9c4ce1 cmake_language(EVAL): Factor out internal helper
78ff24a3a7 Help: Use singular placeholder name in cmake_language signature
edd60d4419 Tests: Simplify RunCMake.cmake_language invalid command cases
1a5bf8245e cmMakefile: Clarify name of internal list file run method
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5262
2020-09-30 11:55:33 -04:00
Marc Chevrier
e4b7049230
FindPython: Add version range support
...
Fixes : #21107
2020-09-30 14:30:23 +02:00
Brad King
e8b0359a43
cmake_language: Add signature to DEFER calls to later times
...
Fixes : #19575
2020-09-29 17:12:33 -04:00
Harini Chilamantula
5c3a93ab88
Intel: Add Intel Clang compiler identification
...
The compiler identifies itself with the `__INTEL_CLANG_COMPILER`
preprocessor definition.
2020-09-29 17:00:43 -04:00
Brad King
78ff24a3a7
Help: Use singular placeholder name in cmake_language signature
2020-09-29 10:00:23 -04:00
Kyle Edwards
af048185b1
Merge topic 'cmake-gui-environment'
...
85f5009d27 CMake GUI: Add environment editor
d6c051c126 Tests: Add some basic configure tests for the CMake GUI
7cd95d9996 Tests: Add CatchShow helper for CMake GUI tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5270
2020-09-29 09:51:22 -04:00
Brad King
0021d24fb3
Merge topic 'add_lang_agnostic_check_compile_flag_module'
...
90dead024c CheckCompilerFlag: unified way to check compiler flags per language
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5281
2020-09-29 05:45:07 -04:00
Brad King
59d84ab9f3
Merge topic 'update-guides'
...
9b988d9e57 Help: Cleanup guides
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5280
2020-09-29 05:38:55 -04:00
Kyle Edwards
85f5009d27
CMake GUI: Add environment editor
2020-09-28 09:46:35 -04:00
Robert Maynard
90dead024c
CheckCompilerFlag: unified way to check compiler flags per language
2020-09-28 09:07:54 -04:00
Betsy McPhail
9b988d9e57
Help: Cleanup guides
...
* Move sections to be same level as Introduction in "Using Dependecies"
* Rename "Importing Exporting Targets" to "Importing Exporting Guide"
* Add an Introduction header to the Tutorial and Importing Exporting Guide
2020-09-25 15:29:05 -04:00
Betsy McPhail
0aea38d25e
Help: Change User Interaction image paths to be relative to source file
2020-09-25 14:45:01 -04:00
Raul Tambre
c63fe01835
CUDA: Clang separable compilation
...
For NVCC the compiler takes care of device linking when passed the "-dlink"
flag.
Clang doesn't support such magic and requires the buildsystem to do the work
that NVCC does behind the scenes.
The implementation is based on Bazel's device linking documentation:
7cabcdf073/third_party/nccl/build_defs.bzl.tpl (L259)
Closes : #20726
2020-09-24 15:19:54 -04:00
Brad King
7b38161ca1
Merge topic 'check-source-modules'
...
357e2ef429 CheckSoureRuns: Add a unified way to check if a source runs
10ae907de0 CheckSoureCompiles: Add a unified way to check if a source compiles
f5c928f73c Add a test to verify '\' handling in CHECK_CXX_SOURCE_COMPILES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev >
Merge-request: !5223
2020-09-24 15:12:59 -04:00
Craig Scott
ac5195c408
Merge topic 'find_package-version-range'
...
5b3356263c CMakePackageConfigHelpers: Add version range support
6bfc442fde FPHSA: add support of version range
d7df81067b find_package: Add support of version range
09095dbcd2 cmFindPackageCommand: Refactoring
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev >
Merge-request: !5226
2020-09-24 07:29:03 -04:00