-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
If we build just libbson
cd mongo-c-driver mkdir cmake-build && cd cmake-build cmake -DCMAKE_INSTALL_PREFIX=/tmp/cdriver ../ make bson_shared
This builds bson_shared only, as expected. However, doing make install proceeds to build all of the C driver.
A potential solution is to introduce a CMake option to disable building libmongoc.