summaryrefslogtreecommitdiff
path: root/Help/variable/BUILD_SHARED_LIBS.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/BUILD_SHARED_LIBS.rst')
-rw-r--r--Help/variable/BUILD_SHARED_LIBS.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/variable/BUILD_SHARED_LIBS.rst b/Help/variable/BUILD_SHARED_LIBS.rst
new file mode 100644
index 000000000..53087b23b
--- /dev/null
+++ b/Help/variable/BUILD_SHARED_LIBS.rst
@@ -0,0 +1,10 @@
+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.