vcpkg/ports/mongo-cxx-driver/disable_test_and_example.patch
bucurb 68c63203e6
[libbson] [mongo-c-driver] [mongo-cxx-driver] Updated to latest (#18751)
* get latest version

* libbson 1.17.6

* Updated patches

* bson sha

* Mongoc upgraded to 1.17.6

* updated sha

* Updated mongoc to latest

* updated sha

* upgraded mongo-cxx

* manifest fix

* updated sha

* PR comments

* updated sha

* fixed missing dependency. deleted unused patch

* sha

* PR comments

* sha

* Use modern cmake helpers for mongo-cxx-driver.

* Rebuild version database.

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-10-26 22:31:19 -07:00

48 lines
1.3 KiB
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2bc2a17c..347faa5ca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -190,6 +190,7 @@ set (BUILD_SOURCE_DIR ${CMAKE_BINARY_DIR})
include (MakeDistFiles)
+if(0)
add_custom_target(hugo_dir
COMMAND ${CMAKE_COMMAND} -E make_directory hugo
)
@@ -248,6 +249,8 @@ add_custom_target(docs
set(THIRD_PARTY_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/third_party)
+endif()
+
enable_testing()
add_subdirectory(src)
diff --git a/src/bsoncxx/CMakeLists.txt b/src/bsoncxx/CMakeLists.txt
index 480b7cd32..b890c36b6 100644
--- a/src/bsoncxx/CMakeLists.txt
+++ b/src/bsoncxx/CMakeLists.txt
@@ -204,7 +204,7 @@ if(BSONCXX_BUILD_STATIC)
endif()
bsoncxx_install("${bsoncxx_target_list}" "${bsoncxx_pkg_dep}")
-add_subdirectory(test)
+# add_subdirectory(test)
set_local_dist (src_bsoncxx_DIST_local
CMakeLists.txt
diff --git a/src/mongocxx/CMakeLists.txt b/src/mongocxx/CMakeLists.txt
index f67ae35f7..b783a4716 100644
--- a/src/mongocxx/CMakeLists.txt
+++ b/src/mongocxx/CMakeLists.txt
@@ -231,7 +231,7 @@ if(MONGOCXX_BUILD_STATIC)
endif()
mongocxx_install("${mongocxx_target_list}" "${mongocxx_pkg_dep}")
-add_subdirectory(test)
+# add_subdirectory(test)
set_local_dist (src_mongocxx_DIST_local
CMakeLists.txt