Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8335

Support compiling both a static and shared WiredTiger library in CMake

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

      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@mongodb.com Alison Felizzi (Inactive)
            Reporter:
            alison.felizzi@mongodb.com Alison Felizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: