'cmake on Android (NDK): meaning of -D?

I use NDK and cmake for my Android app. Typical cmake commande is like this:

cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86 -DANDROID_PLATFORM=android-24

I wonder what is the meaning of the -D ?

Does cmake commands work without -D ?

cmake -CMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -ANDROID_ABI=x86 -ANDROID_PLATFORM=android-24

What is the impact on the final build?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source