Alex Turbov
efe139d1b8
cmake_host_system_information: Can run fallback scripts
2021-08-20 09:35:12 -04:00
Alex Turbov
1e65e4a6e5
cmake_host_system_information: Can read /etc/os-release file
2021-08-20 09:35:09 -04:00
Alex Turbov
e808cbb1dd
Testing: Convert cmake_host_system_information tests into RunCMake
2021-08-02 23:43:47 +03:00
Alex Turbov
9e831284e5
Documentation: Use definition list instead of tables
...
Transform tables into definition list for `cmake_host_system_information`
command manual.
2021-07-30 03:40:13 +03:00
Alex Turbov
346f3de005
Refactor: Deduplicate code for VS_nn_DIR keys processing
2021-07-30 03:40:13 +03:00
Alex Turbov
f9947ec9e3
Refactor: Use string view
2021-07-30 03:40:12 +03:00
Alex Turbov
69d3fcf2c8
Refactor: bool GetValue(..., string&) → optional<string> GetValue(...)
...
Also, split `GetValue()` into 2 overloads:
- one used to get documented keys
- the other (different signature) to get `VS_nn_DIR` keys
2021-07-30 03:27:16 +03:00
Alex Turbov
d6b4982697
Refactor: Move module private functions on top
2021-07-28 04:38:26 +03:00
Alex Turbov
d6299d9941
Refactor: Run CPU/OS/Memory tests once on first run
2021-07-28 02:18:24 +03:00
Brad King
ea28d28a61
Merge topic 'FindBLAS-eml'
...
a7f6e5dbf9 FindBLAS: use unset instead of set for empty variables
92edd7376b FindBLAS: Fix regression in finding EML_mt after recent refactoring
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6397
2021-07-27 11:22:35 -04:00
Igor S. Gerasimov
a7f6e5dbf9
FindBLAS: use unset instead of set for empty variables
2021-07-27 10:53:54 -04:00
Igor S. Gerasimov
92edd7376b
FindBLAS: Fix regression in finding EML_mt after recent refactoring
...
Fix a variable referenced missed by commit 76487b04b1
(Find{BLAS,LAPACK}: clean variables, 2021-07-13).
2021-07-27 10:53:25 -04:00
Brad King
6643c44432
Merge branch 'release-3.21'
2021-07-27 10:15:19 -04:00
Brad King
f7cf69e34a
CMake 3.21.1
v3.21.1
2021-07-27 09:29:13 -04:00
Brad King
9cd719b8f3
Merge branch 'release-3.21'
2021-07-27 09:11:33 -04:00
Brad King
418313a7d6
Merge topic 'FindXCTest-xcode-12.5'
...
0b5301a778 FindXCTest: Fix output directory for test bundle with Xcode 12.5
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6379
2021-07-27 09:11:33 -04:00
Brad King
675c130091
Merge topic 'FindXCTest-xcode-12.5' into release-3.21
...
0b5301a778 FindXCTest: Fix output directory for test bundle with Xcode 12.5
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6379
2021-07-27 09:11:32 -04:00
Brad King
c38d009f71
Merge branch 'release-3.21'
2021-07-27 09:10:31 -04:00
Brad King
f90e100b73
Merge topic 'disable-exec-info' into release-3.21
...
aa4c30182b Add option to explicitly avoid using execinfo for backtraces
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6386
2021-07-27 09:10:31 -04:00
Brad King
00199e96ef
Merge topic 'disable-exec-info'
...
aa4c30182b Add option to explicitly avoid using execinfo for backtraces
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6386
2021-07-27 09:10:31 -04:00
Brad King
87f7aecc27
Merge branch 'release-3.21'
2021-07-27 09:09:32 -04:00
Brad King
ec35b3b512
Merge topic 'vs-flag-FS'
...
937f454fb9 VS: Remove C++ module CompileAs flag table entries for v142 and v143
8fb349a80e VS: Remove cl /FS entry from flag table for v142 and v143
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Niels Dekker <niels_dekker_address_until_2024@xs4all.nl >
Merge-request: !6390
2021-07-27 09:09:32 -04:00
Brad King
f90d995e1a
Merge topic 'vs-flag-FS' into release-3.21
...
937f454fb9 VS: Remove C++ module CompileAs flag table entries for v142 and v143
8fb349a80e VS: Remove cl /FS entry from flag table for v142 and v143
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Niels Dekker <niels_dekker_address_until_2024@xs4all.nl >
Merge-request: !6390
2021-07-27 09:09:31 -04:00
Brad King
d1c592109d
Merge branch 'release-3.21'
2021-07-27 09:08:35 -04:00
Brad King
e423f530ba
Merge topic 'test-compile-options-none'
...
91968ca668 Tests/CompileOptions: allow CMAKE_BUILD_TYPE=None
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6385
2021-07-27 09:08:35 -04:00
Brad King
a5f655bc0d
Merge topic 'test-compile-options-none' into release-3.21
...
91968ca668 Tests/CompileOptions: allow CMAKE_BUILD_TYPE=None
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6385
2021-07-27 09:08:34 -04:00
Kitware Robot
c15bb6f8b8
CMake Nightly Date Stamp
2021-07-27 00:01:08 -04:00
Yauheni Khnykin
0b5301a778
FindXCTest: Fix output directory for test bundle with Xcode 12.5
...
The fix from commit eafe740ead (FindXCTest: Fix output directory for
test bundle with new build system, 2021-02-09, v3.19.5~5^2) is not
necessary with Xcode 12.5, which seems to have changed/fixed the
behaviour again.
Fixes : #22462
2021-07-26 13:31:10 -04:00
Đoàn Trần Công Danh
aa4c30182b
Add option to explicitly avoid using execinfo for backtraces
...
backtrace(3) from libexecinfo in musl will run into crash [1].
Provide an option to disable it explicitly even if libexecinfo is
present.
1: https://www.openwall.com/lists/musl/2021/07/17/1
2021-07-26 12:14:02 -04:00
Brad King
6c01bbe180
Merge branch 'release-3.21'
2021-07-26 12:10:24 -04:00
Brad King
0615aeffbf
Merge topic 'update-kwsys' into release-3.21
...
4977184128 Merge branch 'upstream-KWSys' into update-kwsys
7fc3f7001a KWSys 2021-07-26 (d5fd6ca2)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6391
2021-07-26 12:10:23 -04:00
Brad King
865e266a14
Merge topic 'update-kwsys'
...
4977184128 Merge branch 'upstream-KWSys' into update-kwsys
7fc3f7001a KWSys 2021-07-26 (d5fd6ca2)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6391
2021-07-26 12:10:23 -04:00
Brad King
937f454fb9
VS: Remove C++ module CompileAs flag table entries for v142 and v143
...
The `CompileAs` entry in a `.vcxproj` file with values:
* `CompileAsCppModule` for `-interface`
* `CompileAsCppModuleInternalPartition` for `-internalPartition`
* `CompileAsHeaderUnit` for `-exportHeader`
does not cause the corresponding flag to be added to the command line.
Drop the flag table entries so that the flags go to `AdditionalOptions`.
Fixes : #22477
2021-07-26 10:49:26 -04:00
Brad King
8fb349a80e
VS: Remove cl /FS entry from flag table for v142 and v143
...
The `ForceSynchronousPDBWrites` entry in a `.vcxproj` file does not
actually cause the `/FS` flag to be added to the command line.
Fixes : #22476
2021-07-26 10:45:09 -04:00
Brad King
4977184128
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2021-07-26 (d5fd6ca2)
2021-07-26 10:17:18 -04:00
KWSys Upstream
7fc3f7001a
KWSys 2021-07-26 (d5fd6ca2)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit d5fd6ca2ba5b4ca04d7ac346ceb87f7d2b0ad8aa (master).
Upstream Shortlog
-----------------
Dženan Zukić (1):
7079df74 SystemTools: Fix GetOperatingSystemNameAndVersion empty string return
Đoàn Trần Công Danh (1):
4e69b791 SystemInformation: Add option to explicitly avoid using execinfo
2021-07-26 10:17:18 -04:00
Đoàn Trần Công Danh
91968ca668
Tests/CompileOptions: allow CMAKE_BUILD_TYPE=None
...
In the same spirit of commit ce1cadd35a , (Tests/ConfigSources: fix for
non main stream CMAKE_BUILD_TYPE, 2021-04-01).
Allow distributions' check to pass seemlessly.
Issue: #22470
2021-07-26 09:50:26 -04:00
Brad King
0d987bbd88
Merge topic 'refactor-target-export'
...
e8e19ed8f2 Refactor export file generator inteface
55e4753bbb Refactor cmTargetExport removing InterfaceIncludeDirecories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6370
2021-07-26 09:44:15 -04:00
Brad King
60eecc1fa2
Merge topic 'support_other_cuda_libdevice_locations'
...
125bbf07b1 CUDA: Extract nvvm libdevice location from compiler verbose output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Raul Tambre <raul@tambre.ee >
Merge-request: !6365
2021-07-26 09:41:29 -04:00
Brad King
0079f24f45
Merge topic 'doc-custom-command-depfiles' into release-3.21
...
f6e5743d0e Help: Clarify and correct wording around DEPFILE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6387
2021-07-26 09:39:55 -04:00
Brad King
cac4d5d923
Merge branch 'release-3.21'
2021-07-26 09:39:55 -04:00
Brad King
2cc59a80b8
Merge topic 'doc-custom-command-depfiles'
...
f6e5743d0e Help: Clarify and correct wording around DEPFILE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6387
2021-07-26 09:39:55 -04:00
Brad King
00a3889c19
Merge topic 'ninja-multi-test-fix' into release-3.21
...
08131e83bc Tests: Clean up Ninja Multi-Config test from cb777dd
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6383
2021-07-26 09:36:49 -04:00
Brad King
b9ee85cc29
Merge branch 'release-3.21'
2021-07-26 09:36:49 -04:00
Brad King
f68bff274b
Merge topic 'ninja-multi-test-fix'
...
08131e83bc Tests: Clean up Ninja Multi-Config test from cb777dd
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6383
2021-07-26 09:36:49 -04:00
Brad King
2b7cd57796
Merge branch 'release-3.21'
2021-07-26 09:34:52 -04:00
Brad King
00cbc4cff7
Merge topic 'autouic-header-depends'
...
e5ec0e52f4 AUTOUIC: Fix generating of dependency rules for UI header files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6380
2021-07-26 09:34:52 -04:00
Brad King
98d813b92c
Merge topic 'autouic-header-depends' into release-3.21
...
e5ec0e52f4 AUTOUIC: Fix generating of dependency rules for UI header files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6380
2021-07-26 09:34:51 -04:00
Brad King
d31f0f5682
Merge branch 'release-3.21'
2021-07-26 09:33:57 -04:00
Brad King
6a93b5a2ec
Merge topic 'autogen-deps'
...
4bda03370d AutoGen: Fix needless compilation of mocs_compilation.cpp
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6381
2021-07-26 09:33:57 -04:00