Closed ygtorres closed 3 years ago
I am somewhat puzzled why you go to all that bother when you could just get the latest version ready built from jitpack. I haven't investigated CMake on the basis that 'If it ain't broke, don't fix it'. I could include this file as CMakeLists.txt
in the project because, AFAICS, the only other change is to change :–
ndkBuild {
path 'src/main/jni/Android.mk'
}
to
cmake {
path 'src/main/jni/CMakeLists.txt'
}
Didn't know I can use it from jitpack, I had to migrate cause I have a big project all built with cmake that I am developing using CLion so it was necessary to have both built with the same toolchain, I think we should leave the library with ndk build and use this thread just in case somebody need the cmake version, mostly for new Android ndk Projects that use cmake as default.
See the README.
Yes you are right I didn't notice that on the readme. Thank you.
Hi again, Is it possible for you to provide a cmake version or migrate to it from ndk-build I just did it, but every time you release an update i have to migrate again so this is my version if you want to test it and improve it