2017-10-14 03:29:13 -04:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core network
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = httpserver
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD
|
2018-03-10 14:32:46 -05:00
|
|
|
INCLUDEPATH += ../exports
|
2018-03-05 10:40:53 -05:00
|
|
|
|
2017-10-14 03:29:13 -04:00
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
|
2018-11-13 11:29:34 -05:00
|
|
|
CONFIG(MSVC):DEFINES += httpserver_EXPORTS
|
|
|
|
|
2017-10-14 03:29:13 -04:00
|
|
|
# Enable very detailed debug messages when compiling the debug version
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DEFINES += SUPERVERBOSE
|
|
|
|
}
|
|
|
|
|
|
|
|
HEADERS += $$PWD/httpglobal.h \
|
|
|
|
$$PWD/httplistener.h \
|
|
|
|
$$PWD/httpconnectionhandler.h \
|
|
|
|
$$PWD/httpconnectionhandlerpool.h \
|
|
|
|
$$PWD/httprequest.h \
|
|
|
|
$$PWD/httpresponse.h \
|
|
|
|
$$PWD/httpcookie.h \
|
|
|
|
$$PWD/httprequesthandler.h \
|
|
|
|
$$PWD/httpsession.h \
|
|
|
|
$$PWD/httpsessionstore.h \
|
2017-11-12 19:01:15 -05:00
|
|
|
$$PWD/staticfilecontroller.h \
|
|
|
|
$$PWD/httplistenersettings.h \
|
|
|
|
$$PWD/httpdocrootsettings.h \
|
|
|
|
$$PWD/httpsessionssettings.h
|
|
|
|
|
2017-10-14 03:29:13 -04:00
|
|
|
|
|
|
|
SOURCES += $$PWD/httpglobal.cpp \
|
|
|
|
$$PWD/httplistener.cpp \
|
|
|
|
$$PWD/httpconnectionhandler.cpp \
|
|
|
|
$$PWD/httpconnectionhandlerpool.cpp \
|
|
|
|
$$PWD/httprequest.cpp \
|
|
|
|
$$PWD/httpresponse.cpp \
|
|
|
|
$$PWD/httpcookie.cpp \
|
|
|
|
$$PWD/httprequesthandler.cpp \
|
|
|
|
$$PWD/httpsession.cpp \
|
|
|
|
$$PWD/httpsessionstore.cpp \
|
|
|
|
$$PWD/staticfilecontroller.cpp
|
|
|
|
|