2014-08-03 19:52:23 +02:00
|
|
|
BUILD_SHARED_LIBS
|
|
|
|
-----------------
|
|
|
|
|
2015-11-17 17:22:37 +01:00
|
|
|
Global flag to cause :command:`add_library` to create shared libraries if on.
|
2014-08-03 19:52:23 +02: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-11-17 17:22:37 +01: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
|
2014-08-03 19:52:23 +02:00
|
|
|
static libraries.
|