summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-14 18:57:02 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-14 18:57:02 (GMT)
commiteb8eaaecbe4aaf950a217d53c477461794fe6db8 (patch)
tree48893f1287be67aa12986a88a5f175041b412bc9 /Help/command
parent7a409983292e0917cf1299d55ca601a92fd4a36e (diff)
downloadCMake-eb8eaaecbe4aaf950a217d53c477461794fe6db8.zip
CMake-eb8eaaecbe4aaf950a217d53c477461794fe6db8.tar.gz
CMake-eb8eaaecbe4aaf950a217d53c477461794fe6db8.tar.bz2
Help: Document Apple Framework creation with an example (#15651)
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/add_library.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 7c06203..fe7735c 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -33,6 +33,8 @@ type is ``STATIC`` or ``SHARED`` based on whether the current value of the
variable :variable:`BUILD_SHARED_LIBS` is ``ON``. For ``SHARED`` and
``MODULE`` libraries the :prop_tgt:`POSITION_INDEPENDENT_CODE` target
property is set to ``ON`` automatically.
+A ``SHARED`` library may be marked with the :prop_tgt:`FRAMEWORK`
+target property to create an OS X Framework.
By default the library file will be created in the build tree directory
corresponding to the source tree directory in which the command was