example: add simple test to check correct linkage

- needs to be 3.14 compatible
- fixes #27
This commit is contained in:
Ralph Lange
2020-03-31 11:54:42 +02:00
parent 12fca1961f
commit 1d430e1bfd
3 changed files with 93 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#*************************************************************************
# Copyright (c) 2020 ITER Organization.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
CURDIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
TOP = ../..
include $(TOP)/configure/CONFIG
# use the new RSET definition
USR_CPPFLAGS += -DUSE_TYPED_RSET
DBD = exampleTest.dbd
exampleTest_DBD += example.dbd
PROD_LIBS += exampleSupport
ifneq ($(SNCSEQ),)
PROD_LIBS += seq pv
endif
PROD_LIBS += $(EPICS_BASE_IOC_LIBS)
TESTPROD_HOST += exampleTest
exampleTest_SRCS += exampleTest.c
exampleTest_SRCS += exampleTest_registerRecordDeviceDriver.cpp
TESTS += exampleTest
TESTSCRIPTS_HOST += $(TESTS:%=%.t)
include $(TOP)/configure/RULES