find_package(Python 3.9 REQUIRED COMPONENTS Interpreter Development.Module)
find_package(pybind11 CONFIG REQUIRED)

pybind11_add_module(_core src/binding.cpp)
target_link_libraries(_core PRIVATE game_resolver::game_resolver)

if(NOT MSVC)
  target_compile_options(_core PRIVATE -Wall -Wextra)
endif()

# scikit-build-core が wheel に入れる場所
install(TARGETS _core LIBRARY DESTINATION game_resolver_cpp)
