Android CMake: how to check if cppFlags and arguments are taken into account at compile time?

I have a Android/NDK/JNI/Java/C++ project.

I have a Gradle file that looks like this:

....
 cmake {
                cppFlags "-std=c++11 -fexceptions"
                arguments "-DANDROID_STL=c++_static"
            }
....

My question is: how to check that these flags and arguments are well taken into account when my Android project is compiled ?

Thanks

Source: Windows Questions C++

LEAVE A COMMENT