I have C++ code with C headers that cross-compiles to Android.
My goal is to use the C++/C code in a Kotlin/native library that will be used in iOS.
Has anyone got some pointers or examples for C++/C headers → iOS cross-compilation? Thanks!!
You can use anything with C headers via cinterop. Direct use of C++ headers is not supported yet.
And for example, CLion to build the C++ code?
Such as in this StackOverflow post: android - Access C/C++ lib from a multiplatform kotlin project - Stack Overflow
Is there any templates for working with C++/C headers in Kotlin/Native?