Orkun Tokdemir
5e513e562f
Help: Add AUTOMOC_MOC_OPTIONS example
2023-05-31 12:59:28 -04:00
Craig Scott
652a785311
Help: Wording, formatting and ordering fixes for SKIP_LINTING docs
...
Amends b480315e0c (TargetGenerator: Add SKIP_LINTING source property,
2023-05-12).
2023-05-19 12:29:06 +10:00
Brad King
4d5c32fa2c
Merge topic 'skip-linting'
...
775c369420 Autogen: set SKIP_LINTING ON for generated files
b480315e0c TargetGenerator: Add SKIP_LINTING source property
993dde925f TargetGenerator: Factor out generation of code check rules
023af4ab2f Improve Const Correctness
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8467
2023-05-18 09:24:17 -04:00
Orkun Tokdemir
b480315e0c
TargetGenerator: Add SKIP_LINTING source property
...
The `SKIP_LINTING` source property was added to disable code check for
desired source files. The `SKIP_LINTING`includes `cpplint`, `clang-tidy`, \
`cppcheck` and `include-what-you-use`. If `SKIP_LINTING` is set on a
source file, the tools mentioned above will not be run on that source file.
2023-05-16 10:47:56 -04:00
Marc Chevrier
99f8505fda
Help: Update SYSTEM oriented target properties for Apple Frameworks
...
This is a complement to !8469 .
2023-05-14 15:22:27 +02:00
Brad King
28dd02c3ba
Merge topic 'autogen-system-include'
...
7bf4e30090 Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set
033dc7ee2f Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property
8ba16db163 Tests/RunCMake: Add option for dynamic expected output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8400
2023-05-04 09:01:08 -04:00
Orkun Tokdemir
7bf4e30090
Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set
...
Add policy CMP0151 to preserve the old behavior by default.
2023-05-03 09:03:46 -04:00
Orkun Tokdemir
033dc7ee2f
Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property
...
`AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE`
is a boolean property that can be set on a target to indicate that the
autogen target include directory should be added as a system include
directory or normal include directory to the target.
2023-05-03 09:03:46 -04:00
Alex Neundorf
35566b48b4
VS: Add variables to initialize debugger-related properties
...
Add variables to initialize target properties `VS_DEBUGGER_COMMAND`,
`VS_DEBUGGER_COMMAND_ARGUMENTS`, `VS_DEBUGGER_ENVIRONMENT`, and
`VS_DEBUGGER_WORKING_DIRECTORY`.
2023-05-01 13:39:00 -04:00
Craig Scott
e245b4df75
Merge topic 'automoc-macro-names'
...
c5c3aff1f5 Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property
69cf9700e6 Autogen: Defer setup until Generate step
7cecb6353e cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructure
2daba01ddf cmGeneratorTarget: Avoid incidental include-what-you-use warning
850b4d990c IWYU: Add mapping for 'std::remove_reference<Defer &>::type'
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8391
2023-04-10 18:06:06 -04:00
Orkun Tokdemir
c5c3aff1f5
Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property
...
Add this target property to specify macro names that propagate to
dependents as `AUTOMOC_MACRO_NAMES`. The dependents will automatically
generate MOC files for source files that contain the inherited macro
names.
Co-Authored-By: Craig Scott <craig.scott@crascit.com >
Fixes : #19679
2023-04-09 20:51:15 +10:00
Brad King
e96f56708f
Merge topic 'doc-typo'
...
045fbbb47c Help: Remove duplicated word in COMPILE_OPTIONS target property docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8396
2023-04-06 09:06:44 -04:00
Brad King
045fbbb47c
Help: Remove duplicated word in COMPILE_OPTIONS target property docs
...
Fixes : #24673
2023-04-05 09:44:10 -04:00
Brad King
e2830cf16b
Help: Link to COMPILE_LANGUAGE genex from target_compile_options
...
Issue: #24639
2023-03-28 10:57:31 -04:00
Stefan Schober
099934e313
Add generator expression support to static code analysis hooks
...
Teach target properties `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`,
`<LANG>_CLANG_TIDY` and `<LANG>_INCLUDE_WHAT_YOU_USE` to accept
generator expressions.
2023-03-27 11:48:41 -04:00
Brad King
2c2c2c2227
Merge topic 'vs-windows-min-version'
...
6546305b01 VS: Add CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8319
2023-03-16 09:11:07 -04:00
halx99
6546305b01
VS: Add CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION variable
...
Provide a way to initialize the `VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION`
target property on targets. It sets `WindowsTargetPlatformMinVersion`
in `.vcxproj` files.
2023-03-15 10:03:16 -04:00
Brad King
db4f4ad24e
Merge topic 'support_cubin_fatbin_optix_cuda_output'
...
2def6a874b CUDA: Add support for CUBIN, FATBIN, and OPTIXIR compilation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8259
2023-03-14 09:35:00 -04:00
Robert Maynard
2def6a874b
CUDA: Add support for CUBIN, FATBIN, and OPTIXIR compilation
2023-03-13 09:54:00 -04:00
Marc Chevrier
2e24123186
Apple: text-based stubs: manage imported configurations mapping
2023-03-05 14:39:56 +01:00
Brad King
8adcb73956
Help:IMPORTED_CONFIGURATIONS: Mention relation to IMPORTED_LOCATION
2023-03-02 15:25:32 -05:00
Brad King
e1032a22eb
Help:IMPORTED_IMPLIB: Mention IMPORTED_IMPLIB_<CONFIG> variant
...
This is already done in `IMPORTED_LOCATION` documentation.
2023-03-02 15:25:00 -05:00
Brad King
1d7fb31778
Merge topic 'Apple-handle-Text-Stubs'
...
ede33f30cf Apple: Handle generation and comsuption of text-based stubs (.tbd files)
fcbd723a50 Enhance support functions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Brad King <brad.king@kitware.com >
Merge-request: !8204
2023-03-02 09:53:03 -05:00
Marc Chevrier
ede33f30cf
Apple: Handle generation and comsuption of text-based stubs (.tbd files)
...
Fixes : #24123
2023-03-01 12:23:28 +01:00
Brad King
40539096fd
Merge topic 'dll-name-soversion'
...
a7f9c7da26 Add option to add SOVERSION to DLL names
9694504adc Tests: Simplify RunCMake.TargetArtifacts spec
3cd34eb279 Tests: Rename RunCMake.{ArtifactOutputDirs => TargetArtifacts}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8021
2023-02-28 08:29:20 -05:00
Brad King
4902970328
Merge topic 'doc-cleanup-3.26-rc4'
...
b39b3e3bdb Help: Fix typos and grammar in 3.26 release notes
9f1360ae19 Help: Improve wording of FOLDER-related properties and policies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8264
2023-02-28 08:07:59 -05:00
Ralf Habacker
a7f9c7da26
Add option to add SOVERSION to DLL names
...
Add variable/target property `[CMAKE_]DLL_NAME_WITH_SOVERSION`.
Fixes : #24251
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de >
2023-02-27 09:18:34 -05:00
Craig Scott
9f1360ae19
Help: Improve wording of FOLDER-related properties and policies
2023-02-25 17:15:17 +11:00
Brad King
bfd01ea357
Merge topic 'clarify-clang-tidy-export-fixes-doc'
...
f9d9258d5c Help: Avoid making guarantees about <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8189
2023-02-09 13:23:02 -05:00
Kyle Edwards
f9d9258d5c
Help: Avoid making guarantees about <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR
...
Rather than stating specifically which files may be written or deleted,
simply state that CMake owns the directory and that a dedicated
directory should be used for exporting the fixes.
2023-02-09 11:41:48 -05:00
Kyle Edwards
33e27f6ca6
<LANG>_LINKER_LAUNCHER: Allow generator expressions
2023-02-02 11:58:56 -05:00
Brad King
bc1ba6d56b
Help: Document experimental feature gate affecting CXX_SCAN_FOR_MODULES
...
Also drop the release note for `CXX_SCAN_FOR_MODULES`, as the rest of
the C++ modules support has not yet been mentioned in release notes
(since it is still experimental).
2023-02-01 13:58:23 -05:00
Brad King
b2ceca6553
Merge topic 'doc-ipo'
...
d7c60ab6b0 Help: mark the directory properties INTERPROCEDURAL_OPTIMIZATION as deprecated
6ed026592e Help: improve docs for INTERPROCEDURAL_OPTIMIZATION target property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8141
2023-02-01 09:10:38 -05:00
Alexander Neundorf
6ed026592e
Help: improve docs for INTERPROCEDURAL_OPTIMIZATION target property
...
The documentation now mentions the per-config target property.
Fixes : #24285
2023-01-31 09:45:48 -05:00
Robert Maynard
8c57f7b45e
Help: Clarify CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS behavior
...
Fixes : #24373
2023-01-30 14:45:14 -05:00
Brad King
058f7189e1
Merge topic 'doc-rpath-features'
...
434be1256e Help: improve docs for INSTALL_NAME_DIR
f784c21567 Help: mention CMAKE_SKIP_RPATH in the RPATH docs
66ad61ba79 Help: improve documentation for BUILD_RPATH
25e7791dc1 Help: improve docs for INSTALL_RPATH
099292f123 Help: improve docs for rpath-related variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8073
2023-01-25 11:14:42 -05:00
Alexander Neundorf
434be1256e
Help: improve docs for INSTALL_NAME_DIR
...
INSTALL_NAME_DIR now mentions BUILD_WITH_INSTALL_NAME_DIR.
The INSTALL_NAME_DIR, INSTALL_RPATH and $<TARGET_RUNTIME_DLLS:tgt>
documentation now mention the other two platforms respectively, to
make it easier for developers who are not familiar with all three platforms,
2023-01-20 11:28:55 -05:00
Alexander Neundorf
f784c21567
Help: mention CMAKE_SKIP_RPATH in the RPATH docs
...
CMAKE_SKIP_RPATH is now mentioned in the docs for the BUILD_RPATH
and INSTALL_RPATH target properties.
2023-01-20 11:28:53 -05:00
Alexander Neundorf
66ad61ba79
Help: improve documentation for BUILD_RPATH
...
Now all properties related to BUILD_RPATH are linked from the
documentation for BUILD_RPATH.
SKIP_BUILD_RPATH now also refers to BUILD_RPATH.
2023-01-20 11:28:06 -05:00
Alexander Neundorf
25e7791dc1
Help: improve docs for INSTALL_RPATH
...
The documentation for INSTALL_RPATH now links to all (or at least most)
properties (and variables) related to the install rpath, which
should make it easier for users to find out how RPATH works.
Also change "True" to "TRUE"
2023-01-19 22:51:52 +01:00
Ralf Habacker
22d8ff63f5
Help: add notes for POSIX platforms to the DEFINE_SYMBOL target property
...
Fixes #24310
2023-01-17 14:23:02 +01:00
Alexander Neundorf
0ee32d622c
Help: Mention USE_FOLDERS property in the FOLDER docs
2023-01-07 11:10:11 +11:00
Craig Scott
c1294454e5
Merge topic 'doc-SYSTEM'
...
dfab263825 Help: Clarify and update SYSTEM-related docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8027
2022-12-19 15:57:22 -05:00
Craig Scott
dfab263825
Help: Clarify and update SYSTEM-related docs
2022-12-17 20:51:25 +11:00
Marc Chevrier
7480fa0a5f
COMPILE_DEFINITIONS property: ensure leading -D is removed in all cases
...
Fixes : #24186
2022-12-13 16:54:56 +01:00
Brad King
3b4337adc7
Merge topic 'clang-tidy-export-fixes-dir'
...
232467eb1c clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7982
2022-12-07 08:19:53 -05:00
Brad King
14824129d9
Merge topic 'doc-SYSTEM'
...
b15b9cf286 Help: Clarify SYSTEM property default for imported targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7990
2022-12-07 08:12:05 -05:00
Kyle Edwards
232467eb1c
clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR property
...
Fixes : #21362
2022-12-06 10:39:29 -05:00
Brad King
b15b9cf286
Help: Clarify SYSTEM property default for imported targets
...
The `SYSTEM` directory property does not affect imported targets.
Fixes : #24219
2022-12-05 19:42:06 -05:00
Brad King
dae70fa7e8
Merge topic 'help-remove-self-reference-links'
...
eb77695e25 Help: clean up some minor typos
c36910476a Help: remove links from pages to themselves
391c53a851 Help/prop_tgt/LINK_OPTIONS: fix `:genex:` reference
de4909ea16 Help: fix some minor markup errors
c42c77b020 Help/CMAKE_GLOBAL_AUTORCC_TARGET_NAME: fix link reference
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7940
2022-11-21 10:07:07 -05:00