[CXX-2702] Do not build tests or examples on default source install Created: 26/Jun/23  Updated: 10/Aug/23  Resolved: 10/Aug/23

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

Type: Task Priority: Minor - P4
Reporter: Kyle Kloberdanz Assignee: Kyle Kloberdanz
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-1792 Add CMake flag for skipping tests com... Closed
Epic Link: CXX-2622
Quarter: FY24Q2

 Description   

Do not build tests or examples on default source install.

Do not build tests or examples when installing via `cmake -S . -B <build-dir>` and `cmake --build <build-dir> --target install`



 Comments   
Comment by Githook User [ 09/Aug/23 ]

Author:

{'name': 'Kyle Kloberdanz', 'email': 'kyle.kloberdanz@mongodb.com', 'username': 'kkloberdanz'}

Message: Skip building tests by default (#993)

CXX-1792
CXX-2702

Tests will not be compiled by default.
To enable building tests, build with -DBUILD_TESTING=ON

---------

Co-authored-by: vector-of-bool <vectorofbool@gmail.com>
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/7b01ed292151a24bb7901e3b1236ad5a3a910c9e

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