first version of InternalUDPService
This commit is contained in:
@@ -24,6 +24,8 @@ IF(NOT TARGET cppzmq)
|
||||
add_subdirectory(libs/cppzmq EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
|
||||
|
||||
|
||||
set(protobuf_BUILD_TESTS OFF CACHE INTERNAL "")
|
||||
set(protobuf_BUILD_EXAMPLES OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/protobuf EXCLUDE_FROM_ALL)
|
||||
@@ -41,6 +43,10 @@ add_library(whisper-com STATIC
|
||||
include/WHISPER/whisper.hpp
|
||||
src/WHISPER/whisper.cpp
|
||||
|
||||
include/WHISPER/InternalUDPService.hpp
|
||||
src/WHISPER/InternalUDPService.cpp
|
||||
|
||||
|
||||
include/WHISPER/threadSafeQueue.hpp
|
||||
src/WHISPER/threadSafeQueue.cpp
|
||||
|
||||
@@ -52,7 +58,15 @@ add_library(whisper-com STATIC
|
||||
src/WHISPER/Messages/Join.cpp
|
||||
|
||||
|
||||
../include/WHISPER/Messages/Protos/message.pb.cc
|
||||
|
||||
|
||||
|
||||
include/WHISPER/Messages/Protos/message.pb.h
|
||||
include/WHISPER/Messages/Protos/message.pb.cc
|
||||
|
||||
include/WHISPER/Messages/Protos/join.pb.h
|
||||
include/WHISPER/Messages/Protos/join.pb.cc
|
||||
|
||||
|
||||
)
|
||||
|
||||
@@ -64,6 +78,7 @@ target_link_libraries(whisper-com
|
||||
libprotobuf
|
||||
)
|
||||
|
||||
add_dependencies(whisper-com protoc)
|
||||
|
||||
target_include_directories(whisper-com PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
@@ -73,7 +88,6 @@ target_include_directories(whisper-com PUBLIC
|
||||
add_executable(main
|
||||
|
||||
src/main.cpp
|
||||
../include/WHISPER/Messages/Protos/join.pb.cc
|
||||
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user