diff options
| author | Carlos O'Ryan <coryan@users.noreply.github.com> | 2021-08-30 17:14:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-30 17:14:50 -0700 |
| commit | 4529856aebcdb61c63b062b11ed75b569e8e38bb (patch) | |
| tree | 09392c6c16043f971c49c80991f88fe166f6e61b /ports/google-cloud-cpp/portfile.cmake | |
| parent | 2777eada3f0608c337eced841c0023ab405e03d8 (diff) | |
| download | vcpkg-4529856aebcdb61c63b062b11ed75b569e8e38bb.tar.gz vcpkg-4529856aebcdb61c63b062b11ed75b569e8e38bb.zip | |
[google-cloud-cpp] use features to stop package growth (#19600)
* [google-cloud-cpp] use features to stop package growth
We have plans to grow `google-cloud-cpp`, but we think the build times
are large enough already. This creates "features" to at least stop the
package growth as new features are added. The "default-features"
reflects the current features in the package.
* Remove versions created during development
* Address review comments
Diffstat (limited to 'ports/google-cloud-cpp/portfile.cmake')
| -rw-r--r-- | ports/google-cloud-cpp/portfile.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/google-cloud-cpp/portfile.cmake b/ports/google-cloud-cpp/portfile.cmake index 6fb513e50..6dfe0070b 100644 --- a/ports/google-cloud-cpp/portfile.cmake +++ b/ports/google-cloud-cpp/portfile.cmake @@ -12,11 +12,16 @@ vcpkg_from_github( vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/grpc") +set(GOOGLE_CLOUD_CPP_ENABLE "${FEATURES}") +list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "core") +list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "googleapis") + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA DISABLE_PARALLEL_CONFIGURE OPTIONS + "-DGOOGLE_CLOUD_CPP_ENABLE=${GOOGLE_CLOUD_CPP_ENABLE}" -DGOOGLE_CLOUD_CPP_ENABLE_MACOS_OPENSSL_CHECK=OFF -DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF -DGOOGLE_CLOUD_CPP_ENABLE_CCACHE=OFF |
