# Copyright 2026 Haply Robotics Inc. All rights reserved.
add_executable(10-haply-inverse-events 10-haply-inverse-events.cpp)
target_include_directories(10-haply-inverse-events PUBLIC ${PROJECT_SOURCE_DIR})
target_compile_features(10-haply-inverse-events PUBLIC cxx_std_11)
target_link_libraries(10-haply-inverse-events PRIVATE hv_static nlohmann_json::nlohmann_json)
install(TARGETS 10-haply-inverse-events)

# Glaze variant (C++20)
add_executable(10-haply-inverse-events-glz 10-haply-inverse-events-glz.cpp)
target_include_directories(10-haply-inverse-events-glz PUBLIC ${PROJECT_SOURCE_DIR})
target_compile_features(10-haply-inverse-events-glz PUBLIC cxx_std_20)
target_link_libraries(10-haply-inverse-events-glz PRIVATE hv_static glaze::glaze)
install(TARGETS 10-haply-inverse-events-glz)
