Support compiling both a static and shared WiredTiger library in CMake

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.1, 5.2.0, 5.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2021-11-15
    • 5

      Currently we only support compiling either static or shared build of the WiredTiger library in CMake (being a binary option). When building a release version of WiredTiger, it can be ideal to compile both the static and shared artifacts for a system installation.

      The intention of this ticket is to update the CMake project to support the option for compiling both the static and shared build of WiredTiger under a single build run.

      Definition of Done:

      • Add a new configuration option 'ENABLE_SHARED', being an independent configuration from 'ENABLE_STATIC'
      • Build a static version of WiredTiger if 'ENABLE_STATIC' is enabled.
      • Build a shared version of WiredTiger if 'ENABLE_SHARED' is enabled.

              Assignee:
              Alison Felizzi (Inactive)
              Reporter:
              Alison Felizzi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: