Brad King
efe48189bf
cmake-gui: Restore application icon on macOS
...
In commit 41e223deb3 (CMake GUI: Split up into libraries, add test shim,
2020-09-14) the macOS icon source file was moved to CMakeGUILib, but it
needs to be directly in the main application in order to be attached to
the `.app` in the right place.
2020-10-13 10:35:14 -04:00
Craig Scott
0a9af79995
export: Remove leftover inaccurate code comment
...
No functional changes.
Relates: !5352
2020-10-13 21:38:29 +11:00
Craig Scott
446874a8a1
Merge topic 'export-namelink-only' into release-3.19
...
64690f6df0 export: Do not fail generation for namelink-only case
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5352
2020-10-12 19:19:32 -04:00
Deniz Bahadir
64690f6df0
export: Do not fail generation for namelink-only case
2020-10-09 22:29:22 +02:00
Kyle Edwards
f4215ee57d
Ninja Multi-Config: Fix segfault when installing an export
...
Fixes : #21290
2020-10-09 13:51:01 -04:00
Brad King
302b00a262
Begin 3.19 release versioning
2020-10-08 11:23:38 -04:00
Brad King
8f2ba9a3fc
Merge topic 'ignore_MSB_warnings'
...
b756ec8a46 cm_cxx_features: Filter out MSBXXXX warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5348
2020-10-08 09:29:02 -04:00
Anonymous Maarten
b756ec8a46
cm_cxx_features: Filter out MSBXXXX warnings
...
When building CMake in `%TMP%` on Windows, MSBuild issues warnings.
Filter those out to avoid breaking C++ feature checks.
Fixes : #21270
2020-10-08 09:24:02 -04:00
Kitware Robot
75a486f8c0
CMake Nightly Date Stamp
2020-10-08 00:01:15 -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
Kitware Robot
a410755597
CMake Nightly Date Stamp
2020-10-07 00:01:18 -04:00
Kyle Edwards
a395cb516b
CMakePresets.json: Prohibit empty variable names
2020-10-06 12:09:38 -04:00
Brad King
8c4c658ab0
Merge topic 'cmake-presets'
...
6f8fdc686c .gitignore: Add CMakeUserPresets.json
1d25760198 Help: Add presets documentation and release notes
a4382f72d7 CMake GUI: Add presets functionality
8617479061 CMake: Add presets functionality
06128cf949 Presets: Add cmCMakePresetsFile class
5a36542086 Refactor: Add allowArch parameter to cmake::CreateGlobalGenerator()
3059e6aed7 cmJSONHelpers: Add new Bind() function
8682d1b7b2 CMake GUI Tests: Increase default sleep time
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev >
Merge-request: !5169
2020-10-06 10:49:59 -04:00
Brad King
e0045916c2
Merge topic 'fix-uninitialized-21166'
...
c27553afb2 cmCTestBuildHandler: Avoid uninitialized line-numbers
e4e85c5b2d cmake: Fix uninitialized member in HandleDeleteCacheVariables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5321
2020-10-06 06:55:31 -04:00
Brad King
c814172e84
Merge topic 'csharp-source_group-bugfix'
...
8d87cfdbf3 VS: Fix regression in C# source links
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5314
2020-10-06 06:47:19 -04:00
Kitware Robot
bac0e0adb6
CMake Nightly Date Stamp
2020-10-06 00:01:15 -04:00
Kinan Mahdi
8d87cfdbf3
VS: Fix regression in C# source links
...
Fix logic used since commit ac6b18cd90 (CSharp: Add support for source
groups with out-of-source builds, 2020-02-18, v3.18.0-rc1~645^2).
Add a check of the physical file location for C# source groups.
2020-10-05 12:49:14 -04:00
Kyle Edwards
a4382f72d7
CMake GUI: Add presets functionality
2020-10-05 09:49:59 -04:00
Kyle Edwards
8617479061
CMake: Add presets functionality
2020-10-05 09:49:59 -04:00
Kyle Edwards
06128cf949
Presets: Add cmCMakePresetsFile class
2020-10-05 09:49:59 -04:00
Kyle Edwards
5a36542086
Refactor: Add allowArch parameter to cmake::CreateGlobalGenerator()
2020-10-05 09:49:59 -04:00
Kyle Edwards
3059e6aed7
cmJSONHelpers: Add new Bind() function
2020-10-05 09:49:59 -04:00
Adriaan de Groot
c27553afb2
cmCTestBuildHandler: Avoid uninitialized line-numbers
...
When commands fail, there is no line number to report; still initialize
it explicitly to avoid compiler warnings.
Issue: #21166
2020-10-05 09:14:32 -04:00
Adriaan de Groot
e4e85c5b2d
cmake: Fix uninitialized member in HandleDeleteCacheVariables
...
If there is no existing value, mark the saved entry as UNINITIALIZED
(avoids compiler warning about uninitialized type).
Issue: #21166
2020-10-05 09:13:18 -04:00
Kitware Robot
a0964cbe63
CMake Nightly Date Stamp
2020-10-05 00:01:34 -04:00
Craig Scott
1291dd3103
Merge topic 'xcode-refactor-framework-linking'
...
ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5216
2020-10-04 17:05:57 -04:00
Kitware Robot
3ae3b352d1
CMake Nightly Date Stamp
2020-10-04 00:01:13 -04:00
Kitware Robot
63aa279343
CMake Nightly Date Stamp
2020-10-03 00:01:16 -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
Brad King
038b757561
Merge topic 'ctest-memcheck-compute-sanitizer'
...
050720f3ad CTest: add compute-sanitizer alias for cuda-memcheck
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5305
2020-10-02 08:35:06 -04:00
Marc Chevrier
b4a14fecb0
Merge topic 'optimize-cmListFileFunction'
...
e614528ad1 cmListFileCache: Make cmListFileFunction a shared pointer
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5228
2020-10-02 08:27:12 -04:00
Gusts Kaksis
ce2dee9e5b
Xcode: Don't add framework as -framework argument in linker info list
2020-10-02 22:13:00 +10:00
Kitware Robot
b3adccc8ed
CMake Nightly Date Stamp
2020-10-02 00:01:13 -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
2e8b85b040
Merge topic 'macos-arm64'
...
b6c60f14b6 macOS: Default to arm64 architecture on Apple Silicon hosts
383e81aa60 Tests: Teach RunCMake to ignore Xcode internal objc warnings
8f75912176 Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one value
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5291
2020-10-01 08:45:13 -04:00
Brad King
cb8c51a08e
Merge topic 'cmake-gui-reference-manual'
...
0fe2ee3d43 CMake GUI: Add "CMake Reference Manual" help item
391ff1ec51 Refactor: Modernize cmSystemTools::FindCMakeResources()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5302
2020-10-01 08:17:11 -04: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
b1e1cb2d0d
Merge topic 'msvc_implib'
...
7bda9a7fc7 VS: Make ImportLibary generation optional
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5282
2020-10-01 07:58:09 -04:00
Brad King
95aa5c40cf
Merge topic 'find_package-check-dir'
...
2ff1693066 find_package: avoid showing files as directories when searching config files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5301
2020-10-01 07:57:23 -04:00
Oleksandr Koval
e614528ad1
cmListFileCache: Make cmListFileFunction a shared pointer
...
Passing cmListFileFunction everywhere by-value involves big overhead.
Now cmListFileFunction stores std::shared_ptr to the underlying data.
2020-10-01 14:28:03 +03:00
Tobias Ribizel
050720f3ad
CTest: add compute-sanitizer alias for cuda-memcheck
2020-10-01 09:01:01 +02:00
Kitware Robot
47b569a858
CMake Nightly Date Stamp
2020-10-01 00:01:15 -04:00
Kyle Edwards
0fe2ee3d43
CMake GUI: Add "CMake Reference Manual" help item
...
And switch the ordering of "Help" and "About".
2020-09-30 16:17:31 -04:00
Kyle Edwards
391ff1ec51
Refactor: Modernize cmSystemTools::FindCMakeResources()
...
Use cmStrCat(), cmStrLen(), and cmHasLiteralSuffix().
2020-09-30 16:13:10 -04:00
Andrey Starodubtsev
c1f1eaf7a4
VS: Teach CMAKE_MFC_FLAG to support generator expressions
2020-09-30 12:24:13 -04:00
Mark Jansen
7bda9a7fc7
VS: Make ImportLibary generation optional
...
Fixes : #21180
2020-09-30 12:11:54 -04:00
Brad King
b6c60f14b6
macOS: Default to arm64 architecture on Apple Silicon hosts
...
Detect `arm64` hardware using a method that pierces Rosetta. If
`CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the
toolchain to use `arm64` instead of letting the toolchain pick.
Fixes : #20989
2020-09-30 11:58:44 -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
sanchayanghosh
2ff1693066
find_package: avoid showing files as directories when searching config files
...
Teach `cmFileListGeneratorBase::Consider` to skip non-directories so
that all call sites get the check.
Fixes : #21212
2020-09-30 11:50:23 -04:00
Craig Scott
f002c1cfc7
Merge topic 'find-package-check-empty-version-range'
...
212b0afb66 find_package: raise error on empty version range
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5294
2020-09-30 08:22:49 -04:00