summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
* Help/OBJC_STANDARD: Document Objective C17 and C23 supportRaul Tambre2024-04-161-0/+10
| | | | | | | | | This was missed in * commit 93b7d3d292 (C17 support, 2021-02-06, v3.21.0-rc1~587^2~10) * commit dcd599757f (C23 support, 2021-02-06, v3.21.0-rc1~587^2~9) Fixes: #25746
* Help: Restructure and improve LINKER_TYPE docsCraig Scott2024-03-251-11/+13
|
* EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gateBrad King2024-03-121-1/+3
| | | | | | | Some design concerns have been raised after trying the 3.29 release candidates. Avoid committing to a stable public interface for now. Issue: #25767
* Merge topic 'doc-autogen' into release-3.29Brad King2024-02-087-39/+63
|\ | | | | | | | | | | | | | | ccaf529c4e Autogen: Update Documentation 16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9223
| * Autogen: Update DocumentationOrkun Tokdemir2024-02-087-39/+63
| | | | | | | | | | | | | | * Add Qt 6 to documentation * Add explanation about `<ORIGIN>_autogen_timestamp_deps` Fixes: #25201
* | Merge topic 'doc-SOVERSION-first-component-VERSION'Brad King2024-02-053-4/+17
|\ \ | |/ |/| | | | | | | | | fcab4bee21 Help: Document conventional VERSION/SOVERSION relationship Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9177
| * Help: Document conventional VERSION/SOVERSION relationshipSune Stolborg Vuorela2024-01-313-4/+17
| | | | | | | | Issue: #25626
* | Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATORBrad King2024-01-292-0/+7
|/ | | | | | | | Evaluate generator expressions in these properties, as they apply to `add_test`, `add_custom_command`, and `add_custom_target`. The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs at configure time and so cannot support generator expressions.
* Merge topic 'autogen-exe-per-config'Brad King2024-01-181-0/+22
|\ | | | | | | | | | | | | | | | | 596e84b0d5 NinjaMultiConfig: Update tests for the new dependency change 7c39dabdbc Autogen: AUTO*_EXECUTABLE: add support for per-config values Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8919
| * Autogen: AUTO*_EXECUTABLE: add support for per-config valuesOrkun Tokdemir2024-01-171-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Per-config values were added to `AUTO*_EXECUTABLE`. * Dependency order was refactored for `cmake_autogen` and `cmake_autorcc` to avoid unnecessary rebuilds. * A new parameter was added for `cmake_autogen` and `cmake_autorcc` to specify the config name of the `auto*_executable` to be used. * Add `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` target property to change the behavior of the dependency graph. * The timestamp target is split into three targets for per-config to avoid redundant `mocs_compilation` builds when `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON * Per-config `DEP_FILE_RULE_NAME` values were added to `AutogenInfo.json` for `Multi-Config` usage. * Some functions were refactored to avoid code duplication. This commit reimplements fddd0f0443b4ce81d61f15ee1b2f13105967b25a Fixes: #20074
* | Merge topic 'cxxmodules-no-unity'Brad King2024-01-101-0/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | 63bbb3768d cmLocalGenerator: ignore scanned sources for unity builds 76b5383123 cmGlobalGenerator: add unity sources after computing target compile features 7fc2a83fe6 Tests/CXXModules: add a test with unity build support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9118
| * cmLocalGenerator: ignore scanned sources for unity buildsBen Boeckel2024-01-051-0/+5
| |
* | Help: Document Xcode project visibility constraints for embeddingCraig Scott2023-12-151-0/+16
| | | | | | | | Fixes: #22412
* | Merge topic 'cmake-test-launcher'Brad King2023-12-151-0/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88863d83d6 fileapi: Add test launcher to codemodel-v2 1ec0372ed4 add_test: Optionally use a launcher for tests running in-project targets 478a5f4e04 fileapi: Make launcher attribute 'arguments' optional b44e38a397 cmFileAPICodemodel: Add missing std::move() Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8963
| * | add_test: Optionally use a launcher for tests running in-project targetsRalf Habacker2023-12-131-0/+20
| | | | | | | | | | | | | | | | | | | | | Add a `CMAKE_TEST_LAUNCHER` variable and corresponding `TEST_LAUNCHER` target property. Issue: #23672
* | | Merge topic 'doc-xcframeworks-stubs-apple'Brad King2023-12-133-16/+21
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | e831eef933 Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworks 01735badee Help: XCFrameworks and stubs are supported on all Apple, not just macOS 6ac50df591 Help: Add missing versionadded directives for IMPORTED_IMPLIB Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9058
| * Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworksCraig Scott2023-12-131-0/+6
| |
| * Help: XCFrameworks and stubs are supported on all Apple, not just macOSCraig Scott2023-12-093-15/+11
| |
| * Help: Add missing versionadded directives for IMPORTED_IMPLIBCraig Scott2023-12-091-5/+8
| |
* | Xcode: Add support to embed XPC ServicesJonathan Earnshaw2023-11-292-0/+9
| |
* | Merge topic 'xcode-embed-resources'Brad King2023-11-291-1/+1
|\ \ | |/ | | | | | | | | | | | | 6030df205a Xcode: Fix embed resources prop name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Deal <halx99@live.com> Merge-request: !9008
| * Xcode: Fix embed resources prop namehalx992023-11-281-1/+1
| | | | | | | | | | | | | | Fix commit e40d2cb3af (Xcode: Add embed resources support, 2023-07-31, v3.28.0-rc1~281^2). The implementation should not name the `_PATH` suffix explicitly. That variant is automatically handled by `cmGlobalXCodeGenerator::AddEmbeddedObjects`.
* | Merge topic 'swift-compilation-mode'Brad King2023-11-192-0/+52
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f80101b73 Tests: Update Swift tests to use CMP0157 NEW behavior c1d787e473 Swift: Add abstraction for compilation mode c39384f540 Tests: Simplify RunCMake.Swift conditions to enable use of Swift Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8918
| * | Swift: Add abstraction for compilation modeEvan Wilde2023-11-172-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `CMAKE_Swift_COMPILATION_MODE` variable and corresponding `Swift_COMPILATION_MODE` target property to control the compilation mode. Select among `wholemodule`, `singlefile`, and `incremental`. Add policy CMP0157 to remove the default `-wmo` flags in favor of the abstract setting. Issue: #25366
* | | 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.