Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lacasseio/sample-fix-cppsource-pattern

Demonstrate how to fix cppSource pattern with core native plugins
https://github.com/lacasseio/sample-fix-cppsource-pattern

Last synced: about 1 month ago
JSON representation

Demonstrate how to fix cppSource pattern with core native plugins

Awesome Lists containing this project

README

        

# Demonstrate how to fix `CppComponent#cppSource` include pattern

Unfortunately, Gradle restricts the C++ source files to a specific pattern, which can often be wrong.
This sample demonstrates how to "shadow" the `cppSource` to include additional source patterns.
It's essential to remember that when using this _shadowing_ technique, all references to the `cppSource` property must check for the _shadowed_ property in a lazy way.