Brad King
6940a67d47
Merge topic 'try_compile-cross-app-bundles'
...
81549baff4 try_compile: Fix COPY_FILE with app-bundles on non-macOS hosts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7377
2022-06-17 11:31:38 -04:00
Brad King
4f7291928b
Merge topic 'msvc_cuda_pass_arch_flags_in_additional_options'
...
e3983168da CUDA: MSVC pass all cuda gencode flags via AdditionalOptions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7359
2022-06-17 11:29:54 -04:00
Kitware Robot
467d0e01f8
CMake Nightly Date Stamp
2022-06-17 00:01:11 -04:00
Heiko Lewin
81549baff4
try_compile: Fix COPY_FILE with app-bundles on non-macOS hosts
...
Cross compiling from eg linux to apple-platforms requires handling of
.app-Bundles.
Fixes : #23597
2022-06-16 14:29:16 -04:00
Brad King
dd8befd9d3
Merge topic 'add_SYSTEM_prop'
...
69beee5314 Add SYSTEM target property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7308
2022-06-16 09:00:45 -04:00
Brad King
7eddfed10f
Merge topic 'xcode-launch-mode'
...
a1a0ae3ad4 Xcode: Add Xcode SCHEME control for 'Launch' control
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7355
2022-06-16 08:59:51 -04:00
Brad King
d0ea344b03
Merge topic '23376-add-compile-properties-to-csharp-sdk-projects'
...
ba6cecea8e VS: Add compile properties to .NET Sdk projects
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7373
2022-06-16 08:59:02 -04:00
Robert Maynard
e3983168da
CUDA: MSVC pass all cuda gencode flags via AdditionalOptions
...
Fixes #23491
2022-06-16 08:13:57 -04:00
Kitware Robot
696b87217a
CMake Nightly Date Stamp
2022-06-16 00:01:09 -04:00
Harry Mallon
a1a0ae3ad4
Xcode: Add Xcode SCHEME control for 'Launch' control
2022-06-15 19:02:56 +01:00
Da Quexian
69beee5314
Add SYSTEM target property
...
If it is ON, treat INTERFACE_INCLUDE_DIRECTORIES as system include directories.
Issue: #18040
Signed-off-by: Da Quexian <daquexian566@gmail.com >
2022-06-16 00:25:27 +08:00
Maxime Raynaud
ba6cecea8e
VS: Add compile properties to .NET Sdk projects
2022-06-15 10:59:16 -04:00
Brad King
85dc7c763a
Merge topic 'find_item-validation-function'
...
f3b5a7d6df find_(program,library,file,path): add validation function
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7364
2022-06-15 09:59:12 -04:00
Brad King
086030caf0
Merge topic 'cuda_use_response_files'
...
6377a43814 CUDA: Support response files with nvcc
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7358
2022-06-15 09:55:26 -04:00
Brad King
a58ec21389
Merge topic 'post-rel-dev'
...
ac24f4d49b Configure CMake itself with policies through CMake 3.23
25b1312a6d export: Increase maximum policy version in exported files to 3.23
5c8b776ca3 Add deprecation warnings for policies CMP0102 and below
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7367
2022-06-15 09:52:48 -04:00
Kitware Robot
213d5daccc
CMake Nightly Date Stamp
2022-06-15 00:01:20 -04:00
Marc Chevrier
f3b5a7d6df
find_(program,library,file,path): add validation function
...
Fixes : #23603
2022-06-14 16:17:46 -04:00
Brad King
25b1312a6d
export: Increase maximum policy version in exported files to 3.23
...
The files generatd by `install(EXPORT)` and `export()` commands
are known to work with policies as of CMake 3.23, so enable them
in sufficiently new CMake versions.
2022-06-14 15:05:09 -04:00
Brad King
5c8b776ca3
Add deprecation warnings for policies CMP0102 and below
...
The OLD behaviors of all policies are deprecated, but only by
documentation. Add an explicit deprecation diagnostic for policies
introduced in CMake 3.17 and below to encourage projects to port
away from setting policies to OLD.
2022-06-14 15:05:03 -04:00
Brad King
a6269e106c
Merge topic 'lcc-warnings'
...
beb07cdda7 Source: Convince LCC that RAII variables are used
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7357
2022-06-14 07:35:21 -04:00
Brad King
93812f95c6
Merge topic 'spelling-occurred'
...
98a10290a8 cmSystemTools: Fix 'ErrorOccurred' spelling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7353
2022-06-14 07:34:32 -04:00
Kitware Robot
a491edd54f
CMake Nightly Date Stamp
2022-06-14 00:01:06 -04:00
Robert Maynard
6377a43814
CUDA: Support response files with nvcc
2022-06-13 14:56:58 -04:00
Brad King
beb07cdda7
Source: Convince LCC that RAII variables are used
...
Extend the change from commit 5ad8862318 (Source: Convince NVHPC that
RAII variables are used, 2021-04-26, v3.21.0-rc1~254^2~1) to apply to
LCC too.
2022-06-13 11:07:35 -04:00
FeRD (Frank Dana)
98a10290a8
cmSystemTools: Fix 'ErrorOccurred' spelling
...
Rename the booleans 's_ErrorOccured' and 's_FatalErrorOccured' to
's_ErrorOccurred' and 's_FatalErrorOccurred', respectively.
Rename the getters and setters to 'Get[Fatal]ErrorOccurred' and
'Set[Fatal]ErrorOccurred', and fix all uses across the codebase.
2022-06-13 09:05:24 -04:00
Kitware Robot
87273cc9d3
CMake Nightly Date Stamp
2022-06-13 00:01:29 -04:00
Kitware Robot
b145553bca
CMake Nightly Date Stamp
2022-06-12 00:01:11 -04:00
Brad King
61ebc9d0e8
Merge topic 'cmake-gui-qt6-decode'
...
497397bd17 cmake-gui: Support non-ASCII chars on Windows with Qt6
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7346
2022-06-11 05:52:16 -04:00
Brad King
f0ebdce4e8
Merge topic 'cmake-gui-qt6-decode' into release-3.24
...
497397bd17 cmake-gui: Support non-ASCII chars on Windows with Qt6
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7346
2022-06-11 05:52:15 -04:00
Brad King
8f6f1e5c7e
Merge topic 'cmWindowsRegistry-cstdint'
...
bc4c0d657a cmWindowsRegistry: Add missing <cstdint> include
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7349
2022-06-11 05:49:39 -04:00
Brad King
a3e2aa3494
Merge topic 'cmWindowsRegistry-cstdint' into release-3.24
...
bc4c0d657a cmWindowsRegistry: Add missing <cstdint> include
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7349
2022-06-11 05:49:38 -04:00
Kitware Robot
6a9651d861
CMake Nightly Date Stamp
2022-06-11 00:01:10 -04:00
Mehdi Chinoune
497397bd17
cmake-gui: Support non-ASCII chars on Windows with Qt6
...
Since commit baead1e2a8 (Encoding: Remove option to use ANSI code page
internally, 2016-11-01, v3.8.0-rc1~358^2), we always use UTF-8 strings
internally. Using fromLocal8Bit/toLocal8Bit + QTextCodec is no longer
needed. Convert to fromStdString/toStdString instead, which should work
both with Qt5 and Qt6.
Fixes : #23565
2022-06-10 14:33:20 -04:00
Brad King
970fcf7bec
Merge topic 'update-kwsys'
...
a54f7a6983 Merge branch 'upstream-KWSys' into update-kwsys
975c44654d KWSys 2022-06-09 (9b65e88d)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7345
2022-06-10 11:11:26 -04:00
Brad King
efbbae9705
Merge topic 'update-kwsys' into release-3.24
...
a54f7a6983 Merge branch 'upstream-KWSys' into update-kwsys
975c44654d KWSys 2022-06-09 (9b65e88d)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7345
2022-06-10 11:11:25 -04:00
Brad King
dfd06aa101
Merge topic 'CheckIPOSupported-honor-flags'
...
ec08bc1752 CheckIPOSupported: Compile check using flags of calling project
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7343
2022-06-10 11:05:44 -04:00
nanoric
bc4c0d657a
cmWindowsRegistry: Add missing <cstdint> include
...
It is needed for `std::uint8_t`, but was left out of commit 8d7e80cf3d
(find_* commands: add control over Windows registry views, 2022-04-16).
For some reason the include-what-you-use tool does not think the include
is needed, so add an `IWYU pragma` to keep it.
2022-06-10 10:53:49 -04:00
Brad King
99a0f1b1b2
Merge topic 'revert-msvc-compilers-default-to-ZI'
...
7d73e88d3a MSVC: Revert "Default to -ZI instead of /Zi for x86 and x64"
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7344
2022-06-10 10:40:06 -04:00
Brad King
ec08bc1752
CheckIPOSupported: Compile check using flags of calling project
...
Forward `CMAKE_<LANG>_FLAGS` and `CMAKE_<LANG>_FLAGS_DEBUG` from the
calling project into the test project. The set of flags may affect the
availability of IPO support. Since this may change the result of the
check for existing projects, add a policy for compatibility.
This was discovered after commit 5fcadc481e (MSVC: Default to -ZI
instead of /Zi for x86 and x64, 2022-05-24) introduced policy CMP0138 to
switch our default for MSVC's debug info flag. The `-ZI` flag is
incompatible with the `-GL` flag used for IPO, so CMP0138 was reverted
pending future work on an alternative solution. Re-use the CMP0138
policy number for this change to CheckIPOSupported instead.
Fixes : #23607
2022-06-10 09:12:43 -04:00
Kitware Robot
5ed9232d78
CMake Nightly Date Stamp
2022-06-10 00:01:08 -04:00
Brad King
a54f7a6983
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2022-06-09 (9b65e88d)
2022-06-09 14:19:28 -04:00
Brad King
7d73e88d3a
MSVC: Revert "Default to -ZI instead of /Zi for x86 and x64"
...
Revert commit 5fcadc481e (MSVC: Default to -ZI instead of /Zi for x86
and x64, 2022-05-24). The `-ZI` flag is incompatible with the `-GL`
flag used for IPO, and so is not an unconditionally better default.
Revert the change pending future design of a first-class setting for
MSVC debug info format that can be automatically reconciled with IPO
settings.
That commit introduced policy CMP0138, but we already have later policy
numbers used too. Leave placeholder text to avoid policy renumbering.
Issue: #23607 , #10189
2022-06-09 12:24:33 -04:00
Brad King
f1b7e2d258
Merge topic 'vs-android-api'
...
9d6a080421 VS: Add AndroidAPILevel element to generated project files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !7339
2022-06-09 09:23:06 -04:00
Brad King
84da420a29
Merge topic 'vs-android-api' into release-3.24
...
9d6a080421 VS: Add AndroidAPILevel element to generated project files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !7339
2022-06-09 09:23:05 -04:00
Kitware Robot
4cfc5478b6
CMake Nightly Date Stamp
2022-06-09 00:01:08 -04:00
Brad King
2121fc2de7
Begin post-3.24 development
2022-06-08 12:03:15 -04:00
Brad King
b33b6014b2
Begin 3.24 release versioning
2022-06-08 11:59:27 -04:00
Benjamín de la Fuente Ranea
9d6a080421
VS: Add AndroidAPILevel element to generated project files
...
Map `CMAKE_SYSTEM_VERSION` to the Android Target API Level for Visual
Studio projects.
Fixes : #22886
2022-06-08 09:17:20 -04:00
Kitware Robot
252093c216
CMake Nightly Date Stamp
2022-06-08 00:01:17 -04:00
Kitware Robot
3d5402d1df
CMake Nightly Date Stamp
2022-06-07 00:01:06 -04:00