[cmake-developers] There's several issues with NDK support in CMake 3.9.0

2017-07-11 Thread Robert Dailey
So I'm working with DanAlbert over on the NDK github project regarding some issues I've hit with NDK r15b using CMake 3.9.0-rc5. He's already identified one bug that I can help fix located in `Modules/Platform/Android/ndk-stl-c++.cmake` related to platform support. He also mentions something a bit

Re: [cmake-developers] 3.9.0-rc3: CMAKE_ANDROID_NDK_DEPRECATED_HEADERS doesn't work outside of toolchain

2017-07-11 Thread Robert Dailey
Just wanted to share my solution to this, based on your suggestions about code sharing. I still do some introspection but some of this is based on our usage of environment variables and such. However the logic to find NDK version is useful in general. Instead of pasting the CMake code here, I