[cmake-developers] 3.9.0-rc3: CMAKE_ANDROID_NDK_DEPRECATED_HEADERS doesn't work outside of toolchain
Brad King
brad.king at kitware.com
Tue Jun 27 11:22:36 EDT 2017
On 06/27/2017 11:14 AM, Robert Dailey wrote:
> Also at $DAYJOB, we all work on the same code base. Our product is
> tested and verified to work on a distinct set of configurations. Why
> would I ask each user to create their own toolchain file?
If you have a toolchain file that works in some finite set of
tested environments then there is no reason not to share it
among them.
Why can't the logic to choose `CMAKE_ANDROID_NDK_DEPRECATED_HEADERS`
be in your toolchain file? All it needs to know is the NDK location.
-Brad
More information about the cmake-developers
mailing list