Skip to content

Commit

Permalink
"updated conan packages and some code to boot; updates #255"
Browse files Browse the repository at this point in the history
  • Loading branch information
martukas committed Sep 29, 2021
1 parent 8c9fd26 commit fe18bf0
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cmake/CompilerConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# C++ standard
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
if (NOT CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD LESS 14)
set(CMAKE_CXX_STANDARD 14)
if (NOT CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD LESS 17)
set(CMAKE_CXX_STANDARD 17)
endif ()

if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
Expand Down
8 changes: 4 additions & 4 deletions conanfile.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[requires]
cli11/1.9.1
date/27d1e1e@ess-dmsc/stable
date/2.4.1
eigen/3.3.9
fmt/5.2.0@bincrafters/stable
fmt/6.2.0
gtest/1.10.0
h5cpp/0.3.3@ess-dmsc/stable
h5cpp/0.4.0-dm2@ess-dmsc/stable
nlohmann_json/3.9.1
librdkafka/1.6.0
librdkafka/1.5.0@ess-dmsc/stable
logical-geometry/705ea61@ess-dmsc/stable
qplot/2ffc74f@ess-dmsc/stable
Qt-Color-Widgets/5e19e67@ess-dmsc/testing
Expand Down
2 changes: 1 addition & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include(BuildInfo)

find_package(date REQUIRED)
find_package(fmt REQUIRED)
find_package(h5cpp 0.1.0 REQUIRED)
find_package(h5cpp 0.4.0 REQUIRED)
find_package(Threads REQUIRED)
add_definitions("-DGRAYLOG")

Expand Down
1 change: 1 addition & 0 deletions source/consumers/TOF1DCorrelate.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include <consumers/Spectrum.h>
#include <deque>

namespace DAQuiri {

Expand Down
1 change: 1 addition & 0 deletions source/consumers/TOFVal2DCorrelate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <consumers/Spectrum.h>
#include <consumers/add_ons/ValueLatch.h>
#include <deque>

namespace DAQuiri
{
Expand Down
2 changes: 2 additions & 0 deletions source/core/Project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <core/util/h5json.h>
#include <core/util/ascii_tree.h>

#include <fstream>

#ifdef BUILD_TIME
#include "build_time.h"
#endif
Expand Down
1 change: 1 addition & 0 deletions source/core/util/logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <cstdint>
#include <libgen.h>

#include <cassert> /// Somehow spdlog fails to bring it along on its own
#include <spdlog/spdlog.h>

#pragma GCC system_header
Expand Down
2 changes: 1 addition & 1 deletion source/daqlite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ target_link_libraries(
PRIVATE RdKafka::rdkafka++
PRIVATE RdKafka::rdkafka
QPlot
QtColorWidgets-Qt52
QtColorWidgets
Qt5::Widgets
)
1 change: 1 addition & 0 deletions source/daqlite/WorkerThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <ESSConsumer.h>
#include <QThread>
#include <QMutex>
#include <iostream>

class WorkerThread : public QThread {
Expand Down
2 changes: 1 addition & 1 deletion source/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ target_link_libraries(
${PROJECT_NAME}_producers
${PROJECT_NAME}_consumers
QPlot
QtColorWidgets-Qt52
QtColorWidgets
Qt5::Widgets
Qt5::PrintSupport
Qt5::Network
Expand Down

0 comments on commit fe18bf0

Please sign in to comment.