#
# CMakeLists.txt for testing the Style Plugins by visualizing one
#
# $Id$
# $HeadURL$
# $Author$
# Created by Mike Wille, SLSE, 2016-05-25
#

SET(styleplugintest_SRCS
  stylePluginTest.cpp
  stylePluginTest.h
  style_plugin_test_export.h
)

SET(styleplugintest_UICS
  Ui/stylePluginTestUi.ui
)

NGL_WRAP_UI(styleplugintest_SRCS ${styleplugintest_UICS})
NGL_ADD_LIBRARY(WS NO_TRANSLATION stylePluginTest SHARED ${styleplugintest_SRCS} ${styleplugintest_UICS})
NGL_TARGET_LINK_LIBRARIES(stylePluginTest
  NGLLogger
  nglapplication
  LtsUtilsGuiStyleManager
  LtsWidgets
  Qt5::Core
  Qt5::Gui
  Qt5::Widgets
)

#IF(BUILD_TESTING)
  NGL_ADD_EXECUTABLE(WS NO_TRANSLATION stylePluginTestApp main.cpp)
  NGL_TARGET_LINK_LIBRARIES(stylePluginTestApp stylePluginTest)
#ENDIF(BUILD_TESTING)

NGL_INSTALL_TARGET(stylePluginTest)



