#
# 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
  ces_building_model.cpp
  ces_building_model.h
  handler_building_ownership.cpp
  handler_building_ownership.h
  handler_building_model.cpp
  handler_building_model.h
  handler_aes_data.cpp
  handler_aes_data.h
  handler_contamination.cpp
  handler_contamination.h
#  logger.cpp
#  logger.h
  )

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

