cmake_minimum_required(VERSION 3.16)
project(GuiElementPlugin CXX)

set(CMAKE_AUTOMOC ON)


SET(gui_element_SRCS
  custom_widget.cpp
  custom_widget.h
  gui_element_plugin.cpp
  gui_element_plugin.h
)

NGL_WRAP_UI(gui_element_SRCS
  custom_widget.ui
)

NGL_ADD_LIBRARY(WS GuiElementPlugin MODULE ${gui_element_SRCS})
# Pfad zum Interface-Ordner bekannt machen
NGL_TARGET_INCLUDE_DIRECTORIES(GuiElementPlugin PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)

NGL_TARGET_LINK_LIBRARIES(GuiElementPlugin
   Qt6::Widgets
   LtsWidgets
   LtsSession
   LtsSessionData
   GuiElementInterface
   PpmDataPluginInterface
   PpmCommon
   LtsCoordTrans
 )
