# Usage file for the MsgUtils library. A consuming project links MsgUtils with: # include(/path/to/lib/MsgUtils/MsgUtils.pri) # # Defaults to in-tree. # For an installed copy, MSGUTILS_ROOT is the install PREFIX. # qmake MSGUTILS_ROOT= ... isEmpty(MSGUTILS_ROOT): MSGUTILS_ROOT = $$PWD include($$PWD/../Comms/Comms.pri) QT *= core network serialbus INCLUDEPATH += $$MSGUTILS_ROOT/include LIBS += -L$$MSGUTILS_ROOT/lib -lMsgUtils -lprotobuf # Update rpath so shared lib is found during runtime. # Use MSGUTILS_ROOT so in-tree builds find the in-tree lib. # Installed builds will find install path via $$PREFIX/lib. QMAKE_RPATHDIR += $$MSGUTILS_ROOT/lib