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

Support compiling both a static and shared WiredTiger library in CMake

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.2.0, 5.0.5
    • None
    • None
    • 5
    • Storage - Ra 2021-11-15

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              alison.felizzi@mongodb.com Alison Felizzi (Inactive)
              alison.felizzi@mongodb.com Alison Felizzi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: