set(SOURCE_GROUP_HEADER_FILES
    ${CMAKE_CURRENT_LIST_DIR}/RicOpenSummaryPlotEditorFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewDefaultSummaryPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCrossPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotFeatureImpl.h
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryCrossPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryCrossPlotCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataToSummaryPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataToSummaryPlotFeatureUi.h
    ${CMAKE_CURRENT_LIST_DIR}/RicViewZoomAllFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveSwitchAxisFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCrossPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCrossPlotCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCaseFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicAsciiExportSummaryPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewGridTimeHistoryCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSelectSummaryPlotUI.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteTimeHistoryCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryCrossPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorUi.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorWidgetCreator.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorDialog.h
    ${CMAKE_CURRENT_LIST_DIR}/RicShowSummaryCurveCalculatorFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryCurveCalculationFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveCalculatorDialog.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveCalculatorUi.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCrossPlotCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryEnsembleCurveSetFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteEnsembleCurveSetFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewEnsembleCurveFilterFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewDerivedEnsembleFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicClearSourceSteppingSummaryCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSetSourceSteppingSummaryCurveFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicClearSourceSteppingEnsembleCurveSetFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicSetSourceSteppingEnsembleCurveSetFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewDerivedSummaryFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewPlotAxisPropertiesFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicShowSummaryPlotManagerFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryMultiPlotFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicDeleteSubPlotCtxFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryPlotCtxFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicToggleYAxisLinkingFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicToggleXAxisLinkingFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicOpenSummaryPlotEditorFromMdiAreaFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryTableFeature.h
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryTableFeature.h
)

set(SOURCE_GROUP_SOURCE_FILES
    ${CMAKE_CURRENT_LIST_DIR}/RicOpenSummaryPlotEditorFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewDefaultSummaryPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCrossPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotFeatureImpl.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryCrossPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryCrossPlotCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataToSummaryPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataToSummaryPlotFeatureUi.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicViewZoomAllFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveSwitchAxisFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCrossPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCrossPlotCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCaseFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicAsciiExportSummaryPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewGridTimeHistoryCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSelectSummaryPlotUI.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteTimeHistoryCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryCrossPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorUi.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorWidgetCreator.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorDialog.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicShowSummaryCurveCalculatorFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryCurveCalculationFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveCalculatorDialog.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveCalculatorUi.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCrossPlotCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryEnsembleCurveSetFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteEnsembleCurveSetFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewEnsembleCurveFilterFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewDerivedEnsembleFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicClearSourceSteppingSummaryCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSetSourceSteppingSummaryCurveFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicClearSourceSteppingEnsembleCurveSetFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicSetSourceSteppingEnsembleCurveSetFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewDerivedSummaryFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewPlotAxisPropertiesFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicShowSummaryPlotManagerFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryMultiPlotFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicDeleteSubPlotCtxFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryPlotCtxFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicToggleYAxisLinkingFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicToggleXAxisLinkingFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicOpenSummaryPlotEditorFromMdiAreaFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryTableFeature.cpp
    ${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryTableFeature.cpp
)

list(APPEND COMMAND_CODE_HEADER_FILES ${SOURCE_GROUP_HEADER_FILES})

list(APPEND COMMAND_CODE_SOURCE_FILES ${SOURCE_GROUP_SOURCE_FILES})

list(
  APPEND
  COMMAND_QT_MOC_HEADERS
  ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorWidgetCreator.h
  ${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorDialog.h
  ${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveCalculatorDialog.h
)

source_group(
  "CommandFeature\\SummaryPlot"
  FILES ${SOURCE_GROUP_HEADER_FILES} ${SOURCE_GROUP_SOURCE_FILES}
        ${CMAKE_CURRENT_LIST_DIR}/CMakeLists_files.cmake
)
