set(KIT ${PROJECT_NAME}Plugins)

set(${KIT}_EXPORT "Q_SLICER_MODULE_${MODULE_NAME_UPPER}_WIDGETS_PLUGINS_EXPORT")

set(${KIT}_SRCS
  qSlicerSegmentationsModuleWidgetsAbstractPlugin.cxx
  qSlicerSegmentationsModuleWidgetsAbstractPlugin.h
  qSlicerSegmentationsModuleWidgetsPlugin.cxx
  qSlicerSegmentationsModuleWidgetsPlugin.h
  qMRMLSegmentsTableViewPlugin.cxx
  qMRMLSegmentsTableViewPlugin.h
  qMRMLSegmentationRepresentationsListViewPlugin.cxx
  qMRMLSegmentationRepresentationsListViewPlugin.h
  qMRMLSegmentationConversionParametersWidgetPlugin.cxx
  qMRMLSegmentationConversionParametersWidgetPlugin.h
  qMRMLSegmentationShow3DButtonPlugin.cxx
  qMRMLSegmentationShow3DButtonPlugin.h
  qMRMLSegmentSelectorWidgetPlugin.cxx
  qMRMLSegmentSelectorWidgetPlugin.h
  qMRMLSegmentEditorWidgetPlugin.cxx
  qMRMLSegmentEditorWidgetPlugin.h
  qMRMLSegmentationDisplayNodeWidgetPlugin.cxx
  qMRMLSegmentationDisplayNodeWidgetPlugin.h
  qMRMLSegmentationFileExportWidgetPlugin.cxx
  qMRMLSegmentationFileExportWidgetPlugin.h
  )

set(${KIT}_TARGET_LIBRARIES
  qSlicerSegmentationsModuleWidgets
  )

#-----------------------------------------------------------------------------
ctkMacroBuildQtDesignerPlugin(
  NAME ${KIT}
  EXPORT_DIRECTIVE ${${KIT}_EXPORT}
  FOLDER "Module-${MODULE_NAME}"
  SRCS ${${KIT}_SRCS}
  TARGET_LIBRARIES ${${KIT}_TARGET_LIBRARIES}
  )
