This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/tools/nymea-plugininfocompiler/nymea-plugininfocompiler.pro
Michael Zanetti d999d1c715 Allow building the plugininfocompiler standalone
This is required to be able to build a "native" version of the pic
without having to build all the dependencies pulled in by the
HardwareManager.
2020-12-14 23:37:43 +01:00

56 lines
2.1 KiB
Prolog

QT -= gui
CONFIG += c++11 console
CONFIG -= app_bundle
include(../../nymea.pri)
INCLUDEPATH += $$top_srcdir/libnymea $$top_builddir
# FIXME: Rebuilding types here so that we can build the nymea-plugininfocompiler
# without having to build the entire libnymea
# Libnymea needs to be split up into 2 parts, one with full hardaremanager support
# the other with something more minimalistic that doesn't pull in Bluetooth, ZigBee,
# MQTT and whatnot.
SOURCES += \
main.cpp \
plugininfocompiler.cpp \
$$top_srcdir/libnymea/integrations/pluginmetadata.cpp \
$$top_srcdir/libnymea/integrations/thingutils.cpp \
$$top_srcdir/libnymea/types/paramtype.cpp \
$$top_srcdir/libnymea/types/param.cpp \
$$top_srcdir/libnymea/types/vendor.cpp \
$$top_srcdir/libnymea/types/thingclass.cpp \
$$top_srcdir/libnymea/types/statetype.cpp \
$$top_srcdir/libnymea/types/eventtype.cpp \
$$top_srcdir/libnymea/types/actiontype.cpp \
$$top_srcdir/libnymea/types/interface.cpp \
$$top_srcdir/libnymea/types/interfacestatetype.cpp \
$$top_srcdir/libnymea/types/interfaceeventtype.cpp \
$$top_srcdir/libnymea/types/interfaceactiontype.cpp \
$$top_srcdir/libnymea/loggingcategories.cpp \
HEADERS += \
plugininfocompiler.h \
$$top_srcdir/libnymea/typeutils.h \
$$top_srcdir/libnymea/integrations/pluginmetadata.h \
$$top_srcdir/libnymea/integrations/thingutils.h \
$$top_srcdir/libnymea/types/paramtype.h \
$$top_srcdir/libnymea/types/param.h \
$$top_srcdir/libnymea/types/vendor.h \
$$top_srcdir/libnymea/types/thingclass.h \
$$top_srcdir/libnymea/types/statetype.h \
$$top_srcdir/libnymea/types/eventtype.h \
$$top_srcdir/libnymea/types/actiontype.h \
$$top_srcdir/libnymea/types/interface.h \
$$top_srcdir/libnymea/types/interfacestatetype.h \
$$top_srcdir/libnymea/types/interfaceeventtype.h \
$$top_srcdir/libnymea/types/interfaceactiontype.h \
$$top_srcdir/libnymea/loggingcategories.h \
RESOURCES += \
$$top_srcdir/libnymea/interfaces/interfaces.qrc
target.path = $$[QT_INSTALL_PREFIX]/bin
INSTALLS += target