Change the registerRecordDeviceDriver.pl script to create
registerRecordDeviceDriver.c as a C++ file (.cpp) so that it can use a static constructor to register the registerRecordDeviceDriver() command with the IOC shell Remove the old registerRecordDeviceDriverRegister.[ch] source files.
This commit is contained in:
@@ -53,12 +53,11 @@ example_SRCS += xxxRecord.c
|
||||
example_SRCS += devXxxSoft.c
|
||||
example_SRCS += caMonitor.c
|
||||
|
||||
example_SRCS_DEFAULT += registerRecordDeviceDriver.c
|
||||
example_SRCS_DEFAULT += registerRecordDeviceDriver.cpp
|
||||
example_SRCS_DEFAULT += exampleMain.c
|
||||
example_SRCS_vxWorks += -nil-
|
||||
#example_SRCS_vxWorks += sncExample.c
|
||||
|
||||
example_OBJS_DEFAULT += $(EPICS_BASE_BIN)/registerRecordDeviceDriverRegister
|
||||
example_OBJS_vxWorks += $(EPICS_BASE_BIN)/registerRecordDeviceDriver
|
||||
example_OBJS_vxWorks += $(EPICS_BASE_BIN)/iocCoreLibrary
|
||||
#example_OBJS_vxWorks += $(SEQ_BIN)/seq
|
||||
|
||||
Reference in New Issue
Block a user