On 09/27/2016 11:28 AM, Florent Castelli wrote:
> Is there any plan on having their toolchain in CMake directly at some point?

No.  Their toolchain files are designed to be loaded from the NDK.  They
compute things relative to their own location and are meant to know exactly
what is there.

The whole point of a toolchain file is supposed to be to have information about
the local machine that CMake can't know in general.  They aren't supposed to be
these huge files with tables of information common to the target platform and
full of system introspection logic.  CMake now has those tables so the toolchain
files don't have to.

With CMake 3.7 you shouldn't actually need a toolchain file from the NDK.
In fact for simple cases you don't even need a toolchain file at all.

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to