cmake_minimum_required(VERSION 3.22)

# Aggregator: per-library subdirs are added conditionally on their BUILD_* flag.
# Bootstrap (AZ-263) ships placeholders so this directory parses cleanly even
# when no native source has been written yet.

if(BUILD_OKVIS2 OR BUILD_VINS_MONO OR BUILD_KLT_RANSAC)
  add_subdirectory(okvis2)
  add_subdirectory(vins_mono)
  add_subdirectory(klt_ransac)
endif()

if(BUILD_GTSAM_BINDINGS)
  add_subdirectory(gtsam_bindings)
endif()

# BUILD_FAISS_INDEX no longer adds a CMake target — AZ-306 chose the
# `faiss-cpu` PyPI wheel over a custom pybind11 wrapper. The flag is
# preserved in cmake/build_options.cmake because it's still consumed
# at runtime by `gps_denied_onboard.runtime_root.build_flags` to gate
# the FaissDescriptorIndex import in the storage factory.
