ANDROID_GUI — CMake 3.27.7 Documentation

# ANDROID_GUI

New in version 3.1.

When Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio Edition, this property specifies whether to build an executable as an application package on Android.

When this property is set to true the executable when built for Android will be created as an application package. This property is initialized by the value of the `CMAKE_ANDROID_GUI` variable if it is set when a target is created.

Add the `AndroidManifest.xml` source file explicitly to the target `add_executable()` command invocation to specify the root directory of the application package source.