summaryrefslogtreecommitdiff
path: root/tests/unit/unit_tests.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit_tests.pro')
-rw-r--r--tests/unit/unit_tests.pro29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/unit/unit_tests.pro b/tests/unit/unit_tests.pro
new file mode 100644
index 0000000..49f74d0
--- /dev/null
+++ b/tests/unit/unit_tests.pro
@@ -0,0 +1,29 @@
+TEMPLATE = app
+TARGET = unittest
+QT += widgets
+LIBS += -lgtest -lgtest_main
+QMAKE_CXXFLAGS += -std=gnu++11
+DESTDIR = ./
+
+win32: {
+ QMAKE_LIBS_QT_ENTRY =
+ CONFIG += console
+ }
+
+MOC_DIR = moc
+OBJECTS_DIR = obj
+
+SRC = $$PWD/../../src
+TESTS = $$PWD/..
+
+include(common.pri)
+include(cards.pri)
+include(studySets.pri)
+include(random.pri)
+
+include(Card/card.pri)
+include(CardPack/cPack.pri)
+include(CardSideView/csView.pri)
+include(RandomGenerator/rndGen.pri)
+include(Settings/set.pri)
+include(SpacedRepetitionModel/srModel.pri)