BUILD_SHARED_LIBS.rst 423 B

12345678910
  1. BUILD_SHARED_LIBS
  2. -----------------
  3. Global flag to cause :command:`add_library` to create shared libraries if on.
  4. If present and true, this will cause all libraries to be built shared
  5. unless the library was explicitly added as a static library. This
  6. variable is often added to projects as an :command:`option` so that each user
  7. of a project can decide if they want to build the project using shared or
  8. static libraries.