summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'compile-options-order'Brad King2021-06-081-3/+7
|\ | | | | | | | | | | | | | | | | | | 8f68bcad8f Tests: Add cases verifying flag ordering rules ccc83ce162 Help: Document order of flags from CMAKE_<LANG>_FLAGS and COMPILE_OPTIONS df79fe055b Help: Remove incorrect "versionadded" for CMAKE_<LANG>_FLAGS_<CONFIG> c48d2d8480 VS: Place per-source preprocessor definitions after target-wide ones Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6187
| * Help: Document order of flags from CMAKE_<LANG>_FLAGS and COMPILE_OPTIONSBrad King2021-06-031-3/+7
| |
* | Help: Remove recommendations for using CMAKE_CFG_INTDIRCraig Scott2021-06-061-12/+10
|/ | | | | | Commit e71c4f7729 (CMAKE_CFG_INTDIR: Formally deprecate in favor of $<CONFIG>, 2021-05-27) only updated the docs for CMAKE_CFG_INTDIR itself, but other parts of the docs still used it. Update the other places to avoid referring to the now-deprecated variable.
* Launchers: Support setting linker launchersBobby D Reynolds2021-05-281-0/+16
| | | | Fixes: #18316
* Help: Add SHELL, LINKER and host/device discussions to property docsCraig Scott2021-05-153-0/+10
| | | | | | Section headings are also added for each common block to help guide the reader and improve navigation. Fixes: #21640
* Help: Fix typos and spelling in documentationJosef Angstenberger2021-05-072-2/+2
|
* Help: Convert CMAKE_LINK_DEPENDS_NO_SHARED to cross-reference linkCraig Scott2021-04-271-2/+3
|
* Merge topic 'xcode_app_extensions'Brad King2021-04-266-7/+75
|\ | | | | | | | | | | | | | | eb5e33ba47 Xcode: Add support for embedding app extensions f62a2bf44f Tests: Factor out XcodeProject-Embed check function findAttribute() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5934
| * Xcode: Add support for embedding app extensionsAlexander Akhundzhanov2021-04-226-7/+75
| | | | | | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | Help: Demonstrate using set_target_properties with CUDA architecturesRobert Maynard2021-04-201-1/+1
| | | | | | | | | | | | | | | | A common anti-pattern is to copy from the `CUDA_ARCHITECTURES` documentation. If at any point the user tries to simplify by changin `set_property` to `set_target_properties` the code breaks. To better train users, provide and example of how to set multiple CUDA architectures with `set_target_properties`.
* | Merge topic 'ios-rpath-linker-flag'Brad King2021-04-071-3/+5
|\ \ | | | | | | | | | | | | | | | | | | 4aed96e230 Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5980
| * | Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS tooCraig Scott2021-04-061-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since CMake 3.19, we no longer support macOS SDKs older than 10.5, which corresponds to Xcode 3. Supporting older Xcode versions for device platforms is also not realistic. We therefore expect the -rpath linker option should always be supported now. When targeting iOS, tvOS or watchOS, the previous disabling of -rpath support meant that the install_name_dir of shared libraries and frameworks was unable to use @rpath. This resulted in embedding absolute paths for their install_name. When they were embedded in an app bundle, this would cause the app to fail at runtime. By enabling the -rpath linker option, the default install_name_dir is now @rpath for these platforms, which results in binaries that do work at runtime. Fixes: #20036
* | | Merge topic 'doc-IMPORTED_LOCATION'Brad King2021-04-021-4/+4
|\ \ \ | |/ / | | / | |/ |/| | | | | 08a25e4902 Help: Clarify IMPORTED_LOCATION documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5968
| * Help: Clarify IMPORTED_LOCATION documentationmcc2021-04-011-4/+4
| | | | | | | | | | Prefer the macOS term "application bundle" over just "bundle". Put both macOS cases together.
* | C23 supportRaul Tambre2021-02-251-1/+1
| |
* | C17 supportRaul Tambre2021-02-251-1/+1
|/ | | | Implements #17755.
* Help: Add Ninja Multi-Config and make generator types into linksCraig Scott2021-02-141-5/+6
|
* Help: Convert output directory variable mentions to cross-referencesCraig Scott2021-02-143-3/+3
|
* Help: Update Sphinx versionadded directives for 3.20 releaseBrad King2021-02-101-0/+2
| | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.19.0 --overwrite Manually restore the 3.20 version for `cmake_path`, which was originally part of 3.19 but reverted and restored in 3.20.
* Merge topic 'object-lib-multiarch'Brad King2021-02-092-4/+95
|\ | | | | | | | | | | | | | | 4d46b1401f add_library(): Allow imported object libraries with multi-arch 1a915e8953 Tests: TargetObjects does not need any languages enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5771
| * add_library(): Allow imported object libraries with multi-archCraig Scott2021-02-062-4/+95
| | | | | | Fixes: #21276
* | Help: Convert some genex names to explicit cross-referencesBrad King2021-02-051-2/+2
|/ | | | | | | | | Since commit c2dc7e0f53 (Help: Convert genex documentation to sphinx domain objects, 2021-01-15) we can use `:genex:` cross-references to link to named generator expressions. Update some places to do this. This is meant to demonstrate the capability, not as a comprehensive sweep.
* Help: Document intended purpose of XCODE_ATTRIBUTE_<an-attribute>Brad King2021-01-221-1/+7
| | | | | | Also warn the reader against setting values CMake normally generates. Issue: #21728
* CMAKE_EXPORT_COMPILE_COMMANDS: allow configuration per targetShannon Booth2021-01-051-0/+9
| | | | | | | | The new target property `EXPORT_COMPILE_COMMANDS` associated with the existing global variable can be used to optionally configure targets for their compile commands to be exported. Fixes: #19462
* Merge topic 'doc-fix-XCODE_LINK_BUILD_PHASE_MODE'Craig Scott2020-12-211-0/+1
|\ | | | | | | | | | | | | 2d84b9d145 Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5634
| * Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODECraig Scott2020-12-201-0/+1
| |
* | Merge topic 'qt-autogen-per-config'Brad King2020-12-171-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 20e4db4a66 cmGeneratorTarget: Make GetConfigCommonSourceFiles Xcode-specific 92d7b456e5 Autogen: Add support for per-config sources 3ffebbaefb Tests/QtAutogen: Forward build configuration in multi-config generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5624
| * | Autogen: Add support for per-config sourcesBrad King2020-12-161-1/+2
| | | | | | | | | | | | Fixes: #20682
* | | Merge topic 'unity-anon-ns'Craig Scott2020-12-162-0/+58
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 0fe9c40494 Unity Build: Add option for generating per-file unique id Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4784
| * | Unity Build: Add option for generating per-file unique idStephen Kelly2020-12-152-0/+58
| | | | | | | | | | | | Fixes: #21477
* | | Merge topic 'ispc_control_header_suffixes'Brad King2020-12-151-0/+14
|\ \ \ | |/ / |/| / | |/ | | | | | | c9a50f3556 ISPC: Generated Headers suffix configurable with a better default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5597
| * ISPC: Generated Headers suffix configurable with a better defaultRobert Maynard2020-12-141-0/+14
| | | | | | | | | | | | | | | | | | The target property `ISPC_HEADER_SUFFIX` and associated global variable now can control the suffix used when generating the C/C++ interoperability ISPC headers. In addition the default suffix is now "_ispc.h" which matches the common convention that the ISPC compiler team uses and recommends.
* | Merge branch 'master' into doc-3_19_release-fixesBrad King2020-12-118-4/+43
|\ \ | |/ |/|
| * CUDA, CXX, OBJCXX: C++23 support with Clang 12Raul Tambre2020-12-083-3/+3
| | | | | | | | | | Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
| * Xcode: add support for embedding frameworksGusts Kaksis2020-11-284-0/+39
| | | | | | | | | | | | This commit also prepares for embedding things other than frameworks. In the future, we may want to embed resources and other types supported by Xcode, so the target properties have been documented in a way that clearly signals the future intent.
| * Merge topic 'doc-cstd'Brad King2020-11-132-4/+4
| |\ | | | | | | | | | | | | | | | | | | 48645cabe3 Help: MSVC now has C standard level flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5500
| * | clang-tidy: allow OBJC and OBJCXXAndrew Fuller2020-11-051-1/+1
| | |
* | | Help: Mention how OPTIMIZE_DEPENDENCIES is initializedCraig Scott2020-12-111-0/+3
| |/ |/|
* | Help: MSVC now has C standard level flagsMichael Hirsch2020-11-122-4/+4
|/
* Help: Update Sphinx versionadded directives for 3.19 releaseBrad King2020-10-082-0/+4
| | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.18.0 --overwrite
* Merge topic 'pch-instantiate-templates'Brad King2020-09-101-0/+13
|\ | | | | | | | | | | | | | | | | | | 8c8f03422e PCH: Template instantiation support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Acked-by: Cristian Adam <cristian.adam@gmail.com> Tested-by: Raul Tambre <raul@tambre.ee> Merge-request: !5168
| * PCH: Template instantiation supportTobias Hieta2020-09-021-0/+13
| | | | | | | | | | | | | | | | Adds PCH_INSTANTIATE_TEMPLATES target property for enabling template instantiation in precompiled headers. Enabled by default. Currently only supported for Clang 11 and newer. Implements #21133.
* | ISPC: Support generation for multiple instruction setsRobert Maynard2020-09-041-0/+21
| |
* | ISPC: Add compiler launcher supportRobert Maynard2020-09-031-1/+1
| |
* | Merge topic 'xcode-link-phase-all'Craig Scott2020-09-011-0/+52
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 525464ed2a Xcode: Use "Link Binary With Libraries" build phase in some cases dc0898205c Xcode: Add special case for file type extension map for .xcassets 7b3d8411a2 Xcode: Refactor build setting append code and attribute getter naming Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5036
| * | Xcode: Use "Link Binary With Libraries" build phase in some casesGusts Kaksis2020-08-311-0/+52
| |/ | | | | | | | | | | | | OBJECT and STATIC libraries (framework or non-framework) do not use this build phase. Not all items to be linked use this build phase either. Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | Merge topic 'ispc_lang_support'Brad King2020-09-011-0/+13
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 5ece12b7e4 gitlab-ci: add ISPC to the Fedora CI image 8976817d6d ISPC: Update help documentation to include ISPC 2368f46ba4 ISPC: Support building with the MSVC toolchain e783bf8aa6 ISPC: Support ISPC header generation byproducts and parallel builds 34cc6acc81 Add ISPC compiler support to CMake 419d70d490 Refactor some swift only logic to be re-used by other languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5065
| * ISPC: Update help documentation to include ISPCRobert Maynard2020-08-281-2/+3
| |
| * ISPC: Support ISPC header generation byproducts and parallel buildsRobert Maynard2020-08-281-0/+12
| |
* | WIN32_EXECUTABLE: Add support for generator expressionsKyle Edwards2020-08-211-0/+4
| |