toolchainFile property

String? toolchainFile
final

Path to a CMake toolchain file for advanced cross-compilation or custom sysroot scenarios.

Example: /opt/toolchains/aarch64-linux-gnu.cmake

When specified, passed as -DCMAKE_TOOLCHAIN_FILE=<path>. This takes precedence over compiler — if both are set, the toolchain file is responsible for compiler selection and compiler is ignored.

Implementation

final String? toolchainFile;