I have a question regarding cinterop tool.
I have two cases:
1. I’m interested in filtering the transitive headers from umbrella header, to not include subdependencies
headers = opencv2.h
headerFilter = opencv2.h
Would it include only opencv2.h and every header only headers included in umbrella?
2. What is excludeDependentModules?How it is used?Could somebody provide an example, as it’s not clear from the description.
10/11/2023, 7:15 AM
OpenCV is a C++ library. Kotlin Native doesn't support C++.
10/11/2023, 7:23 AM
It just an example, we could take any library to imagine my two use cases
@napperley, could you please help me to understand this? Thanks
10/11/2023, 11:04 PM
The headerFilter property will only include headers that match the value (a regular expression). In this case only opencv2.h will be included. Nothing in the Kotlin Native documentation covers the excludeDependentModules property. It isn't clear what the property is for. The C language as an example doesn't support modules.