• Brad King's avatar
    Android: Use unified toolchain in NDK r19+ · 97bca2f9
    Brad King authored
    The NDK build system now uses only a single toolchain in
    
        <ndk>/toolchains/llvm/prebuilt/<host>
    
    Its compilers are always `bin/{clang,clang++}` and its binutils are
    always `bin/<triple>-*`.  It is a standalone toolchain:
    
    * The Anrdoid API level is specified at the end of `--target=`.
    * The standard library may be specified via `-stdlib=`.
    * No need to pass system includes or libraries explicitly.
    * No need to pass `--sysroot` or `-gcc-toolchain`.
    
    Teach CMake to recognize NDK versions that have a unified
    toolchain with its own sysroot and use the above approach.
    
    Fixes: #18739
    97bca2f9
Name
Last commit
Last update
..
LINKS.txt Loading commit data...
OPTIONS_BUILD.txt Loading commit data...
OPTIONS_HELP.txt Loading commit data...
ccmake.1.rst Loading commit data...
cmake-buildsystem.7.rst Loading commit data...
cmake-commands.7.rst Loading commit data...
cmake-compile-features.7.rst Loading commit data...
cmake-developer.7.rst Loading commit data...
cmake-env-variables.7.rst Loading commit data...
cmake-file-api.7.rst Loading commit data...
cmake-generator-expressions.7.rst Loading commit data...
cmake-generators.7.rst Loading commit data...
cmake-gui.1.rst Loading commit data...
cmake-language.7.rst Loading commit data...
cmake-modules.7.rst Loading commit data...
cmake-packages.7.rst Loading commit data...
cmake-policies.7.rst Loading commit data...
cmake-properties.7.rst Loading commit data...
cmake-qt.7.rst Loading commit data...
cmake-server.7.rst Loading commit data...
cmake-toolchains.7.rst Loading commit data...
cmake-variables.7.rst Loading commit data...
cmake.1.rst Loading commit data...
cpack-generators.7.rst Loading commit data...
cpack.1.rst Loading commit data...
ctest.1.rst Loading commit data...