#
# $Id$
# $HeadURL$
# $Author$
# Created by Hannes Fritsche, SLSE, 2017-09-05
#

# .ui files live in the ui/ subdirectory; tell AUTOUIC where to find them
set(CMAKE_AUTOUIC_SEARCH_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/ui)

SET(SRCS
  mainwindow.cpp
  mainwindow.h
  main.cpp
  message_model.cpp
  message_model.h
  ui/mainwindow.ui
)

NGL_WRAP_UI(SRCS ui/mainwindow.ui)

NGL_ADD_EXECUTABLE(WS NO_TRANSLATION CnrProxyTester ${SRCS})

NGL_TARGET_LINK_LIBRARIES(CnrProxyTester
  Qt6::Widgets
  Qt6::Core
  Qt6::WebSockets
  nglapplication
  LtsDataView
  LtsWidgets
  nglwidgets
  LtsPluginLoader
  StylePluginInterface
  LtsUtilsCoreHeaderOnly
)

NGL_INSTALL_TARGET_DEVEL(CnrProxyTester)

