gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
92 stars 8 forks source link

Demonstrate how to depend on a particular variant of a library #923

Closed big-guy closed 4 years ago

big-guy commented 5 years ago

Given a library that builds both shared and static versions, how does a consuming build specify that they want shared or static. This may not be easy to do now, but we should demonstrate how this can be done.

k-mack commented 4 years ago

I think #1017 discusses this --- specifically, this comment.

lacasseio commented 4 years ago

Thanks @k-mack for helping pointing out duplicate. Let's favor the other issue given it has more context.