Ben Boeckel
362d6cd234
clang-tidy: fix modernize-raw-string-literal lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
d64adb9267
clang-tidy: fix readability-string-compare lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
f76ebc3c05
clang-tidy: fix performance-faster-string-find lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
a805a897a8
clang-tidy: fix bugprone-parent-virtual-call lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
27f5ce07cc
clang-tidy: fix performance-unnecessary-value-param lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
9e81a9b45c
clang-tidy: fix misc-unused-parameters lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
4deab0a75c
clang-tidy: fix readability-braces-around-statements lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
714a466eeb
clang-tidy: fix readability-container-size-empty lints
2022-11-29 12:39:45 -05:00
Ben Boeckel
6d2aa54d62
clang-tidy: fix performance-unnecessary-copy-initialization lints
2022-11-29 12:39:44 -05:00
Ben Boeckel
b72c45e39f
clang-tidy: fix readability-else-after-return lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
07172aa31e
clang-tidy: fix readability-redundant-string-cstr lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
c61ece5c40
clang-tidy: fix modernize-use-auto lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
64c0702f91
clang-tidy: fix readability-static-accessed-through-instance lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
1b929ba8e4
clang-tidy: fix modernize-use-nullptr lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
bcada09e45
clang-tidy: fix readability-redundant-access-specifiers lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
860adec528
clang-tidy: fix modernize-pass-by-value lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
27e37b8a5a
clang-tidy: fix modernize-use-override lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
83d685ee1b
clang-tidy: fix modernize-use-equals-default lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
f8a2926986
clang-tidy: fix modernize-use-default-member-init lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
63453bf4ef
clang-tidy: fix readability-avoid-const-params-in-decls lints
2022-11-29 12:39:29 -05:00
Ben Boeckel
1ed9974ce5
cmVisualStudio10TargetGenerator: remove unused variable
2022-11-29 12:39:28 -05:00
Brad King
b1bb41c32e
Merge topic 'cxxmodules-refactor-detection-support'
...
e37ff5694c cmGeneratorTarget: factor out fileset info and scanning detection
9e61fc3d6d cmGeneratorTarget: factor out dyndep support detection
5e026739e1 cmGlobalGenerator: factor out C++ module support checking
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7951
2022-11-29 10:32:37 -05:00
Kitware Robot
9553e72b0d
CMake Nightly Date Stamp
2022-11-29 00:01:08 -05:00
Brad King
2d373b64ea
Merge topic 'ArgumentFlags-enum-values'
...
ab5aeca849 Help: Clarify behavior of BEFORE with target_compile_options()
dd3482f675 cmTargetPropCommandBase: Restore ArgumentFlags enum value bool logic
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7956
2022-11-28 12:07:30 -05:00
Kitware Robot
b4e373aa9d
CMake Nightly Date Stamp
2022-11-28 00:01:19 -05:00
Craig Scott
dd3482f675
cmTargetPropCommandBase: Restore ArgumentFlags enum value bool logic
...
The values of the cmTargetPropCommandBase::ArgumentFlags enum
are combined in boolean OR and AND operations in various places.
That used to be valid, but some values were added over time which did
not preserve support for such boolean logic. Update the enum values
such that they are increasing powers of 2 to restore that capability.
Fixes : #24199
2022-11-27 20:17:32 +11:00
Kitware Robot
00630bbac7
CMake Nightly Date Stamp
2022-11-27 00:01:08 -05:00
Kitware Robot
e35772d96a
CMake Nightly Date Stamp
2022-11-26 00:01:14 -05:00
Kitware Robot
b92d0971db
CMake Nightly Date Stamp
2022-11-25 00:01:06 -05:00
Kitware Robot
93ded7304a
CMake Nightly Date Stamp
2022-11-24 00:01:11 -05:00
Ben Boeckel
e37ff5694c
cmGeneratorTarget: factor out fileset info and scanning detection
2022-11-23 18:52:36 -05:00
Ben Boeckel
9e61fc3d6d
cmGeneratorTarget: factor out dyndep support detection
2022-11-23 17:35:41 -05:00
Ben Boeckel
5e026739e1
cmGlobalGenerator: factor out C++ module support checking
...
This will simplify adding support to other generators.
2022-11-23 17:31:31 -05:00
Brad King
c924d33bec
Merge topic 'cxxmodule-module-support-tweaks'
...
c53748cc09 Tests/RunCMake/CXXModules: mark IMPORTED targets as INTERFACE
a971fcfde7 cmNinjaNormalTargetGenerator: use `cmStrCat`
b7509d6bf8 cmNinjaNormalTargetGenerator: fix grammar in verbose comment
0015cb95de cmGlobalNinjaGenerator: fix comment typo
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7943
2022-11-23 07:10:52 -05:00
Brad King
af937d2933
Merge topic 'try_compile-copy-config'
...
80fc564dd7 try_compile: Restore COPY_FILE with CMAKE_TRY_COMPILE_CONFIGURATION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !7948
2022-11-23 07:09:10 -05:00
Brad King
7c462e36c9
Merge topic 'XCode-XCODE_LINK_BUILD_PHASE_MODE-and-LINK_LIBRARY-genex'
...
61075d2d7b XCode: ensure LINK_LIBRARY genex is usable with XCODE_LINK_BUILD_PHASE_MODE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7947
2022-11-23 07:08:01 -05:00
Kitware Robot
7c39301ebf
CMake Nightly Date Stamp
2022-11-23 00:01:14 -05:00
Brad King
80fc564dd7
try_compile: Restore COPY_FILE with CMAKE_TRY_COMPILE_CONFIGURATION
...
Since commit 0c141b0393 (try_compile: Record output location instead of
reverse computing it, 2022-08-31, v3.25.0-rc1~154^2) we always look for
the "Debug" configuration's output binary from the test project.
Restore looking for the `CMAKE_TRY_COMPILE_CONFIGURATION`.
Fixes : #24180
2022-11-22 11:26:28 -05:00
Marc Chevrier
61075d2d7b
XCode: ensure LINK_LIBRARY genex is usable with XCODE_LINK_BUILD_PHASE_MODE
...
Fixes : #24176
2022-11-22 16:44:45 +01:00
Brad King
1f6a6d6aad
Merge topic 'use-rsp-in-makefiles'
...
b1a3a38e03 Makefiles: Name object response files with .rsp extension
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: kossnikita <kossnikita@gmail.com >
Merge-request: !7942
2022-11-22 09:48:53 -05:00
Brad King
62172b4ab7
Merge topic 'custom-command-comment-genex'
...
26d813092b add_custom_{command,target}: add genex support for COMMENT
60a5a39022 cmCustomCommandGenerator: refactor GetComment to return std::string
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7887
2022-11-22 09:47:59 -05:00
Kitware Robot
9278ae6f1b
CMake Nightly Date Stamp
2022-11-22 00:01:17 -05:00
Ben Boeckel
a971fcfde7
cmNinjaNormalTargetGenerator: use cmStrCat
2022-11-21 17:12:18 -05:00
Ben Boeckel
b7509d6bf8
cmNinjaNormalTargetGenerator: fix grammar in verbose comment
2022-11-21 17:09:33 -05:00
Ben Boeckel
0015cb95de
cmGlobalNinjaGenerator: fix comment typo
2022-11-21 17:09:33 -05:00
Felipe Torrezan
b1a3a38e03
Makefiles: Name object response files with .rsp extension
...
This is more consistent with the Ninja generator, and is necessary
for the IAR linker to recognize the argument as a response file.
Fixes : #24165
2022-11-21 10:29:24 -05:00
Brad King
e69251c828
Merge topic 'xcode-ios-extensionkit'
...
b99c386122 Xcode: Allow bundling extensionkit extensions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7900
2022-11-21 10:06:20 -05:00
Brad King
55e3168dc4
Merge topic 'lang-std-flag-order'
...
a1c20b08b4 cmLocalGenerator: Inline AddCompilerRequirementFlag in only call site
914571a042 Place language standard flags just after CMAKE_<LANG>_FLAGS
ad16ae5c70 VS: Recognize -std: flag in CMAKE_C_FLAGS in target with C++ sources
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7931
2022-11-21 10:03:35 -05:00
Brad King
973d88c25f
Merge topic 'clang-tidy-module-cmstrlen-check-sizeof'
...
830eed374d CMake: fix sizeof string literal violations
c6368a23fe clang-tidy module: look for sizeof string literal in cmStrLen() check
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7927
2022-11-21 10:01:14 -05:00
Brad King
fa7afe5eb3
Merge topic 'cxx-scanning-properties'
...
a02d792c6e cxxmodules: add properties to control scanning
008c09d6db cmNinjaTargetGenerator: factor out determining the fileset of a source
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7935
2022-11-21 10:00:12 -05:00