# Package version is Cargo.toml [package].version; meson.project_version()
# must stay equal to that string. These options only gate tests/examples.
option('with_tests', type: 'boolean', value: true,
  description: 'Run cargo test from meson test')
option('with_examples', type: 'boolean', value: true,
  description: 'Build C and C++ example programs')
option('with_gpulite', type: 'feature', value: 'auto',
  description: 'Device k-nearest via gpulite (NVRTC, no CUDA SDK)')
option('use_openmp', type: 'boolean', value: true,
  description: 'Compile the fused k-nearest OpenMP region and link the compiler OpenMP runtime')
option('cargo_profile', type: 'combo', choices: ['auto', 'debug', 'release'], value: 'auto',
  description: 'Cargo profile for the crate; auto is release in a subproject and follows buildtype otherwise')
option('sanitize', type: 'combo', choices: ['none', 'thread'], value: 'none',
  description: 'Rebuild the crate, std and Rayon with this sanitizer, for a host linked with the same one (LINKCELL_SANITIZE)')
