From d74d67a0e2d3de0ec208ed9b839815a70d84f727 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 24 May 2016 20:38:01 +0200 Subject: tools, lib: cbr tool for bandwidth testing The tool sends constant bandwidth traffic between a client and a server. cbr --help for more info. Adds time_utils.h to the library containing useful functions for arithmetic with timespec and timeval structures. --- src/tools/cbr/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/tools/cbr/CMakeLists.txt (limited to 'src/tools/cbr/CMakeLists.txt') diff --git a/src/tools/cbr/CMakeLists.txt b/src/tools/cbr/CMakeLists.txt new file mode 100644 index 00000000..7c3f93f8 --- /dev/null +++ b/src/tools/cbr/CMakeLists.txt @@ -0,0 +1,16 @@ +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +include_directories(${CMAKE_SOURCE_DIR}/include) +include_directories(${CMAKE_BINARY_DIR}/include) + +set(SOURCE_FILES + # Add source files here + cbr.c +) + +add_executable(cbr ${SOURCE_FILES}) + +target_link_libraries(cbr LINK_PUBLIC ouroboros) + +install(TARGETS cbr RUNTIME DESTINATION bin) -- cgit v1.2.3