Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1313

"bsoncxx" depends on "bson-1.0" if BUILD_SHARED_LIBS, else depends on "bson-static-1.0"

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Build
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Perl/CXX 2017-04-14

      Description

      Currently, both the "bsoncxx" and "bsoncxx_static" targets depend on the "bson-1.0" library, which is the shared libbson library.

      We should remove the "bsoncxx_static" target, and make the "bsoncxx" target a shared or static library depending on the user value for BUILD_SHARED_LIBS. If BUILD_SHARED_LIBS is on, "bsoncxx" should depend on "bson-1.0"; else, if should depend on "bson-static-1.0".

      This has the effect of limiting users to building either the static library or the shared library, but not both at once.

        Attachments

          Activity

            People

            • Assignee:
              rassi J Rassi
              Reporter:
              rassi J Rassi
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: