This Magisk module contains cmake binaries for arm64 CPUs

ASUS_I006D:/ $ cmake --version
cmake version 4.0.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
ASUS_I006D:/ $ 

ASUS_I006D:/ $ ninja --version
1.13.0.git
ASUS_I006D:/ $ 

The cmake binaries are dynamically bind for the Android OS libraries only:

ASUS_I006D:/ $ ldd /system/usr/bin/cmake 
	linux-vdso.so.1 => [vdso] (0x72fa178000)
	libdl.so => /apex/com.android.runtime/lib64/bionic/libdl.so (0x72f81b1000)
	libm.so => /apex/com.android.runtime/lib64/bionic/libm.so (0x72f81c5000)
	libc.so => /apex/com.android.runtime/lib64/bionic/libc.so (0x72f47c2000)
ASUS_I006D:/ $ 

The ninja binaries is a static linked binary:

ASUS_I006D:/ $ file /system/usr/bin/ninja
/system/usr/bin/ninja: ELF executable, 64-bit LSB arm64, static, for Android 33, built by NDK r25 (8775105), not stripped
ASUS_I006D:/ $ 


The file /system/usr/include/android/api-level.h in the Magisk Module is from the Android NDK r27c

To use a different api-level.h set the variable PREFIX to the sysroot before starting cmake, e.g:

PREFIX=/data/local/tmp/develop/sysroot/usr  cmake ..        


History

27.04.2025 v4.0.1-v1.0.0
  initial release

