ZabGo
05/01/2020, 2:10 PMiosX64("ios") {
binaries {
binaries {
framework('Shared')
}
}
compilations.main{
cinterops{
myCinterop{
packageName "org.sample"
defFile project.file("$projectDir/myDefFile.def")
includeDirs("$projectDir/lib/ios/MyLibraryName.framework/Headers/Lmi")
}
}
}
}
myDefFile.def
language = Objective-C
staticLibraries= binaryFile1.a binaryFile2.a binaryFile3.a
libraryPaths = /path/to/binaries/
linkerOpts= -F/path/to/binaries/ -framework MyLibraryName
Kris Wong
05/01/2020, 2:36 PMZabGo
05/01/2020, 2:52 PMincludeDirs("$projectDir/lib/ios/MyLibraryName.framework/Headers/Lmi")
would include the headers. It's not the case then, isn't it?Kris Wong
05/01/2020, 3:36 PMincludeDirs
just tells it where to find headersZabGo
05/01/2020, 3:49 PMKris Wong
05/01/2020, 3:56 PMZabGo
05/01/2020, 4:14 PM