summaryrefslogtreecommitdiff
path: root/tests/tests.pro
blob: dc855d1a6967fd6ba6264f061d705b91a978f07c (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
cache()

QT += core network testlib

TARGET	= unittests
CONFIG  += testcase
CONFIG  += console
CONFIG	+= c++11
CONFIG  -= app_bundle

TEMPLATE = app

mac:QMAKE_CXXFLAGS += -Wall -Werror -Wextra

include(../src/qwebsockets.pri)

# Remove the main.cpp file from the sources.
#S = $$SOURCES
#for(F, S) {
#    M = $$find(F, main.cpp)
#    count(M, 0) {
#        SOURCES += $$F
#    }
#}

SOURCES += \
        main.cpp \
        tst_websockets.cpp \
        tst_compliance.cpp \
        tst_dataprocessor.cpp

HEADERS += \
    unittests.h

INCLUDEPATH +=
DEPENDPATH +=

DEFINES += SRCDIR=\\\"$$PWD/\\\"