https://github.com/Kitware/CMake
Raw File
Tip revision: ecaddda2fea374089d867ad17b8b4700b189f397 authored by Brad King on 05 October 2017, 14:40:37 UTC
Merge branch 'cpack-dmg-explicit-hfs' into release-3.10
Tip revision: ecaddda
BUILD_SHARED_LIBS.rst
BUILD_SHARED_LIBS
-----------------

Global flag to cause :command:`add_library` to create shared libraries if on.

If present and true, this will cause all libraries to be built shared
unless the library was explicitly added as a static library.  This
variable is often added to projects as an :command:`option` so that each user
of a project can decide if they want to build the project using shared or
static libraries.
back to top