#
# $Id: CMakeLists.txt 51804 2020-07-31 04:47:28Z fritsche_h $
# $HeadURL: svn://slssvn/TDS/branches/product/iterations/21_03_salted_caramel/Lts/Plugins/TakeHomePackageManager/CMakeLists.txt $
# $Author: fritsche_h $
#
# Created by Gerlinde Rudolphus, NLE, 2019-03-25
#

#
# Common
#
SET(thp_SRCS
  tpm_gui_plugin.cpp
  tpm_gui_plugin.h
  tpm_exported_scripts_dialog.cpp
  tpm_exported_scripts_dialog.h
  logger.cpp
  logger.h
)

QT5_WRAP_UI(thp_SRCS
  tpm_exported_scripts_dialog.ui
)

#TODO: auto-remove "libTakeHomePackageManagerGuiPlugin.so" from lib as this lib replaces it

NGL_ADD_LIBRARY2(WS ThpManagementGuiPlugin MODULE ${thp_SRCS})
NGL_TARGET_LINK_LIBRARIES(ThpManagementGuiPlugin
  ThpCommon
  TpmGuiPluginInterface
  Qt5::Widgets
  Qt5::Network
  Qt5::WebSockets
  NGLLogger
  LtsWidgets
  LtsSession
  LtsDataView
  nglcompression
  nglsettings
  ngltools
  AsmDataPluginInterface
  ExmDataPluginInterface
  LtsSessionData
  httq
)

NGL_INSTALL_TARGET(ThpManagementGuiPlugin)

