Cannot make install just libbson without building libmongoc

XMLWordPrintableJSON

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If we build just libbson

      cd mongo-c-driver
      mkdir cmake-build && cd cmake-build
      cmake -DCMAKE_INSTALL_PREFIX=/tmp/cdriver ../
      make bson_shared
      

      This builds bson_shared only, as expected. However, doing make install proceeds to build all of the C driver.

      A potential solution is to introduce a CMake option to disable building libmongoc.

              Assignee:
              Roberto Sanchez
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: