option('with_tests', type: 'boolean', value: true,
  description: 'Build Catch2 C++ tests')
option('with_full_trajectory_tests', type: 'boolean', value: false,
  description: 'Require fetched full trajectories and run their regression suite')
option('with_lammps', type: 'feature', value: 'auto',
  description: 'Build the LAMMPS hook when liblammps is found')
option('with_gromacs', type: 'feature', value: 'auto',
  description: 'Build the GROMACS analysis tool when libgromacs is found')
option('gromacs_legacy_include', type: 'string', value: '',
  description: 'api/legacy/include of the GROMACS source that matches libgromacs. GROMACS 2023 and later do not install the trajectory-analysis headers')
option('lammps_src_include', type: 'string', value: '',
  description: 'src of the LAMMPS source that matches liblammps, for the compute dseams plugin. conda-forge installs library.h without the class headers')
option('with_openmm', type: 'feature', value: 'auto',
  description: 'Build the OpenMM plugin when libOpenMM is found')
option('with_plumed', type: 'feature', value: 'auto',
  description: 'Build libSeamsPlumed.so when PLUMED is found')
option('with_cli', type: 'boolean', value: true,
  description: 'Build the seams engine CLI')
option('with_mpi', type: 'feature', value: 'disabled',
  description: 'Link MPI and split Steinhardt atoms across ranks')
option('with_gpulite', type: 'feature', value: 'auto',
  description: 'Runtime CUDA via gpulite (device-resident N-frame batches)')
option('with_openmp_offload', type: 'feature', value: 'disabled',
  description: 'Compile OpenMP target offload for the Steinhardt kernel')
option('offload_triple', type: 'string', value: 'nvptx64-nvidia-cuda',
  description: 'OpenMP offload target triple when with_openmp_offload is enabled')
option('with_ira', type: 'feature', value: 'auto',
  description: 'Link libira (IRA match and SOFI point groups)')
option('with_backward', type: 'feature', value: 'auto',
  description: 'Pretty stack traces via backward-cpp (header or wrap) when execinfo.h is available')
option('with_spglib', type: 'feature', value: 'auto',
  description: 'Link spglib for space groups of crystalline regions')
option('with_csm', type: 'feature', value: 'disabled',
  description: 'GPL-2 continuous shape measure (Avnir). Off by default. When enabled, use csm_shape on PATH or build it if OpenBabel is present. Not linked')
option('with_sphericart', type: 'feature', value: 'auto',
  description: 'Batch Cartesian Ylm for host Steinhardt via sphericart')
option('with_nauty', type: 'feature', value: 'auto',
  description: 'Canonical cage certificates via nauty')

option('with_chemfiles', type: 'feature', value: 'auto',
  description: 'Trajectory I/O via chemfiles (on when the library is found or can be fetched)')
option('chemfiles_dir', type: 'string', value: '',
  description: 'Install prefix of chemfiles (include/chemfiles.hpp and lib/libchemfiles). Searched alone when set, and an unusable prefix is an error. Otherwise pkg-config, the CMake package and chemfiles-config.cmake under --prefix are tried')
option('use_vendored_chemfiles', type: 'feature', value: 'auto',
  description: 'Build the patched chemfiles 0.10.4 at configure time. auto: only when no installed copy passes and this is not a cross build. enabled: always, ignoring an installed copy; a cross build needs cmake_toolchain_file in the cross file. disabled: never')
option('with_linkcell', type: 'feature', value: 'enabled', description: 'Deprecated: linkcell is always required; disabled is an error')
option('with_minimage', type: 'feature', value: 'auto', description: 'Euclidean minimum-image geometry')
option('paper_full', type: 'boolean', value: false,
  description: 'Run the full paper Snakemake tutorials. Off by default; those tests exit 77 until this is enabled')
option('with_blas', type: 'feature', value: 'auto',
  description: 'Link FlexiBLAS, or BLAS and LAPACK. Nothing calls them yet; disabled for the PyPI wheels')
option('with_readcon', type: 'feature', value: 'auto',
  description: 'Build the readcon-core and readcon-db .con readers (Rust, needs cargo and crates.io)')
option('capi_sanitize', type: 'combo',
  choices: ['none', 'address', 'undefined', 'address,undefined', 'thread'], value: 'none',
  description: 'Sanitizer for the C API suite and the libraries it calls')
option('capi_valgrind', type: 'boolean', value: false,
  description: 'Run the C API suite under valgrind memcheck')
option('capi_fuzz_coverage', type: 'boolean', value: false,
  description: 'Instrument this project for libFuzzer coverage (clang only)')
option('capi_fuzz_seconds', type: 'integer', min: 1, max: 3600, value: 30,
  description: 'libFuzzer max_total_time for each harness')
