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
93 stars 8 forks source link

Support for libraries without public headers #451

Open big-guy opened 6 years ago

big-guy commented 6 years ago

The Gradle C++ library currently requires that a library has at least one public header file to build the cpp-api-headers zip. Not all libraries may provide a public API in this way.

Some examples include:

adammurdoch commented 6 years ago

I don't think we should consider all of these things "libraries". A library is something that provides an API. The last example is a library, because it does have a public API (it "exports" the API of the other library). The other examples are "modules" or "plugins".