I am trying to see if we can reasonably migrate from ndk-build to cmake for building our C++ library for android.
When I build exactly the same code with ndk-build to obtain a static library (.a), it generates a 542k file, whereas cmake will generate a 1.7Mb file.
I am using boost for a test build, only building the filesystem section.
Both are release builds.
I have searched to see if there are specific switches necessary to obtain roughly the same compilation, without success.
I am using the ndk version 19 for building, with the relevant toolchain file.
Is this a known problem ?