summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Add support for response files for moc predef targetstophoo2023-11-163-0/+26
| | | | | Add support for response files for moc predef targets and make the limit when to use response files for autogen targets configurable.
* install(EXPORT): Export find_dependency() callsKyle Edwards2023-11-131-0/+12
| | | | | | Issue: #20511 Co-Authored-by: Brad King <brad.king@kitware.com> Co-Authored-by: Robert Maynard <rmaynard@nvidia.com>
* Help/IMPORTED_LOCATION: link to `LOCATION_<CONFIG>` docsBen Boeckel2023-10-281-1/+1
|
* Unity: Enable UNITY_BUILD for OBJC and OBJCXX filesRob Raguet-Schofield2023-10-261-5/+17
|
* Add options to specify linker toolMarc Chevrier2023-10-131-0/+26
| | | | | | | | | | | | | | | | | | Offer the capability, through variable `CMAKE_LINKER_TYPE`, as well as the target property `LINKER_TYPE` to specify which linker must be used. The implementation of this capability is specified by variables specific to the language and linker type: `CMAKE_<LANG>_USING_LINKER_<TYPE>`. Some definitions are provided as part of `CMake`. For example, to select the `LLVM` linker rather than the standard one, the type `LLD` should be specified through the variable `CMAKE_LINKER_TYPE`. And, on `Apple`, `Linux` and some environments on `Windows`, the variable `CMAKE_<LANG>_USING_LINKER_LLD` has value `-fuse-ld=lld`. And for `Windows` environments based on `MSVC`, where the linker is used directly, the tool `lld-link.exe` will be used rather than `link.exe`. Fixes: #19174, #24254, #24990
* Help: Fix typo in COMPATIBLE_INTERFACE_NUMBER_MIN權少2023-10-111-1/+1
|
* cmExperimental: remove the flag for C++ modulesBen Boeckel2023-10-0212-56/+7
| | | | | | | All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
* HIP: Add CMAKE_HIP_PLATFORM variable to specify GPU platformBrad King2023-09-211-1/+2
| | | | | For now, require the value to be `amd`, since that is the only platform we currently support.
* Merge topic 'doc-msvc-debug-format'Brad King2023-09-061-0/+2
|\ | | | | | | | | | | | | 91dc94c4ac Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8770
| * Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variableBrad King2023-09-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | The `CMAKE_MSVC_DEBUG_INFORMATION_FORMAT` variable docs mention that it initializes the `MSVC_DEBUG_INFORMATION_FORMAT` target property, but the property's docs was missing any mention of the variable. Follow the pattern from commit c1b07ca9da (Help: MSVC_RUNTIME_LIBRARY is initialized from associated variable, 2022-08-13, v3.25.0-rc1~317^2). Fixes: #25216
* | cmExportFileGenerator: export private compile info for C++ modulesBen Boeckel2023-08-175-0/+65
| | | | | | | | | | | | | | | | | | When consuming exported targets which contain C++ modules, the consuming project must be able to recompile BMI files using the original target's flags. This is because a module source may use some private target usage requirement but not want to propagate it to consumers. To facilitate this, export the private information as necessary for consumers to be able to perform the BMI compilations.
* | Merge topic 'doc-fixups-release-3.27'Craig Scott2023-08-071-25/+28
|\ \ | |/ | | | | | | | | | | | | | | | | 78e7ea598d cmLocalGenerator: Fix trivial spelling error in code comment 1285fe27ff Help: Improve formatting and fix wording for ENABLE_EXPORTS 91336d061c Help: Improve formatting and cross-references for DEPENDS_EXPLICIT_ONLY 03208d9e18 Help: Fix indenting within TARGET_RUNTIME_DLLS genex docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8688
| * Help: Improve formatting and fix wording for ENABLE_EXPORTSCraig Scott2023-08-061-25/+28
| |
* | Merge topic 'xcode-embed-resources'Brad King2023-08-012-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | e40d2cb3af Xcode: Add embed resources support Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Deal <halx99@live.com> Merge-request: !8632
| * | Xcode: Add embed resources supporthalx992023-07-312-0/+9
| | |
* | | Help: fix agreement in `DLL_NAME_WITH_SOVERSION` docsBen Boeckel2023-07-291-2/+2
| | |
* | | Help: fix cross-linking from `Swift_LANGUAGE_VERSION` propertyBen Boeckel2023-07-291-2/+3
| | |
* | | macOS: Add support for linking against .xcframework foldersKyle Edwards2023-07-261-0/+6
| | | | | | | | | | | | Issue: #21752
* | | Help: Document IOS_INSTALL_COMBINED as deprecatedMárton Marczell2023-07-201-4/+13
| | | | | | | | | | | | | | | | | | | | | The approach has not made sense since the introduction of Apple Silicon and macOS arm64. Issue: #24957
* | | Merge topic 'imported-implib-only'Brad King2023-07-191-0/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 7351d590ee cmTarget: Add a way to represent imported shared library stubs 83574a4772 GeneratorExpression: Expand testing of imported location resolution b75ff51947 Testing: Map RelWithDebInfo config in GeneratorExpression test Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8582
| * | cmTarget: Add a way to represent imported shared library stubsRobert Maynard2023-07-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Shared library stubs can be used for linking, but not at runtime. Their role is similar to import libraries on Windows, so represent their location with the `IMPORTED_IMPLIB` target property. Fixes: #24940
* | | apple: add preliminary visionOS supportGregor Jasny2023-07-111-1/+1
|/ /
* | macOS: Allow IMPORTED_LOCATION to be a framework folderKyle Edwards2023-06-231-0/+5
| | | | | | | | Issue: #24946
* | Drop Visual Studio 11 2012 generatorBrad King2023-06-136-6/+6
|/ | | | This generator has been deprecated since CMake 3.25. Remove it.
* Merge topic 'doc-3.27-relnotes'Brad King2023-06-061-0/+2
|\ | | | | | | | | | | | | | | | | 6bc97b453c Help: Update Sphinx versionadded directives for 3.27 release 78d2c9fef0 Help: Organize and revise 3.27 release notes e6bcda8c39 Help: Consolidate 3.27 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8539
| * Help: Update Sphinx versionadded directives for 3.27 releaseBrad King2023-06-061-0/+2
| | | | | | | | | | | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.26.0 --overwrite Manually remove directives added to new documentation of existing environment variables.
* | VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTINGKyle Edwards2023-06-061-0/+3
|/ | | | Fixes: #24972
* Merge topic 'automoc-moc-options-test'Brad King2023-06-011-0/+36
|\ | | | | | | | | | | | | | | | | | | | | | | 1f4b374d6e cmQtAutoGenInitializer: Reduce string copies b6f66b445a cmQtAutoGenInitializer: Remove no-op calls 55d93bdabf cmQtAutoGenInitializer: Improve const correctness feb56a666f cmTarget: Improve const correctness of AddUtility 5e513e562f Help: Add AUTOMOC_MOC_OPTIONS example 5380ad9d58 Tests: Add test for AUTOMOC_MOC_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8523
| * Help: Add AUTOMOC_MOC_OPTIONS exampleOrkun Tokdemir2023-05-311-0/+36
| |
* | cxxmodules: remove support for `CXX_MODULE_HEADER_UNITS` filesetsBen Boeckel2023-05-317-120/+1
|/ | | | | There's no backing implementation for header units anyways, so just remove it for now.
* Help: Wording, formatting and ordering fixes for SKIP_LINTING docsCraig Scott2023-05-194-20/+28
| | | | | Amends b480315e0c2 (TargetGenerator: Add SKIP_LINTING source property, 2023-05-12).
* Merge topic 'skip-linting'Brad King2023-05-184-0/+28
|\ | | | | | | | | | | | | | | | | | | | | 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
| * TargetGenerator: Add SKIP_LINTING source propertyOrkun Tokdemir2023-05-164-0/+28
| | | | | | | | | | | | | | 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.
* | Help: Update SYSTEM oriented target properties for Apple FrameworksMarc Chevrier2023-05-143-12/+19
|/ | | | This is a complement to !8469.
* Merge topic 'autogen-system-include'Brad King2023-05-041-0/+17
|\ | | | | | | | | | | | | | | | | | | 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
| * Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not setOrkun Tokdemir2023-05-031-0/+3
| | | | | | | | Add policy CMP0151 to preserve the old behavior by default.
| * Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target propertyOrkun Tokdemir2023-05-031-0/+14
| | | | | | | | | | | | | | `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.
* | VS: Add variables to initialize debugger-related propertiesAlex Neundorf2023-05-014-4/+12
|/ | | | | | Add variables to initialize target properties `VS_DEBUGGER_COMMAND`, `VS_DEBUGGER_COMMAND_ARGUMENTS`, `VS_DEBUGGER_ENVIRONMENT`, and `VS_DEBUGGER_WORKING_DIRECTORY`.
* Merge topic 'automoc-macro-names'Craig Scott2023-04-102-2/+95
|\ | | | | | | | | | | | | | | | | | | | | 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
| * Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target propertyOrkun Tokdemir2023-04-092-2/+95
| | | | | | | | | | | | | | | | | | | | 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
* | Merge topic 'doc-typo'Brad King2023-04-061-1/+1
|\ \ | |/ |/| | | | | | | | | 045fbbb47c Help: Remove duplicated word in COMPILE_OPTIONS target property docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8396
| * Help: Remove duplicated word in COMPILE_OPTIONS target property docsBrad King2023-04-051-1/+1
| | | | | | | | Fixes: #24673
* | Help: Link to COMPILE_LANGUAGE genex from target_compile_optionsBrad King2023-03-281-0/+4
| | | | | | | | Issue: #24639
* | Add generator expression support to static code analysis hooksStefan Schober2023-03-274-0/+20
| | | | | | | | | | | | Teach target properties `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY` and `<LANG>_INCLUDE_WHAT_YOU_USE` to accept generator expressions.
* | Merge topic 'vs-windows-min-version'Brad King2023-03-161-3/+8
|\ \ | | | | | | | | | | | | | | | | | | 6546305b01 VS: Add CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8319
| * | VS: Add CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION variablehalx992023-03-151-3/+8
| | | | | | | | | | | | | | | | | | Provide a way to initialize the `VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION` target property on targets. It sets `WindowsTargetPlatformMinVersion` in `.vcxproj` files.
* | | Merge topic 'support_cubin_fatbin_optix_cuda_output'Brad King2023-03-143-0/+42
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 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
| * | CUDA: Add support for CUBIN, FATBIN, and OPTIXIR compilationRobert Maynard2023-03-133-0/+42
| | |
* | | Apple: text-based stubs: manage imported configurations mappingMarc Chevrier2023-03-051-1/+3
| | |
* | | Help:IMPORTED_CONFIGURATIONS: Mention relation to IMPORTED_LOCATIONBrad King2023-03-021-8/+17
| | |