Is there a way to build/install bsoncxx without mongocxx without editing CMakeLists.txt's?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.0.0-rc0, 3.0.0
    • Component/s: Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I require to build bsoncxx as static library for the client part of an application running on android and iOS. Bsoncxx builds for both platforms without problems, but mongocxx causes issues in the build and I do not need it for the app.

      The only solution I have right now is to edit the following files:
      ./src/CMakeLists.txt:17 #add_subdirectory(mongocxx) #Do not build mongocxx
      ./src/bsoncxx/CMakeLists.txt:208 #add_subdirectory(test) #Do not build tests

      Is there a better way to do this right now?

            Assignee:
            Unassigned
            Reporter:
            MS [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: