(ws) add subcommands: cobra subscribe, and cobra subscribe to statsd bridge
This commit is contained in:
18
third_party/statsd-client-cpp/CMakeLists.txt
vendored
Normal file
18
third_party/statsd-client-cpp/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
project(helloCLion)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
include_directories(
|
||||
src
|
||||
)
|
||||
|
||||
add_library(statsdcppclient STATIC src/statsd_client.cpp)
|
||||
add_definitions("-fPIC")
|
||||
target_link_libraries(statsdcppclient pthread)
|
||||
|
||||
add_executable(system_monitor demo/system_monitor.cpp)
|
||||
target_link_libraries(system_monitor statsdcppclient)
|
||||
|
||||
add_executable(test_client demo/test_client.cpp)
|
||||
target_link_libraries(test_client statsdcppclient)
|
Reference in New Issue
Block a user