From 0f9d5cb5c108e5b512bdc7c970b7c004245c8d4f Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Thu, 14 Dec 2017 14:50:18 +0100 Subject: [PATCH] template: add qsrv (if available) to exampleApp --- src/template/top/exampleApp/src/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/template/top/exampleApp/src/Makefile b/src/template/top/exampleApp/src/Makefile index fe010d583..776a02750 100644 --- a/src/template/top/exampleApp/src/Makefile +++ b/src/template/top/exampleApp/src/Makefile @@ -80,6 +80,14 @@ ifneq ($(SNCSEQ),) sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS) endif +# Link QSRV (pvAccess Server) if available +ifdef EPICS_QSRV_MAJOR_VERSION + _APPNAME__LIBS += qsrv + _APPNAME__LIBS += $(EPICS_BASE_PVA_CORE_LIBS) + _APPNAME__DBD += PVAServerRegister.dbd + _APPNAME__DBD += qsrv.dbd +endif + # Finally link IOC to the EPICS Base libraries _APPNAME__LIBS += $(EPICS_BASE_IOC_LIBS)