Brad King
e0a9bbfc23
Merge topic 'target-SKIP_LINTING'
...
f100769d72 Add `SKIP_LINTING` target property and `CMAKE_SKIP_LINTING` variable
0d6b5d54b2 Tests/RunCMake/MultiLint: Extract test preparation code into separate file
3a21092d75 Tests/RunCMake/MultiLint: Refactor test runs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11139
2025-09-10 09:53:48 -04:00
Alex Turbov
f100769d72
Add SKIP_LINTING target property and CMAKE_SKIP_LINTING variable
...
These offer target-wide settings to disable lints.
Closes : #27191
2025-09-09 09:56:35 -04:00
Ben Boeckel
c1de3c72a3
install: support using DESTINATION as-is for object installation
...
CMake historically has forced an `objects[-<CONFIG>]/<TARGET_NAME>`
subdirectory under an `OBJECT` library installation's `OBJECTS
DESTINATION` which may be unwanted. Support skipping this component
with a target property.
2025-09-06 00:44:42 -04:00
Eduard Voronkin
01147454e7
FASTBuild: Add generator
...
Fixes : #15294
2025-08-26 14:29:01 -07:00
Ben Boeckel
29c7f19280
cmTarget: add the INSTALL_OBJECT_NAME_STRATEGY property
2025-08-07 11:24:32 -04:00
Cristiano Carvalheiro
7d28005244
Xcode: Support for test action 'Build Configuration' scheme property
...
Also allow scoped property checking on Xcode scheme tests to
be able to distinguish between launch and test actions build config.
2025-01-09 16:36:33 +00:00
Cristiano Carvalheiro
419cfe30d0
Xcode: Support for 'LLDB Init File' scheme property
...
Fixes : #24002
2024-12-13 08:31:11 -05:00
Ben Boeckel
dcf9a66ffe
cxxmodules: plumb control data for exporting build databases
...
This includes the target property, its initializing variable, its
initializing environment variable, and updating related docs to mention
the new bits.
2024-08-27 12:37:36 -04:00
Ben Boeckel
7146cf9248
cmTarget: support the CXX_MODULE_STD property
2024-04-11 10:19:44 -04:00
Ralf Habacker
88863d83d6
fileapi: Add test launcher to codemodel-v2
...
We do not need to bump the minor version because it was recently bumped
by addition of the cross-compiling emulator as another kind of launcher.
2023-12-13 10:20:43 -05:00
Ben Boeckel
b66c494ca4
Tests/RunCMake/property_init: test 'with_exports' properties
2023-07-29 09:35:21 -04:00
Ben Boeckel
efad4391e5
Tests/RunCMake/property_init: test 'with_commands' properties
2023-07-29 09:35:21 -04:00
Ben Boeckel
5f1bf85f84
Tests/RunCMake/property_init: test 'with_artifact' properties
2023-07-29 09:35:21 -04:00
Ben Boeckel
02972ed9e8
Tests/RunCMake/property_init: test 'shared_library' properties
2023-07-29 09:35:21 -04:00
Ben Boeckel
653a32aa72
Tests/RunCMake/property_init: test 'pic_targets' properties
2023-07-29 09:35:21 -04:00
Ben Boeckel
141049cf16
Tests/RunCMake/property_init: test 'normal' properties
2023-07-29 09:35:21 -04:00
Ben Boeckel
bc318ceb7f
Tests/RunCMake/property_init: test 'non_imported' properties
2023-07-29 09:35:21 -04:00
Ben Boeckel
0b56e3fedd
Tests/RunCMake/property_init: test 'normal_non_imported' properties
2023-07-29 09:35:20 -04:00
Ben Boeckel
c1ff120e42
Tests/RunCMake/property_init: test 'linkable' properties
2023-07-29 09:35:20 -04:00
Ben Boeckel
313c6a9c74
Tests/RunCMake/property_init: test 'library_with_artifact' properties
2023-07-29 09:35:20 -04:00
Ben Boeckel
bb469aef2d
Tests/RunCMake/property_init: add per_config table builder helper
2023-07-29 09:35:20 -04:00
Ben Boeckel
a048be7e3a
Tests/RunCMake/property_init: test 'imported' properties
2023-07-29 09:35:20 -04:00
Ben Boeckel
a6ebd68aa7
Tests/RunCMake/property_init: test 'executable' properties
2023-07-29 09:35:20 -04:00
Ben Boeckel
5bad24935c
Tests/RunCMake/property_init: test 'can_compile' properties
2023-07-29 09:35:20 -04:00
Ben Boeckel
82507e80eb
Tests/RunCMake/property_init: test 'always' properties
...
All targets get these targets initialized.
2023-07-29 09:35:20 -04:00
Ben Boeckel
721f1b608c
Tests/RunCMake/property_init: add a function to test properties
...
This function consumes a property table and tests against every kind of
target: those for which the initialization happens and those that should
ignore them.
Also add a function that can build the pairs of target type lists
required.
2023-07-29 09:35:20 -04:00
Ben Boeckel
1c0963e9f2
Tests/RunCMake/property_init: add functions to make example targets
2023-07-29 09:35:20 -04:00
Ben Boeckel
7b9378be43
Tests/RunCMake/property_init: add a function to parse property tables
...
The tables will be triples of property / value / alias value. Parsing is
a bit tricky, but is easier when `foreach (IN ZIP_LISTS)` with the
values in their distinct list.
2023-07-29 09:35:20 -04:00
Ben Boeckel
16c24cce47
Tests/RunCMake/property_init: add a function to check a property
2023-07-29 09:35:20 -04:00
Ben Boeckel
f81351607c
Tests/RunCMake/property_init: add skeleton for testing
2023-07-29 09:35:20 -04:00