disable tests during build

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Environment:
      Ubuntu 18.04
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hello,

      How can i disable the building of tests and examples? For example in the mongo c driver there's options:
      option (ENABLE_TESTS "Build MongoDB C Driver tests." ON)
      option (ENABLE_EXAMPLES "Build MongoDB C Driver examples." ON)
      I couldn't find anything like that in the mongo cxx driver CMakeLists.txt or the documentation.

            Assignee:
            Unassigned
            Reporter:
            Nikolay Voev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: