# Benchmark directory CMakeLists.txt
cmake_minimum_required(VERSION 3.20)

# Find required packages
find_package(MPI REQUIRED)

# Create wrp_cte_bench executable
add_executable(wrp_cte_bench
  wrp_cte_bench.cc
)

# Link required libraries
target_link_libraries(wrp_cte_bench
  wrp_cte::core_client
  chimaera::cxx
  MPI::MPI_CXX
)

# Set C++ standard
target_compile_features(wrp_cte_bench PRIVATE cxx_std_17)

# Install the benchmark executable
install(TARGETS wrp_cte_bench
  RUNTIME DESTINATION bin
)
