mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 15:39:07 +08:00
0b79c4bb74
* [mongo-cxx-driver] Update to 3.2.0 and add cmake targets * [mongo-cxx-driver] Replace cmake config files to support debug binaries
152 lines
3.9 KiB
Diff
152 lines
3.9 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 27cf3b6b8..896eee19a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -87,68 +87,68 @@ endif()
|
|
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
-add_custom_target(hugo_dir
|
|
- COMMAND ${CMAKE_COMMAND} -E make_directory hugo
|
|
-)
|
|
-
|
|
-add_custom_target(hugo
|
|
- DEPENDS hugo_dir
|
|
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/docs
|
|
- COMMAND hugo
|
|
- VERBATIM
|
|
-)
|
|
-
|
|
-add_custom_target(hugo-deploy
|
|
- DEPENDS hugo
|
|
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
- COMMAND etc/deploy-to-ghpages.pl --hugo git@github.com:mongodb/mongo-cxx-driver
|
|
- VERBATIM
|
|
-)
|
|
-
|
|
-add_custom_target(docs_dir_current
|
|
- COMMAND ${CMAKE_COMMAND} -E make_directory docs/api/current
|
|
-)
|
|
-
|
|
-add_custom_target(doxygen-current
|
|
- DEPENDS docs_dir_current
|
|
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
- COMMAND doxygen ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile
|
|
- VERBATIM
|
|
-)
|
|
-
|
|
-add_custom_target(doxygen-all
|
|
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
- COMMAND etc/generate-all-apidocs.pl
|
|
- VERBATIM
|
|
-)
|
|
-
|
|
-add_custom_target(doxygen-deploy
|
|
- DEPENDS doxygen-all
|
|
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
- COMMAND etc/deploy-to-ghpages.pl --doxygen git@github.com:mongodb/mongo-cxx-driver
|
|
- VERBATIM
|
|
-)
|
|
-
|
|
-add_custom_target(format
|
|
- python ${CMAKE_SOURCE_DIR}/etc/clang_format.py format
|
|
- VERBATIM
|
|
-)
|
|
-
|
|
-add_custom_target(format-lint
|
|
- python ${CMAKE_SOURCE_DIR}/etc/clang_format.py lint
|
|
- VERBATIM
|
|
-)
|
|
-
|
|
-add_custom_target(docs
|
|
- DEPENDS hugo doxygen-current
|
|
-)
|
|
-
|
|
-set(THIRD_PARTY_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/third_party)
|
|
+# add_custom_target(hugo_dir
|
|
+# COMMAND ${CMAKE_COMMAND} -E make_directory hugo
|
|
+# )
|
|
+
|
|
+# add_custom_target(hugo
|
|
+# DEPENDS hugo_dir
|
|
+# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/docs
|
|
+# COMMAND hugo
|
|
+# VERBATIM
|
|
+# )
|
|
+
|
|
+# add_custom_target(hugo-deploy
|
|
+# DEPENDS hugo
|
|
+# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
+# COMMAND etc/deploy-to-ghpages.pl --hugo git@github.com:mongodb/mongo-cxx-driver
|
|
+# VERBATIM
|
|
+# )
|
|
+
|
|
+# add_custom_target(docs_dir_current
|
|
+# COMMAND ${CMAKE_COMMAND} -E make_directory docs/api/current
|
|
+# )
|
|
+
|
|
+# add_custom_target(doxygen-current
|
|
+# DEPENDS docs_dir_current
|
|
+# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
+# COMMAND doxygen ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile
|
|
+# VERBATIM
|
|
+# )
|
|
+
|
|
+# add_custom_target(doxygen-all
|
|
+# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
+# COMMAND etc/generate-all-apidocs.pl
|
|
+# VERBATIM
|
|
+# )
|
|
+
|
|
+# add_custom_target(doxygen-deploy
|
|
+# DEPENDS doxygen-all
|
|
+# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
+# COMMAND etc/deploy-to-ghpages.pl --doxygen git@github.com:mongodb/mongo-cxx-driver
|
|
+# VERBATIM
|
|
+# )
|
|
+
|
|
+# add_custom_target(format
|
|
+# python ${CMAKE_SOURCE_DIR}/etc/clang_format.py format
|
|
+# VERBATIM
|
|
+# )
|
|
+
|
|
+# add_custom_target(format-lint
|
|
+# python ${CMAKE_SOURCE_DIR}/etc/clang_format.py lint
|
|
+# VERBATIM
|
|
+# )
|
|
+
|
|
+# add_custom_target(docs
|
|
+# DEPENDS hugo doxygen-current
|
|
+# )
|
|
+
|
|
+# set(THIRD_PARTY_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/third_party)
|
|
|
|
enable_testing()
|
|
|
|
add_subdirectory(src)
|
|
|
|
-add_subdirectory(examples EXCLUDE_FROM_ALL)
|
|
+#add_subdirectory(examples EXCLUDE_FROM_ALL)
|
|
|
|
add_subdirectory(benchmark EXCLUDE_FROM_ALL)
|
|
diff --git a/src/bsoncxx/CMakeLists.txt b/src/bsoncxx/CMakeLists.txt
|
|
index bd6e40662..d6054b022 100644
|
|
--- a/src/bsoncxx/CMakeLists.txt
|
|
+++ b/src/bsoncxx/CMakeLists.txt
|
|
@@ -249,4 +249,4 @@ install(
|
|
DESTINATION lib/cmake/${PKG}-${BSONCXX_VERSION}
|
|
)
|
|
|
|
-add_subdirectory(test)
|
|
+#add_subdirectory(test)
|
|
diff --git a/src/mongocxx/CMakeLists.txt b/src/mongocxx/CMakeLists.txt
|
|
index a05021228..3dd7c1224 100644
|
|
--- a/src/mongocxx/CMakeLists.txt
|
|
+++ b/src/mongocxx/CMakeLists.txt
|
|
@@ -238,4 +238,4 @@ install(
|
|
DESTINATION lib/cmake/${PKG}-${MONGOCXX_VERSION}
|
|
)
|
|
|
|
-add_subdirectory(test)
|
|
+#add_subdirectory(test)
|