Android noob here. I am trying to create an OpenGL ES based Android App that would run native code and I'm using CMake to build it.
Now I have a C++ library that I need to include, import and link(.a files) against the Android NDK code. I understand the library needs to be cross compiled for Android, but would it work if I build just Linux binaries (.a files) instead, and link it with it?
Also, the C++ library is built using Windows platforms and CMake, which generates a .lib(static lib version of windows). What's the best way to generate .a files from Windows platforms (static lib version of Linux from Windows)?