https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

james

11/24/2023, 6:49 AM
does anyone know of a simple “hello, world” style project that demonstrates pulling in a C++ library (either with source that is built by a Gradle step or with pre-built libs — I don’t mind) and then calling that library from Android/iOS/Desktop/JS targets? conceptually I understand what I need to do in terms of JNI on the Android & JVM sides and K/N on the native side, and there are plenty of projects out there that do exactly this (eg. Skiko), but they are enormous and I was hoping to find something smaller I can learn from without getting lost in unrelated build config
2 Views