#
# monitoring of the target areas
# $Id$
# $HeadURL$
# $Author$
#

# Make ${Qt6_Widgets} optional
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
  set(Qt6_Widgets ${Qt6_Widgets})
else()
  set(Qt6_Widgets "")
endif()


SET(SRCS
  plugin.cpp
  plugin.h
  handler_nbc.cpp
  handler_nbc.h
  )

set(CMAKE_AUTOMOC ON)
NGL_ADD_LIBRARY(AAR SV cesPluginCES_NBC MODULE ${SRCS})
if(QT6_GUI_AVAILABLE)
  NGL_TARGET_LINK_LIBRARIES(cesPluginCES_NBC
    PUBLIC
    Qt6::Network
    ${Qt6_Widgets}
    cesPluginInterface
    ngldb
    svcCesDDSCommon
    svcBldClient
  #  ProjectConfig
  )
endif()
NGL_INSTALL_TARGET(cesPluginCES_NBC)

