1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 10:47:59 +08:00

Help: Document that CMAKE_FRAMEWORK initializes FRAMEWORK target prop

This commit is contained in:
Craig Scott
2019-06-25 21:57:31 +10:00
parent 5c7880956f
commit f57a53d43e

View File

@@ -6,7 +6,9 @@ Build ``SHARED`` or ``STATIC`` library as Framework Bundle on the macOS and iOS.
If such a library target has this property set to ``TRUE`` it will be If such a library target has this property set to ``TRUE`` it will be
built as a framework when built on the macOS and iOS. It will have the built as a framework when built on the macOS and iOS. It will have the
directory structure required for a framework and will be suitable to directory structure required for a framework and will be suitable to
be used with the ``-framework`` option be used with the ``-framework`` option. This property is initialized by the
value of the :variable:`CMAKE_FRAMEWORK` variable if it is set when a target is
created.
To customize ``Info.plist`` file in the framework, use To customize ``Info.plist`` file in the framework, use
:prop_tgt:`MACOSX_FRAMEWORK_INFO_PLIST` target property. :prop_tgt:`MACOSX_FRAMEWORK_INFO_PLIST` target property.