
ecbuild_add_executable( TARGET       XSection
                        SOURCES      Average.cc CrossS.cc MvXsectFrame.cc Vprofile.cc Xsect.cc
                                     Average.h CrossS.h MvXsectFrame.h Vprofile.h Xsect.h
                        DEFINITIONS  ${METVIEW_EXTRA_DEFINITIONS}
                        INCLUDES     ${METVIEW_STANDARD_INCLUDES}
                        LIBS         ${STANDARD_METVIEW_LIBS}
                    )


metview_module_files(ETC_FILES ObjectSpec.XSection
                               MXAverageDef
                               MXAverageRules
                               MXAverageViewDef
                               MXAverageViewRules
                               MVProfileDef
                               MVProfileRules
                               MVProfileViewDef
                               MVProfileViewRules
                               MXSectionDef
                               MXSectionRules
                               MXSectionCommonDef
                               MXSectionCommonRules
                               MXSectionViewDef
                               MXSectionViewRules
                               AverageDef
                               AverageRules
                               AverageViewDef
                               AverageViewRules
                               VertProfDef
                               VertProfRules
                               VertProfViewDef
                               VertProfViewRules
                               XsectDef
                               XsectRules
                               XsectViewDef
                               XsectViewRules
                               
                     XPM_FILES MXAVERAGE.xpm
                               MXAVERAGEVIEW.xpm
                               MVPROFILE.xpm
                               MVPROFILEVIEW.xpm
                               MXSECTION.xpm
                               MXSECTIONVIEW.xpm
                               AVERAGE.xpm
                               AVERAGEVIEW.xpm
                               VPROF.xpm
                               VPROFVIEW.xpm
                               XSECT.xpm
                               XSECTVIEW.xpm
                    )
