How can I both include in the compilation and view in the project file tree some .h
and .cpp
files located outside of the project directory ?
With Visual Studio and a C++ project you would simply use "Add existing item", select your files and voilà, it just works in ten seconds. Aren't Android-based development supposed to make developper's lives easier ? :/
I've been searching for hours how to do this now. None of the answers I found is addressing this.
I can't beleive that, among all the people who have been using Android Studio with the NDK, none of them have used C++ code outside of the jni
folder...
Do you know how to do ? Thank you.