The CMake helper will automatically append some definitions based on your settings: Variableĭefined when one of ANDROID_NDK_ROOT or ANDROID_NDK_HOME environment variables presented With append_vcvars=True, the vcvars will append to the end of the environment (for “list” environment variables, like PATH), instead of pre-pending, so the existing environment takes precedence. By default the vcvars is pre-pended to the environment, taking precedence. CMake helper sometimes, like when using the Ninja generator, needs to call vcvars to set the VS environment.