# Copyright 2026 Haply Robotics Inc. All rights reserved.
add_executable(09-haply-inverse-ws-remote-control 09-haply-inverse-ws-remote-control.cpp)
target_include_directories(09-haply-inverse-ws-remote-control PUBLIC ${PROJECT_SOURCE_DIR})
target_compile_features(09-haply-inverse-ws-remote-control PUBLIC cxx_std_20)
target_link_libraries(09-haply-inverse-ws-remote-control PRIVATE hv_static nlohmann_json::nlohmann_json)
install(TARGETS 09-haply-inverse-ws-remote-control)

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