diff options
author | Brad King <brad.king@kitware.com> | 2015-07-14 18:57:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-14 18:57:02 (GMT) |
commit | eb8eaaecbe4aaf950a217d53c477461794fe6db8 (patch) | |
tree | 48893f1287be67aa12986a88a5f175041b412bc9 /Help/manual/cmake-buildsystem.7.rst | |
parent | 7a409983292e0917cf1299d55ca601a92fd4a36e (diff) | |
download | CMake-eb8eaaecbe4aaf950a217d53c477461794fe6db8.zip CMake-eb8eaaecbe4aaf950a217d53c477461794fe6db8.tar.gz CMake-eb8eaaecbe4aaf950a217d53c477461794fe6db8.tar.bz2 |
Help: Document Apple Framework creation with an example (#15651)
Diffstat (limited to 'Help/manual/cmake-buildsystem.7.rst')
-rw-r--r-- | Help/manual/cmake-buildsystem.7.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst index aefdb71..357aae9 100644 --- a/Help/manual/cmake-buildsystem.7.rst +++ b/Help/manual/cmake-buildsystem.7.rst @@ -85,6 +85,22 @@ It is a type which is loaded as a plugin using runtime techniques. add_library(archive MODULE 7z.cpp) +.. _`Apple Frameworks`: + +Apple Frameworks +"""""""""""""""" + +A ``SHARED`` library may be marked with the :prop_tgt:`FRAMEWORK` +target property to create an OS X Framework: + +.. code-block:: cmake + + add_library(MyFramework SHARED MyFramework.cpp) + set_target_properties(MyFramework PROPERTIES + FRAMEWORK 1 + FRAMEWORK_VERSION A + ) + .. _`Object Libraries`: Object Libraries |