mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Provides an implementation of a XRP-specific plugin that sends binary messages over UDP (to account for the less performant hardware on the XRP). This plugin leverages the work already done for the WebSocket protocol and does a translation to/from JSON/binary.
17 lines
518 B
CMake
17 lines
518 B
CMake
project(halsim_xrp)
|
|
|
|
include(CompileWarnings)
|
|
|
|
file(GLOB halsim_xrp_src src/main/native/cpp/*.cpp)
|
|
|
|
add_library(halsim_xrp SHARED ${halsim_xrp_src})
|
|
wpilib_target_warnings(halsim_xrp)
|
|
set_target_properties(halsim_xrp PROPERTIES DEBUG_POSTFIX "d")
|
|
target_link_libraries(halsim_xrp PUBLIC hal halsim_ws_core)
|
|
|
|
target_include_directories(halsim_xrp PRIVATE src/main/native/include)
|
|
|
|
set_property(TARGET halsim_xrp PROPERTY FOLDER "libraries")
|
|
|
|
install(TARGETS halsim_xrp EXPORT halsim_xrp DESTINATION "${main_lib_dest}")
|