spierce7
01/17/2022, 6:00 PMmingwX64
and macosX64
. It also uses a library via cinterop that works with Mac and Windows, and shares the same header files. The problem is that in my project, the library ONLY seems accessible in the mingwX64 or the macosX64 source set.
Creating expect/actuals for every single type would be extremely cumbersome. I have kotlin.mpp.enableGranularSourceSetsMetadata=true
. Something tells me this is supposed to work, but I’ve just done something wrong. Should this be working?russhwolf
01/17/2022, 6:43 PMkotlin.mpp.enableCInteropCommonization=true
to gradle.properties. See also https://kotlinlang.org/docs/mpp-share-on-platforms.html#use-native-libraries-in-the-hierarchical-structurespierce7
01/17/2022, 7:39 PMspierce7
01/17/2022, 7:44 PMandylamax
01/18/2022, 7:51 AM