summaryrefslogtreecommitdiff
path: root/tests/unit/unit_tests.pro
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
commitd24f813f3f2a05c112e803e4256b53535895fc98 (patch)
tree601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /tests/unit/unit_tests.pro
Initial mirror commitHEADmaster
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)