Skip to content

Commit

Permalink
"updated CLI11; updates #255"
Browse files Browse the repository at this point in the history
  • Loading branch information
martukas committed Oct 14, 2021
1 parent a8d7e91 commit 2397722
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions conanfile.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[requires]
cli11/1.9.1
cli11/2.1.1
date/2.4.1
eigen/3.3.9
gtest/1.10.0
Expand All @@ -16,14 +16,12 @@ fmt/5.3.0@bincrafters/stable
[generators]
cmake
cmake_find_package
virtualbuildenv
virtualrunenv

[options]
gtest:shared=False
librdkafka:shared=True
flatbuffers:shared=True
hdf5:shared=True
date:use_system_tz_db=True
h5cpp:with_boost=False

Expand Down
1 change: 0 additions & 1 deletion source/cmd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ target_link_libraries(
PRIVATE ${PROJECT_NAME}_producers
PRIVATE ${PROJECT_NAME}_consumers
)

4 changes: 2 additions & 2 deletions source/cmd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <core/util/json_file.h>

#include <signal.h>
#include <csignal>

#ifdef BUILD_TIME
#include "build_time.h"
Expand Down Expand Up @@ -44,7 +44,7 @@ struct AcquireOptions

AcquireOptions()
{
app.add_option("-t,--time", duration, "How long shall we run?", true)
app.add_option("-t,--time", duration, "How long shall we run?")
->check(CLI::Range(uint64_t(1), std::numeric_limits<uint64_t>::max()));
app.add_option("-i,--input", profile_file, "DAQ producer config profile")
->check(CLI::ExistingFile);
Expand Down

0 comments on commit 2397722

Please sign in to comment.