[cmake-developers] A goal for a simple Android toolchain file.
Brad King
brad.king at kitware.com
Mon Mar 31 11:43:56 EDT 2014
On 03/27/2014 11:09 PM, Eric Wing wrote:
> One other issue I would like to see fixed is that it is impossible to
> change some of the settings like architecture after the first
> generation. I find that this makes the CMake GUI interface completely
> useless to me and I always have to load up all my parameters up front
> on the command line.
On the first "Configure" in a new build tree the cmake-gui pops up
a dialog to select settings for the toolchain to use. That could
be taught to be sufficient for selecting such information prior
to the first configuration if it is not already.
> Though, one other consideration is maintainability. Android keeps
> changing version numbers and moving/breaking things.
The upstream Android NDK folks may be open to distributing files
that are CMake-aware with the NDK. Then one could have a toolchain
file that does include(${ANDROID_NDK_ROOT}/.../toolchains.cmake)
to get information without scanning or globbing. What kind of
info would NDK-provided files need to have to be most useful?
Or, perhaps the NDK could actually provide the toolchain files.
-Brad
More information about the cmake-developers
mailing list