summaryrefslogtreecommitdiff
path: root/tests/test-resource.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-resource.pro')
-rw-r--r--tests/test-resource.pro21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/test-resource.pro b/tests/test-resource.pro
new file mode 100644
index 0000000..3271864
--- /dev/null
+++ b/tests/test-resource.pro
@@ -0,0 +1,21 @@
+BASE = ..
+TEMPLATE = app
+TARGET = test-resource
+DESTDIR = build
+DEPENDPATH += $${BASE}/include $${BASE}/src .
+INCLUDEPATH += $${BASE}/src $${BASE}/include
+
+# Input
+HEADERS += $${BASE}/include/resource.h test-resource.h mock-resource-library.h
+SOURCES += $${BASE}/src/resource.cpp test-resource.cpp mock-resource-library.cpp
+
+OBJECTS_DIR = build
+MOC_DIR = build
+
+CONFIG += qt qtestlib debug warn_on
+QT -= gui
+
+# Install directives
+INSTALLBASE = /usr
+target.path = $$INSTALLBASE/share/libresourceqt/tests
+INSTALLS = target