2013-10-15 19:17:36 +04:00
|
|
|
BUILD_SHARED_LIBS
|
|
|
|
-----------------
|
|
|
|
|
2015-08-18 08:34:01 +03:00
|
|
|
Global flag to cause :command:`add_library` to create shared libraries if on.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
|
|
|
If present and true, this will cause all libraries to be built shared
|
|
|
|
unless the library was explicitly added as a static library. This
|
2015-08-18 08:34:01 +03:00
|
|
|
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
|
2013-10-15 19:17:36 +04:00
|
|
|
static libraries.
|