Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VariantOption

An option for a variant. Includes all attributes from VarFileOption but adds a key to identify it.

Hierarchy

Index

Properties

Optional buildType

buildType: undefined | string

The CMAKE_BUILD_TYPE for the option.

Optional env

Environment variables to set for the option

key

key: string

The key for the option as it appeared in the choices option on the associated setting in the variants file.

Optional linkage

linkage: "static" | "shared"

Whether we set BUILD_SHARED_LIBS

Optional long

long: undefined | string

The long description of the option

Optional settings

Other CMake cache arguments for the option

short

short: string

The short description of the option

Generated using TypeDoc