if(METVIEW_QT5)
 QT5_WRAP_CPP(ODBExaminer_MOC OdbExaminer.h MvQOdbTableView.h)
else()
 QT4_WRAP_CPP(ODBExaminer_MOC OdbExaminer.h MvQOdbTableView.h)
endif()

set(odbexam_srcs
    MvMain.cc
    OdbExaminer.cc
    MvQOdbTableView.cc
    MvQOdbStatModel.cc
    MvQOdbTableView.h OdbExaminer.h
    MvQOdbStatModel.h MvQOdbStat.h)


ecbuild_add_executable( TARGET       OdbExaminer
                        SOURCES      ${odbexam_srcs} ${ODBExaminer_MOC}
                        DEFINITIONS  ${METVIEW_EXTRA_DEFINITIONS}
                        INCLUDES     ${METVIEW_STANDARD_INCLUDES} ${METVIEW_QT_INCLUDE_DIRS} ${METVIEW_ODB_API_INCLUDE_DIRS}
                        LIBS         ${METVIEW_QT_LIBRARIES} ${STANDARD_METVIEW_LIBS_ODB} ${METVIEW_ODB_API_LIBRARIES}
                    )

metview_module_files(ETC_FILES ObjectSpec.OdbExaminer)
