# Booleans
option('with_tests', type: 'boolean', value: false)
option('with_examples', type: 'boolean', value: false)
option('with_xtensor', type: 'boolean', value: false)
option('with_eigen', type: 'boolean', value: false)
option('with_rpc', type: 'boolean', value: false)
option('with_rpc_client_only', type: 'boolean', value: false)
option('with_cache', type: 'boolean', value: false)
option('pure_lib', type: 'boolean', value: true)
option('with_rust_core', type: 'boolean', value: false)
option(
    'with_fast_nlist',
    type: 'feature',
    value: 'auto',
    description: 'linkcell/minimage pair list. Auto when cargo and rustc 1.89 or newer are found; otherwise the C++ pair scan is used.',
)
option(
    'with_mpi',
    type: 'feature',
    value: 'disabled',
    description: 'Link MPI so calculator groups can split and share across ranks',
)
option('with_xtb', type: 'boolean', value: false)
option(
    'with_xckernel',
    type: 'boolean',
    value: false,
    description: 'In-process libxckernel XC Fock/fxc (generated C ABI; not a Potential)',
)
option(
    'with_dftd3',
    type: 'boolean',
    value: false,
    description: 'Link conda-forge s-dftd3 (simple-dftd3) C API',
)
option(
    'with_dftd4',
    type: 'boolean',
    value: false,
    description: 'Link conda-forge dftd4 C API',
)
# Yields into dftd4 / multicharge wraps (both declare lapack with yield).
# auto looks for liblapack; wheel/sdist pass openblas (libopenblas).
option(
    'lapack',
    type: 'combo',
    value: 'auto',
    choices: ['auto', 'mkl', 'mkl-rt', 'openblas', 'netlib', 'custom'],
    description: 'LAPACK vendor for the dftd4 wrap and nested multicharge',
)
option(
    'with_expr',
    type: 'boolean',
    value: false,
    description: 'Compile vendored OpenMM Lepton (third_party/lepton)',
)
option('with_tblite', type: 'boolean', value: false)
option('with_metatomic', type: 'boolean', value: false)
option(
    'with_skala',
    type: 'boolean',
    value: false,
    description: 'Skala XC via NWChemPot / libnwchemc (requires with_rpc)',
)
option(
    'with_python',
    type: 'boolean',
    value: false,
    description: 'Build pip-installable Python package (rgpot._core)',
)
option(
    'with_fortran_pots',
    type: 'feature',
    value: 'auto',
    description: 'Fortran-backed potentials (CuH2; grows with the eOn migration). Independent of the RPC options.',
)
option(
    'with_highway',
    type: 'feature',
    value: 'auto',
    description: 'Google Highway runtime ISA dispatch for LJ, Morse, the analytical EAM kernel, and the orthorhombic fold. auto uses libhwy >= 1.2 or the wrap when that tree is already present. disabled keeps the scalar kernels.',
)
option(
    'with_ipi',
    type: 'feature',
    value: 'auto',
    description: 'i-PI socket server Potential (POSIX sockets). auto is on except on Windows.',
)
option(
    'with_water',
    type: 'boolean',
    value: false,
    description: 'Flexible TIP4P, SPC/E and TIP4P-Pt kernels. Defaults false, matching the eOn with_water option.',
)
option(
    'with_eam_table',
    type: 'boolean',
    value: false,
    description: 'EAM and Finnis-Sinclair potentials read from LAMMPS funcfl, setfl and eam/fs tables.',
)
