blob: 743cc2163337f8b8005ec961601e93bf299de0ce (
plain)
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
54
|
cache()
# Determine the platform: if using a cross-compiler -> add it to the config flags.
!contains(QMAKE_CXX, g++) {
CONFIG += embedded
}
QT += core network
CONFIG += c++11
embedded { # Vanilla Qt libraries are differently deployed then the dev libraries of Debian.
QT += multimedia
}
CONFIG += mobility
MOBILITY = multimedia
unix:!macx {
QT += dbus
}
include(../src/websocket.pri)
#include(../source/buildsystem/buildsystem.pri)
# Remove the main.cpp file from the sources.
S = $$SOURCES
SOURCES = \
tst_compliance.cpp
for(F, S) {
M = $$find(F, main.cpp)
count(M, 0) {
SOURCES += $$F
}
}
SOURCES += \
main.cpp \
tst_websockets.cpp
HEADERS += \
unittests.h
INCLUDEPATH +=
DEPENDPATH +=
QT += testlib
TARGET = unittests
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|