awslabs / aws-c-common

Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling.
Apache License 2.0
262 stars 159 forks source link

Add cmake module for building dependencies at configuration time #1144

Closed sfod closed 3 months ago

sfod commented 3 months ago

Issue #, if available:

This functionality is needed to fix s2n-tls misconfiguration in aws-crt-* projects. See https://github.com/awslabs/aws-crt-cpp/pull/648

Description of changes:

This cmake module implements a new function, prebuild_dependency, which can build a dependency at configuration time.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.82%. Comparing base (2add521) to head (d6004d3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1144 +/- ## ======================================= Coverage 83.82% 83.82% ======================================= Files 57 57 Lines 5991 5991 ======================================= Hits 5022 5022 Misses 969 969 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.