summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
...
* | Help: A missing cross-reference to --compile-no-warning-as-errorCraig Scott2022-08-151-0/+2
| |
* | Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-errorBrad King2022-08-151-0/+23
|\ \
| * | Help: List compiler IDs supported by COMPILE_WARNING_AS_ERRORCraig Scott2022-08-151-0/+23
| | |
* | | Help: MSVC_RUNTIME_LIBRARY is initialized from associated variableCraig Scott2022-08-121-1/+3
| | | | | | | | | | | | | | | The CMAKE_MSVC_RUNTIME_LIBRARY variable docs mention that it initializes the MSVC_RUNTIME_LIBRARY target property, but the property's docs was missing any mention of the variable.
* | | Merge topic 'all-verify-interface-header-sets'Kyle Edwards2022-08-031-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | 83e44002ae VERIFY_INTERFACE_HEADER_SETS: Add verification target for all Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7536
| * | VERIFY_INTERFACE_HEADER_SETS: Add verification target for allKyle Edwards2022-08-031-0/+4
| | | | | | | | | | | | Fixes: #23802
* | | Merge topic 'doc-init-VERIFY_INTERFACE_HEADER_SETS'Brad King2022-08-011-1/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | c31f9ef22b Help: Document initialization of VERIFY_INTERFACE_HEADER_SETS property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7528
| * | Help: Document initialization of VERIFY_INTERFACE_HEADER_SETS propertyCraig Scott2022-08-011-1/+5
| | | | | | | | | | | | | | | The docs for the CMAKE_VERIFY_INTERFACE_HEADER_SETS variable do mention that it initializes the property, but the property docs didn't mention the variable. Add that missing cross-reference.
| * | Merge topic 'verify-interface-header-sets-interface-library-source-language' ↵Brad King2022-07-281-1/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into release-3.24 41f15193e5 VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7517
* | \ \ Merge topic 'verify-interface-header-sets-interface-library-source-language'Brad King2022-07-281-1/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 41f15193e5 VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7517
| * | | VERIFY_INTERFACE_HEADER_SETS: Fall back to global languagesKyle Edwards2022-07-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a target doesn't have any source files, fall back to the global list of enabled languages to determine the language of the header file to verify. Fixes: #23774
* | | | Merge topic 'verify-interface-header-sets-interface-libraries'Brad King2022-07-261-7/+7
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | f5dd1817d1 Help: Clarify that VERIFY_INTERFACE_HEADER_SETS supports interface libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7507
| * | | Help: Clarify that VERIFY_INTERFACE_HEADER_SETS supports interface librariesKyle Edwards2022-07-251-7/+7
| |/ /
* | | Merge topic 'doc-LINK_LIBRARIES_ONLY_TARGETS_direct_deps'Brad King2022-07-181-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | f585c61667 Help: LINK_LIBRARIES_ONLY_TARGETS also checks injected direct libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7466
| * | Help: LINK_LIBRARIES_ONLY_TARGETS also checks injected direct librariesCraig Scott2022-07-101-0/+2
| | | | | | | | | | | | | | | | | | | | | The INTERFACE_LINK_LIBRARIES_DIRECT property can add direct link dependencies to the target at the head of the dependency chain. The checks associated with LINK_LIBRARIES_ONLY_TARGETS also apply to these link items, but the documentation wasn't updated to reflect this when the INTERFACE_LINK_LIBRARIES_DIRECT support was added.
* | | Merge topic 'doc-INTERFACE_LINK_LIBRARIES_DIRECT'Brad King2022-07-081-15/+15
|\ \ \ | |/ / | | | | | | | | | | | | | | | 6b103dd58a Help: Fix wrong property name INTERFACE_PROPERTY_LINK_DIRECT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7461
| * | Help: Fix wrong property name INTERFACE_PROPERTY_LINK_DIRECTCraig Scott2022-07-081-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | This is the name of a placeholder used for some documentation in `Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.txt` that is included in multiple documents. During development iterations, much of the content was moved to just `Help/prop_tgt/INTERFACE_LINK_LIBRARIES_DIRECT.rst`, but the placeholder was not correctly replaced by its property name.
* | | Merge topic 'doc-CMP0131'Brad King2022-07-051-4/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | 703900d166 Help: Mention CMP0131 in LINK_LIBRARIES docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7444
| * | Help: Mention CMP0131 in LINK_LIBRARIES docsCraig Scott2022-07-051-4/+7
| | |
* | | Merge topic 'doc-LINK_LIBRARY_genex'Craig Scott2022-07-032-51/+68
|\ \ \ | |/ / | | / | |/ |/| | | | | d185f7c0a8 Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7413
| * Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docsCraig Scott2022-07-032-51/+68
| | | | | | | | | | | | | | These changes restructure the docs to improve readability and flow, correct grammar and typos, and fix errors and inconsistencies in some of the examples. Fixes: #23684
* | Merge topic 'vs-compile-batching'Brad King2022-06-231-4/+7
|\ \ | |/ | | | | | | | | | | | | | | 9a0a94fdaa VS: Add variable to to turn off Visual Studio compile batching a7ebb73929 Help: Improve formatting in VS_NO_COMPILE_BATCHING docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7405
| * VS: Add variable to to turn off Visual Studio compile batchingBrad King2022-06-221-0/+3
| | | | | | | | | | | | | | | | | | Extend the change from commit b764c7c273 (VS: Add property to turn off Visual Studio compile batching, 2022-02-07, v3.24.0-rc1~710^2) by adding a variable to initialize the property on every target. Issue: #23179 Fixes: #23639
| * Help: Improve formatting in VS_NO_COMPILE_BATCHING docsBrad King2022-06-221-4/+4
| |
* | Merge topic 'add_export_no_system'Brad King2022-06-212-0/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | 9680b3b279 Add EXPORT_NO_SYSTEM target property, deprecate IMPORTED_NO_SYSTEM Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7379
| * | Add EXPORT_NO_SYSTEM target property, deprecate IMPORTED_NO_SYSTEMDa Quexian2022-06-172-0/+20
| | | | | | | | | | | | | | | | | | Issue: #18040 Signed-off-by: Da Quexian <daquexian566@gmail.com>
* | | Merge topic 'cpp-named-module-file-sets'Brad King2022-06-1712-0/+209
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07bc3b07ec gitlab-ci: test C++ modules using GCC 1b2270aa4e ci: add a Docker image to test out C++ modules with GCC 8c5a53096a Tests/RunCMake/CXXModules: add module-using examples 4151547e2f cmGlobalNinjaGenerator: use `cmModuleMapper` implementation b43bdaff3c cmCxxModuleMapper: implement support for GCC's module map format 02d0f0e752 cmCxxModuleMapper: add source to handle module mapper contents a046a45aad cmGlobalNinjaGenerator: add a TODO for header units 386465bf83 cmTarget: add support for C++ module fileset types ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7369
| * | cmTarget: add support for C++ module fileset typesBen Boeckel2022-06-1612-0/+209
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | C++ modules have two variants which are of importance to CMake: - `CXX_MODULES`: interface modules (those using `export module M;`, `export module M:part;`, or `module M:internal_part;`) - `CXX_MODULE_HEADER_UNITS`: importable header units Creating C++ modules or partitions are *not* supported in any other source listing. This is because the source files must be installed (so their scope matters), but not part of usage requirements (what it means for a module source to be injected into a consumer is not clear at this moment). Due to the way `FILE_SET` works with scopes, they are a perfect fit as long as `INTERFACE` is not allowed (which it is not).
* | Merge topic 'add_SYSTEM_prop'Brad King2022-06-162-1/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | 69beee5314 Add SYSTEM target property Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7308
| * | Add SYSTEM target propertyDa Quexian2022-06-152-1/+18
| |/ | | | | | | | | | | | | | | If it is ON, treat INTERFACE_INCLUDE_DIRECTORIES as system include directories. Issue: #18040 Signed-off-by: Da Quexian <daquexian566@gmail.com>
* | Xcode: Add Xcode SCHEME control for 'Launch' controlHarry Mallon2022-06-152-0/+23
|/
* Help: Clarify that RULE_LAUNCH_COMPILE is meant for internal useCraig Scott2022-06-022-4/+16
| | | Fixes: #22405
* VERIFY_INTERFACE_HEADER_SETS: Add property for list of header setsKyle Edwards2022-05-252-0/+16
| | | | | | | | Add a new property, INTERFACE_HEADER_SETS_TO_VERIFY, which contains a list of header sets that should be verified by VERIFY_INTERFACE_HEADER_SETS. Fixes: #23522
* VERIFY_HEADER_SETS: Rename to VERIFY_INTERFACE_HEADER_SETSKyle Edwards2022-05-182-25/+25
| | | | Issue: #23448
* Merge topic 'werror-property'Brad King2022-05-101-0/+10
|\ | | | | | | | | | | | | | | | | 76a08cd253 COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errors Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !7187
| * COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errorsMartin Duffy2022-05-061-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Add `COMPILE_WARNING_AS_ERROR` target property and supporting `CMAKE_COMPILE_WARNING_AS_ERROR` variable. `COMPILE_WARNING_AS_ERROR` is initialized by `CMAKE_COMPILE_WARNING_AS_ERROR`. It is a boolean variable. If it is true, it expands to a different flag depending on the compiler such that any warnings at compile will be treated as errors. Supports compiler ids that I could find a relevant flag for.
* | OpenWatcom: Support CMAKE_WATCOM_RUNTIME_LIBRARY with Linux and OS/2 buildsCameron Cawley2022-05-062-3/+6
| |
* | OpenWatcom: Allow specifying the runtime libraryCameron Cawley2022-05-062-0/+51
| | | | | | | | | | | | | | | | Add a `CMAKE_WATCOM_RUNTIME_LIBRARY` variable to control the runtime library selection. Add policy CMP0136 to switch to in place of the old hard-coded default flags. Fixes: #23178
* | VERIFY_HEADER_SETS: Clarify that header sets must be PUBLIC or INTERFACEKyle Edwards2022-04-211-8/+9
| |
* | Merge topic 'vs-dotnet-startup-object'Brad King2022-04-201-0/+21
|\ \ | | | | | | | | | | | | | | | | | | d89af11f89 VS: Add StartupObject property for managed .NET projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7171
| * | VS: Add StartupObject property for managed .NET projectsFlorian Schweiger2022-04-121-0/+21
| |/
* | Merge topic 'file-set-repr-improvements'Brad King2022-04-122-11/+10
|\ \ | |/ |/| | | | | | | | | | | | | 5fa15ec9f3 Help: Document that target_sources defines [INTERFACE_]HEADER_SETS c5d4812f20 cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only 05783b168d cmFileSet: store visibility with the fileset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7168
| * Help: Document that target_sources defines [INTERFACE_]HEADER_SETSBrad King2022-04-122-0/+6
| |
| * cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-onlyBen Boeckel2022-04-112-13/+6
| | | | | | | | | | | | There is no reason to allow these properties to be manipulated by user code. Instead, use the stored visibility on the fileset objects to derive what these properties should contain.
| * Revert INTERFACE_LINK_LIBRARIES_DIRECT feature for 3.23 branchBrad King2022-03-215-277/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit f3ad061858 (Add usage requirements to update direct link dependencies, 2022-01-12, v3.23.0-rc1~44^2) and the property storage updates in its predecessor commit 193a999cd5 (cmTarget: Add INTERFACE_LINK_LIBRARIES_DIRECT{,_EXCLUDE} backtrace storage, 2022-01-06, v3.23.0-rc1~44^2~1) from the 3.23 release branch. After initial experience using the feature in practice, additional design considerations have been raised for discussion in the original issue. To avoid rushing this for the 3.23 series, we've decided to revert the feature for now so it can be revised for a future release. Issue: #22496
* | xcode: add support for xcconfig filesGregor Jasny2022-04-031-0/+14
| | | | | | | | Fixes: #18420
* | FILE_SET: Add VERIFY_HEADER_SETS target propertyKyle Edwards2022-03-291-0/+24
| | | | | | | | Fixes: #23338
* | INTERFACE_LINK_LIBRARIES_DIRECT: Honor link dependencies through LINK_ONLYBrad King2022-03-221-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit f3ad061858 (Add usage requirements to update direct link dependencies, 2022-01-12, v3.23.0-rc1~44^2), we evaluated the transitive closure of `INTERFACE_LINK_LIBRARIES` as a non-linking usage requirement. That left out `INTERFACE_LINK_LIBRARIES_DIRECT` link dependencies that appear behind private dependencies of a static library, guarded by the `$<LINK_ONLY:...>` generator expression. At the time, that decision was intentional, in order to prevent arbitrary usage requirements from leaking out of `PRIVATE` dependencies. Since then, we've revised evaluation of `LINK_LIBRARIES` to distinguish between collecting link dependencies and other usage requirements. Use that information when following `INTERFACE_LINK_LIBRARIES` to collect the matching kind of requirements from `INTERFACE_LINK_LIBRARIES_DIRECT`. Fixes: #22496
* | Help: Update INTERFACE_LINK_LIBRARIES_DIRECT to be added in 3.24Brad King2022-03-222-2/+2
| | | | | | | | | | | | | | This feature has been reverted from the 3.23 release branch. Update its documentation and release note to target 3.24 instead. Issue: #22496
* | Merge topic 'doc-LINK_LIBRARIES_ONLY_TARGETS'Craig Scott2022-03-141-4/+3
|\ \ | |/ | | | | | | | | | | 95cdce829f Help: Fix typo and improve readability for LINK_LIBRARIES_ONLY_TARGETS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7068