
set (thermo_sources
     BufrThermo.cc
     DataThermo.cc
     GribThermo.cc
     Thermo.cc)


ecbuild_add_executable( TARGET       Thermo
                        SOURCES      ${thermo_sources}
                        DEFINITIONS  ${METVIEW_EXTRA_DEFINITIONS}
                        INCLUDES     ${METVIEW_STANDARD_INCLUDES}
                        LIBS         ${STANDARD_METVIEW_LIBS}
                    )


metview_module_files(ETC_FILES ObjectSpec.Thermo
                               ThermoViewDef
                               ThermoViewRules
                               ThermoDataDef
                               ThermoDataRules
                               MTHERMOGRIDDef
                               MTHERMOGRIDRules
                               MThermoDef
                               MThermoRules

                     XPM_FILES THERMOVIEW.xpm
                               THERMODATA.xpm

                     SVG_FILES MTHERMOGRID.svg
                               MTHERMO.svg
                    )
