blob: 92202bb7fea5fd4238765cf0d4987f3d370c19dd (
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
|
cache()
QT += core network
TARGET = unittests
CONFIG += console
CONFIG += c++11
CONFIG -= app_bundle
TEMPLATE = app
include(../src/qwebsockets.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
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|