#
# $Id$
# $HeadURL$
# $Author$
# Created by Hannes Baeuerle, SLSE, 2017-02-24
#

FIND_PACKAGE(KDChart REQUIRED)

SET(ore_online_reports_gui_SRCS
  ore_online_reports_gui_plugin.h
  ore_online_reports_gui_plugin.cpp
  ore_create_report_dialog.h
  ore_create_report_dialog.cpp
  ore_report_dialog.h
  ore_report_dialog.cpp
  ore_type_model.h
  ore_type_model.cpp

  Charts/ore_abstract_chart_model.h
  Charts/ore_abstract_chart_model.cpp
  Charts/ore_detailed_chart_model.h
  Charts/ore_detailed_chart_model.cpp
  Charts/ore_simple_chart_model.h
  Charts/ore_simple_chart_model.cpp
)

NGL_WRAP_UI (ore_online_reports_gui_SRCS
  ore_create_report_dialog.ui
  ore_report_dialog.ui
)

NGL_ADD_LIBRARY(WS OreOnlineReportsGuiPlugin MODULE ${ore_online_reports_gui_SRCS})

NGL_TARGET_LINK_LIBRARIES(OreOnlineReportsGuiPlugin
  AsbDataPluginInterface
  LtsSession
  OreOnlineReportsGuiPluginInterface
  svcOreDummy
  GuiPluginInterface
  Qt5::Widgets
  PpmCommon
  KDChart::KDChart
  LtsUtilsSettings
)

NGL_INSTALL_TARGET(OreOnlineReportsGuiPlugin)
