2018-07-01 04:41:00 +00:00
|
|
|
QT -= gui
|
|
|
|
QT += network
|
|
|
|
|
|
|
|
TARGET = qmdnsengine
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
2018-07-29 00:22:12 +00:00
|
|
|
# Support debug and release builds from command line for CI
|
|
|
|
CONFIG += debug_and_release
|
|
|
|
|
2018-09-04 07:18:02 +00:00
|
|
|
# Ensure symbols are always generated
|
|
|
|
CONFIG += force_debug_info
|
|
|
|
|
2018-07-01 04:41:00 +00:00
|
|
|
QMDNSE_DIR = $$PWD/qmdnsengine/src
|
|
|
|
DEFINES += \
|
|
|
|
QT_NO_SIGNALS_SLOTS_KEYWORDS
|
|
|
|
|
|
|
|
# These are all required to be defined here not just
|
|
|
|
# to get them loaded into the IDE nicely, but more
|
|
|
|
# importantly, to get MOC to run on them properly.
|
|
|
|
HEADERS += \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/abstractserver.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/bitmap.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/browser.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/cache.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/dns.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/hostname.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/mdns.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/message.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/prober.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/provider.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/query.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/record.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/resolver.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/server.h \
|
|
|
|
$$QMDNSE_DIR/include/qmdnsengine/service.h \
|
|
|
|
$$QMDNSE_DIR/src/bitmap_p.h \
|
|
|
|
$$QMDNSE_DIR/src/browser_p.h \
|
|
|
|
$$QMDNSE_DIR/src/cache_p.h \
|
|
|
|
$$QMDNSE_DIR/src/hostname_p.h \
|
|
|
|
$$QMDNSE_DIR/src/message_p.h \
|
|
|
|
$$QMDNSE_DIR/src/prober_p.h \
|
|
|
|
$$QMDNSE_DIR/src/provider_p.h \
|
|
|
|
$$QMDNSE_DIR/src/query_p.h \
|
|
|
|
$$QMDNSE_DIR/src/record_p.h \
|
|
|
|
$$QMDNSE_DIR/src/resolver_p.h \
|
|
|
|
$$QMDNSE_DIR/src/server_p.h \
|
|
|
|
$$QMDNSE_DIR/src/service_p.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
$$QMDNSE_DIR/src/abstractserver.cpp \
|
|
|
|
$$QMDNSE_DIR/src/bitmap.cpp \
|
|
|
|
$$QMDNSE_DIR/src/browser.cpp \
|
|
|
|
$$QMDNSE_DIR/src/cache.cpp \
|
|
|
|
$$QMDNSE_DIR/src/dns.cpp \
|
|
|
|
$$QMDNSE_DIR/src/hostname.cpp \
|
|
|
|
$$QMDNSE_DIR/src/mdns.cpp \
|
|
|
|
$$QMDNSE_DIR/src/message.cpp \
|
|
|
|
$$QMDNSE_DIR/src/prober.cpp \
|
|
|
|
$$QMDNSE_DIR/src/provider.cpp \
|
|
|
|
$$QMDNSE_DIR/src/query.cpp \
|
|
|
|
$$QMDNSE_DIR/src/record.cpp \
|
|
|
|
$$QMDNSE_DIR/src/resolver.cpp \
|
|
|
|
$$QMDNSE_DIR/src/server.cpp \
|
|
|
|
$$QMDNSE_DIR/src/service.cpp
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
$$QMDNSE_DIR/include \
|
|
|
|
$$PWD/qmdnsengine
|
|
|
|
|
|
|
|
CONFIG += warn_off staticlib c++11
|