BUILD_SHARED_LIBS.rst 401 B

12345678910
  1. BUILD_SHARED_LIBS
  2. -----------------
  3. Global flag to cause 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 OPTION so that each user of
  7. a project can decide if they want to build the project using shared or
  8. static libraries.