Implement command line parsing; Implement messages-per-second limits in uploader; First playable version
This commit is contained in:
+10
-2
@@ -1,4 +1,5 @@
|
||||
find_package(Boost COMPONENTS date_time REQUIRED)
|
||||
find_package(Boost COMPONENTS date_time filesystem system thread program_options REQUIRED)
|
||||
find_package(Threads)
|
||||
include_directories(
|
||||
${Boost_INLUDE_DIRS}
|
||||
)
|
||||
@@ -10,9 +11,16 @@ add_library(slbu-lib
|
||||
SyslogMessage.cpp
|
||||
UDPWriter.cpp
|
||||
)
|
||||
target_link_libraries(slbu-lib
|
||||
${Boost_DATE_TIME_LIBRARY}
|
||||
${Boost_THREAD_LIBRARY}
|
||||
)
|
||||
|
||||
add_executable(syslog-bulk-uploader main.cpp)
|
||||
target_link_libraries(syslog-bulk-uploader
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
slbu-lib
|
||||
${Boost_DATE_TIME_LIBRARY}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user