Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use vcpkg features to control dependencies #289

Conversation

coryan
Copy link
Member

@coryan coryan commented Feb 20, 2021

Sometimes we want to compile without the tests, or without the tests for
the examples. With this change we can express that by just turning vcpkg
features on or off. Because -DBUILD_TESTING=ON is a well-known flag,
we use it to enable the testing features too.

Sometimes we want to compile without the tests, or without the tests for
the examples. With this change we can express that by just turning vcpkg
features on or off. Because `-DBUILD_TESTING=ON` is a well-known flag,
we use it to enable the testing features too.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 20, 2021
@codecov
Copy link

codecov bot commented Feb 20, 2021

Codecov Report

Merging #289 (fcddc21) into main (955a412) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #289      +/-   ##
==========================================
+ Coverage   88.55%   88.57%   +0.02%     
==========================================
  Files          87       87              
  Lines        2255     2259       +4     
==========================================
+ Hits         1997     2001       +4     
  Misses        258      258              
Impacted Files Coverage Δ
google/cloud/functions/cloud_event.h 100.00% <0.00%> (ø)
google/cloud/functions/http_response.h 100.00% <0.00%> (ø)
google/cloud/functions/internal/wrap_response.h 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 955a412...d9c3d95. Read the comment docs.

@coryan coryan marked this pull request as ready for review February 20, 2021 16:44
@coryan coryan requested a review from a team as a code owner February 20, 2021 16:44
@coryan
Copy link
Member Author

coryan commented Feb 20, 2021

This is ready for review now. To see this in action, look at #290.

@coryan coryan merged commit f0db35f into GoogleCloudPlatform:main Feb 20, 2021
@coryan coryan deleted the refactor-use-vcpkg-features-to-control-dependencies branch February 20, 2021 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants