summaryrefslogtreecommitdiffstats
path: root/src/plugins/opcua/uacpp/uacpp.pro
blob: 411a6525e6f43ae78bd92c44a099f87a3666b2a8 (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
TARGET = uacpp_backend
QT += core core-private opcua opcua-private network

win32 {
    CONFIG(debug, debug|release): LIBS += uaclientd.lib uabased.lib coremoduled.lib uastackd.lib uapkid.lib xmlparserd.lib
    else: LIBS += uaclient.lib uabase.lib coremodule.lib uastack.lib uapki.lib xmlparser.lib

    LIBS += Crypt32.lib Ole32.lib OleAut32.lib ws2_32.lib

    # The UA SDK bundles hardcoded builds of libxml and openssl. Preferably we should get rid of
    # this at some point.
    LIBS += libeay32.lib libxml2.lib

    DEFINES += _UA_STACK_USE_DLL
}
unix {
    LIBS += -luaclient -luamodule -luamodels -lcoremodule -luabase -luastack -lxmlparser -luapki -lcrypto -lssl -lxml2
}

HEADERS += \
    quacppbackend.h \
    quacppclient.h \
    quacppnode.h \
    quacppplugin.h \
    quacppsubscription.h \
    quacppvalueconverter.h \
    quacpputils.h

SOURCES += \
    quacppbackend.cpp \
    quacppclient.cpp \
    quacppnode.cpp \
    quacppplugin.cpp \
    quacppsubscription.cpp \
    quacppvalueconverter.cpp \
    quacpputils.cpp

OTHER_FILES = uacpp-metadata.json

PLUGIN_TYPE = opcua
PLUGIN_CLASS_NAME = QUACppPlugin
load(qt_plugin)