!isEmpty(SCSTWLIBRARIES_LIB):error("ScStwLibraries.pri already included") SCSTWLIBRARIES_LIB = 1 ScStwLibraries_QML { QT += qml quickcontrols2 DEFINES += ScStwLibraries_QML ScStwLibraries_Styling { DEFINES += ScStwLibraries_Styling } } ScStwLibraries_ClientLibs { DEFINES += ScStwLibraries_ClientLibs } ScStwLibraries_Raspi { LIBS += -lasound DEFINES += ScStwLibraries_Raspi } INCLUDEPATH += $$PWD/headers $$PWD SOURCES += \ $$PWD/sources/ScStw.cpp \ $$PWD/sources/scstwsettings.cpp \ $$PWD/sources/scstwsoundplayer.cpp \ $$PWD/sources/scstwlibraries.cpp \ $$PWD/sources/scstwrace.cpp \ $$PWD/sources/scstwtimer.cpp \ $$PWD/sources/scstwsetting.cpp HEADERS += \ $$PWD/headers/ScStw.hpp \ $$PWD/headers/ScStwLibraries_global.h \ $$PWD/headers/scstwlibraries.h \ $$PWD/headers/scstwrace.h \ $$PWD/headers/scstwsettings.h \ $$PWD/headers/scstwsoundplayer.h \ $$PWD/headers/scstwtimer.h \ $$PWD/headers/scstwsetting.h ScStwLibraries_ClientLibs { SOURCES += \ $$PWD/sources/client/scstwclient.cpp \ $$PWD/sources/client/scstwremoterace.cpp \ $$PWD/sources/client/scstwremotetimer.cpp \ $$PWD/sources/client/scstwremotesettings.cpp HEADERS += \ $$PWD/headers/client/scstwclient.h \ $$PWD/headers/client/scstwremoterace.h \ $$PWD/headers/client/scstwremotetimer.h \ $$PWD/headers/client/scstwremotesettings.h INCLUDEPATH += $$PWD/headers/client } ScStwLibraries_QML { ScStwLibraries_Styling { SOURCES += \ $$PWD/sources/styling/scstwapptheme.cpp \ $$PWD/sources/styling/scstwappthememanager.cpp HEADERS += \ $$PWD/headers/styling/scstwapptheme.h \ $$PWD/headers/styling/scstwappthememanager.h RESOURCES += \ $$PWD/resources/qml/ScStwStylingQml.qrc \ $$PWD/resources/shared/ScStwStylingShared.qrc \ INCLUDEPATH += $$PWD/headers/styling } } RESOURCES += \ $$PWD/resources/shared/ScStwLibrariesShared.qrc