From 44aa3f655bf42cac041fcaba334d3019de1e3546 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Tue, 2 Jul 2019 12:11:45 +0200 Subject: [PATCH] cmath + cleaning --- slsDetectorGui/CMakeLists.txt | 31 +++++++++----------------- slsDetectorGui/src/qTabMeasurement.cpp | 2 +- 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/slsDetectorGui/CMakeLists.txt b/slsDetectorGui/CMakeLists.txt index ec1968c31..e1da0e3b7 100755 --- a/slsDetectorGui/CMakeLists.txt +++ b/slsDetectorGui/CMakeLists.txt @@ -51,26 +51,12 @@ set(HEADERS include/qTabDebugging.h include/qTabDeveloper.h include/qTabMessages.h - ../slsDetectorSoftware/include - ../slsSupportLib/include/versionAPI.h - ../slsSupportLib/include/ServerSocket.h - ../slsSupportLib/include/ServerInterface2.h ) set(RESOURCES include/icons.qrc ) qt4_add_resources(RESOURCES_SRCS ${RESOURCES}) -include_directories( - include - slsDetectorPlotting/include - ../slsSupportLib/include - ${QT_INCLUDE_DIR} - ${QT_QTCORE_INCLUDE_DIR} - ${QT_QTGUI_INCLUDE_DIR} - ${QWT_INCLUDE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} -) add_definitions( -DPRINT_LOG #-DVERBOSE @@ -83,17 +69,22 @@ add_executable(slsDetectorGui ${RESOURCES_SRCS} ) +target_include_directories(slsDetectorGui PUBLIC + "$" + "$" + "$" + "$" + "$" + "$" + "$" + "$" +) + target_link_libraries(slsDetectorGui PUBLIC - slsProjectOptions - slsProjectWarnings - slsSupportLib slsDetectorShared ${QT_QTCORE_LIBRARIES} ${QT_QTGUI_LIBRARIES} ${QWT_LIBRARIES} - pthread - ${ZeroMQ_LIBRARIES} - rt png z Qt4::QtOpenGL diff --git a/slsDetectorGui/src/qTabMeasurement.cpp b/slsDetectorGui/src/qTabMeasurement.cpp index 5006ff86e..2e8c6c302 100755 --- a/slsDetectorGui/src/qTabMeasurement.cpp +++ b/slsDetectorGui/src/qTabMeasurement.cpp @@ -3,7 +3,7 @@ #include "qDrawPlot.h" #include "string_utils.h" - +#include #include #include