altavir
01/18/2018, 4:19 PMdef
file in src/main/c_interop
and expect to place kotlin files in src/main/kotlin
. Now, I have a few problems.
1) def
file does not accept relative header names. I have to declare absolute ones, which is not convenient. I remember seeing something about it in issues. Are there any fixes?
2) src/main/kotlin
is not marked as a source tree. I can mark it myself in idea module options, but it resets itself after gradle sync.
3) generated interop headers are placed in build directory. I can't understand how to access them without creating a copy in the source tree.
4) IDE does not seem to recognize konan
and kotlinx.cinterop
packages. How can I load those. Can I do it at all?olonho
01/19/2018, 7:27 AMilya.matveev
01/19/2018, 10:28 AMgenerateCMake
gradle task. Please try using CLion and give us feedback on it.