CmakeOptions

DSL object for per-module CMake configurations, such as the path to your CMakeLists.txt build script.

Properties

PropertyDescription
path

The relative path to your CMakeLists.txt build script.

Methods

No methods

Script blocks

No script blocks

Property details

File path

The relative path to your CMakeLists.txt build script.

For example, if your CMake build script is in the same folder as your module-level build.gradle file, you simply pass the following:

path "CMakeLists.txt"

Gradle requires this build script to add your CMake project as a build dependency and pull your native sources into your Android project.