File: tests.pro

package info (click to toggle)
dataquay 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 852 kB
  • sloc: cpp: 8,808; sh: 26; ansic: 13; makefile: 10
file content (53 lines) | stat: -rw-r--r-- 939 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

TEMPLATE = app
CONFIG += debug console
QT += testlib
QT -= gui
TARGET = test-dataquay
win*: TARGET = "TestDataquay"

exists(../config.pri) {
	include(../config.pri)
}

!defined(DESTDIR) {
    DESTDIR = ./
}

INCLUDEPATH += . ..
DEPENDPATH += . ..
QMAKE_LIBDIR += ..

OBJECTS_DIR = o
MOC_DIR = o

!win32: LIBS += -Wl,-rpath,..

LIBS += -L.. -ldataquay	$${EXTRALIBS}

HEADERS += TestBasicStore.h TestDatatypes.h TestTransactionalStore.h TestImportOptions.h TestObjectMapper.h
SOURCES += TestDatatypes.cpp main.cpp

exists(../../platform-dataquay.pri) {
	include(../../platform-dataquay.pri)
}

exists(./platform.pri) {
    include(./platform.pri)
}
!exists(./platform.pri) {
    exists(../platform.pri) {
	include(../platform.pri)
    }
}

!win32 {
    !macx* {
        QMAKE_POST_LINK=$${DESTDIR}/$${TARGET}
    }
    macx* {
        QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
    }
}

win32:QMAKE_POST_LINK=$${TARGET}.exe