[CXX-1160] Please add instructions to compile Mongo C++ driver as static library Created: 12/Dec/16  Updated: 12/May/17  Resolved: 12/May/17

Status: Closed
Project: C++ Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: New Feature Priority: Minor - P4
Reporter: Adil Assignee: J Rassi
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CXX-1257 Revise static library naming and link... Closed
Duplicate
is duplicated by CXX-1122 Add static link instructions Closed
Epic Link: static-linking

 Description   

The current docs don't tell how to compile the driver statically on Linux/Unix. Some instructions here would be tremendously helpful.



 Comments   
Comment by J Rassi [ 12/May/17 ]

Resolving. See commit https://github.com/mongodb/mongo-cxx-driver/commit/68b400a3bde4d5da28aa99ebfa78883338947e11 in parent epic CXX-1257.

Comment by J Rassi [ 14/Apr/17 ]

This ticket should also document the removal of the LIBBSON_DIR and LIBMONGOC_DIR CMake options, in favor of using CMAKE_PREFIX_PATH.

Comment by David Golden [ 15/Mar/17 ]

Blocked on CXX-1257

Comment by David Golden [ 12/Dec/16 ]

Thanks for the suggestions. We're seeing several inquiries about static compilation on both Linux and Windows, so there's clearly demand for better docs in this regard.

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