mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
17 lines
536 B
CMake
17 lines
536 B
CMake
add_subdirectory(unit)
|
|
|
|
if(MSVC)
|
|
set(NTCORE_LIB ntcore_static)
|
|
else()
|
|
set(NTCORE_LIB ntcore)
|
|
endif()
|
|
|
|
add_executable(client client.cpp)
|
|
target_link_libraries(client ${NTCORE_LIB} ${CMAKE_THREAD_LIBS_INIT})
|
|
add_executable(server server.cpp)
|
|
target_link_libraries(server ${NTCORE_LIB} ${CMAKE_THREAD_LIBS_INIT})
|
|
add_executable(rpc_local rpc_local.cpp)
|
|
target_link_libraries(rpc_local ${NTCORE_LIB} ${CMAKE_THREAD_LIBS_INIT})
|
|
add_executable(rpc_speed rpc_speed.cpp)
|
|
target_link_libraries(rpc_speed ${NTCORE_LIB} ${CMAKE_THREAD_LIBS_INIT})
|