commit | 799e5a2d44cc2cc6c7d67f52f2d67957944b7680 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Mon Jan 13 16:26:27 2025 -0800 |
committer | Dan Albert <danalbert@google.com> | Mon Jan 13 16:26:27 2025 -0800 |
tree | 9cfc5f5dabd2b2cc0b84cce4c38766862d047335 | |
parent | 06c762d797782f574e40a956613c4e19c504b6c1 [diff] |
Raise minimum CMake version. The latest versions of CMake (3.31 and newer) emit a warning (many times over the course of a build) whenever the minimum version is specified as anything older than 3.10. Based on beta feedback, this warning is intrusive enough that we should break compatibility with users of (very) old CMake versions. Studio's stats are reporting the number of builds still on 3.6 (the only pre-3.10 CMake version in the SDK) as quite low. I unfortunately don't have that data per NDK version, but intuitively the people sticking with old version of CMake are probably also sticking with old versions of the NDK, which should even further reduce the number of users adversely effected by this. Even if there is anyone effected, upgrading to a new version of CMake should still be fairly easy for them. Bug: https://github.com/android/ndk/issues/2100 Test: ./checkbuild.py && ./run_tests.py Change-Id: Ic5d0be31d05ed87e23d15b9f87bb7b8108d7c227
The latest version of this document is available at https://android.googlesource.com/platform/ndk/+/main/README.md.
Note: This document is for developers of the NDK, not developers that use the NDK.
The NDK allows Android application developers to include native code in their Android application packages, compiled as JNI shared libraries.
To navigate this site, use the navigation bar at the top of the page. For additional documentation, see the listing for the docs directory. If you're not sure where to start, the Onboarding page will guide you.