# ------------------------------------------------- # Project created by QtCreator 2010-08-03T13:34:36 # ------------------------------------------------- QT += testlib \ core \ sql TARGET = mDictionaryTests CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += tst_Backbone.cpp \ ../../src/mdictionary/backbone/backbone.cpp \ ../../src/mdictionary/backbone/History.cpp \ ../../src/mdictionary/backbone/Bookmarks.cpp \ ../../src/mdictionary/backbone/ConfigGenerator.cpp DEFINES += SRCDIR=\\\"$$PWD/\\\" HEADERS += CommonDictInterfaceMock.h \ ../../src/mdictionary/backbone/backbone.h \ ../../src/include/translation.h \ ../../src/include/settings.h \ ../../src/include/CommonDictInterface.h \ ../../src/include/History.h \ TranslationMock.h \ ../../src/mdictionary/backbone/BookmarkTranslations.h \ ../../src/mdictionary/backbone/Bookmarks.h \ ../../src/mdictionary/backbone/ConfigGenerator.h target.path = . target.commands += ./mDictionaryTests INSTALLS += target coverage { LIBS += -lgcov QMAKE_CXXFLAGS += -ftest-coverage -fprofile-arcs -fno-elide-constructors } check.depends = $$TARGET check.commands = ./mDictionaryTests QMAKE_EXTRA_TARGETS += check