externalNativeBuild cmake default arguments


(Mike Tsukerman) #1

Hi

I’m wondering if there a way to clean or change cmake default arguments in

externalNativeBuild {
cmake { arguments } }

because even if i add my own to the list, i’m always getting some predefined arguments

B/media/mike/code/MyApplication4/app/.externalNativeBuild/cmake/x86Debug/x86 -DANDROID_ABI=x86 -DANDROID_PLATFORM=android-15 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/media/mike/code/MyApplication4/app/build/intermediates/cmake/x86/debug/obj/x86 -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=/usr/local/android/android-ndk -DCMAKE_TOOLCHAIN_FILE=/usr/local/android/android-sdk/cmake/3.6.3155560/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/usr/local/android/android-sdk/cmake/3.6.3155560/bin/ninja -GAndroid Gradle - Ninja}