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

real cmake plugin #853

Open paleozogt opened 6 years ago

paleozogt commented 6 years ago

In the cmake-xxx examples, it seems to be building its own "cmake" plugin via build-wrapper-plugin.

Why is this distributed in this way and not as a real plugin in the manner of the "cpp-application" plugin?

At first I thought this was a full-fledged plugin similar to the NDK CMake functionality, but it looks to be more of a toy example. Are there any plans for a full-fledged cmake plugin for gradle?

adammurdoch commented 6 years ago

The plugin that the samples are using is intended to be a example just to show what is possible, but not necessarily convenient. Right now, it's really just an experiment and to use it you'd need to take a copy of the sample plugin and maintain it yourself. This isn't how we'd expect it to be used in practise, and we plan to turn this into a real plugin at some point.

paleozogt commented 6 years ago

Thanks for the info. That's really good to hear about planning to make it into a real plugin, which would be incredibly useful. :)