https://github.com/Kitware/CMake
Raw File
Tip revision: 732d8a467ab8a295b1bbf580f865980f8a1a9b29 authored by Brad King on 10 March 2015, 13:15:35 UTC
CMake 3.2.1
Tip revision: 732d8a4
BUILD_SHARED_LIBS.rst
BUILD_SHARED_LIBS
-----------------

Global flag to cause 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 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