
- GITHUB ANDROID NDK SAMPLES INSTALL
- GITHUB ANDROID NDK SAMPLES FOR ANDROID
- GITHUB ANDROID NDK SAMPLES ANDROID
Licensed to the Apache Software Foundation (ASF) under one or more contributor
GITHUB ANDROID NDK SAMPLES ANDROID
LicenseĬopyright 2018 The Android Open Source Project, Inc. Please see CONTRIBUTING.md for more details. Submitting a pull request through GitHub. Patches and new samples are encouraged, and may be submitted by forking this project and If you've found an error in these samples, please file an issue.


When using vcpkg, the vcpkg toolchain shall be specified first. Vcpkg and android both provide dedicated toolchains: vcpkg_toolchain_file=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmakeĪndroid_toolchain_file=$ANDROID_NDK_HOME/build/cmake/ for each installation.īut by placing set(ENV)Ĭonsume libraries using vpckg, cmake and the android toolchain To expose them to VcPkg, you can consider export VULKAN_SDK=. NDK already contains Vulkan headers and libvulkan.so binaries for each of its architecture. To use it you have to provide VULKAN_SDK environment variable. Vcpkg has a vulkan package which allows you to find_package(Vulkan).
GITHUB ANDROID NDK SAMPLES INSTALL
vcpkg install jsoncpp -triplet arm-android
GITHUB ANDROID NDK SAMPLES FOR ANDROID
Install libraries for Android using vcpkg The following table outlines the mapping from vcpkg architectures to android architectures VCPKG_TARGET_TRIPLET There are four different Android ABI, each of which maps toĪ vcpkg triplet.

Vcpkg triplets and their corresponding android ABI Set environment variable VCPKG_ROOT to your vcpkg installation. Or: export ANDROID_NDK_HOME=/home/your-account/Android/android-ndk-r21b Set environment variable ANDROID_NDK_HOME to your android ndk installation.Įxport ANDROID_NDK_HOME=/home/your-account/Android/Sdk/ndk-bundle PRs improving support are welcome! Android build requirements The latest version of this documentation is available on GitHub.Īndroid is not tested as part of vcpkg repository's CI process, so regressions can occur as part of library updates.
