Open igagis opened 4 years ago
For example, in my mylib project I have header files in the
mylib
root/include
and I want when the ARR package is built the headers would go to
jni/include/my/lib
so in gradle file I could specify it by adding headerOutSubdir = "my/lib" like this:
headerOutSubdir = "my/lib"
nativeBundleExport { headerDir = "${project.projectDir}/root/include/" bundleStatic = true includeHeaderFilter.add("**/*.h") headerOutSubdir = "my/lib" }
Just to add, this is needed when there is no possibility to place the header files into root/include/my/lib in the project tree in the first place, e.g. when packaging a third party library it is undesirable to change its directory layout.
root/include/my/lib
Thanks for your advice, i will take consideration it
For example, in my
mylib
project I have header files in theand I want when the ARR package is built the headers would go to
so in gradle file I could specify it by adding
headerOutSubdir = "my/lib"
like this:Just to add, this is needed when there is no possibility to place the header files into
root/include/my/lib
in the project tree in the first place, e.g. when packaging a third party library it is undesirable to change its directory layout.