Files
libpigpio/libPiGPIO.pro
2025-08-05 22:33:23 +02:00

87 lines
1.5 KiB
Prolog

TEMPLATE = app
DEFINES += LIBPIGPIO_LIBRARY
CONFIG += console c++17
#CONFIG -= app_bundle
#CONFIG -= qt
QT += core gui network widgets
#CONFIG += lrelease
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH += . sigslot/include/sigslot
SOURCES += \
libpigcore.cpp \
libpiglinux.cpp \
libpigpio.cpp \
libpigwindows.cpp \
pigbeeper.cpp \
pigbutton.cpp \
pigbuzzer.cpp \
pigcall.cpp \
pigchrono.cpp \
pigi2c.cpp \
pigi2cnode.cpp \
piglcd.cpp \
pigled.cpp \
pignode.cpp \
pignodein.cpp \
pignodeout.cpp \
pigsonar.cpp \
pigstate.cpp \
pigvalue.cpp \
pigpin.cpp \
pigtimer.cpp \
pigrotarydial.cpp \
QtGPIOMain.cpp \
main.cpp
HEADERS += \
libpigcore.h \
libpiglinux.h \
libpigpio.h \
libpigwindows.h \
pigbeeper.h \
pigbutton.h \
pigbuzzer.h \
pigcall.h \
pigchrono.h \
pigi2c.h \
pigi2cnode.h \
piglcd.h \
pigled.h \
pignode.h \
pignodein.h \
pignodeout.h \
pigsonar.h \
pigstate.h \
pigvalue.h \
pigpin.h \
pigtimer.h \
pigrotarydial.h \
QtGPIOMain.h \
FORMS += \
QtGPIOMain.ui
RESOURCES += \
QtGPIO.qrc
linux {
TARGET = pigbin
LIBS += -lpigpiod_if2 -lrt -pthread
}
# Default rules for deployment.
#unix {
# target.path = /usr/local/lib
#}
!isEmpty(target.path): INSTALLS += target