[CXX-1923] disable tests during build Created: 28/Jan/20  Updated: 17/Jan/23  Resolved: 17/Jan/23

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Nikolay Voev Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: bgtrack
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 18.04


Issue Links:
Duplicate
duplicates CXX-2088 Implement ENABLE_TESTS CMake option Closed

 Description   

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.



 Comments   
Comment by Rishabh Bisht [ 17/Jan/23 ]

Fixed with CXX-2088.

Comment by Alex Bevilacqua [ 19/Sep/22 ]

CXX-2088 appears to have added ENABLE_TESTS - FYI rishabh.bisht@mongodb.com

Generated at Wed Feb 07 22:04:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.