From e621221e8312e42658c44492452368e28a0a06be Mon Sep 17 00:00:00 2001 From: Patrick Nonn <patrick.nonn@desy.de> Date: Wed, 18 Jan 2023 15:51:07 +0100 Subject: [PATCH] Added EPICS7IOC as option to set_control_system_adapter --- cmake/set_control_system_adapter.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cmake/set_control_system_adapter.cmake b/cmake/set_control_system_adapter.cmake index 77fbd71..a952169 100644 --- a/cmake/set_control_system_adapter.cmake +++ b/cmake/set_control_system_adapter.cmake @@ -41,9 +41,15 @@ ELSEIF(ADAPTER STREQUAL "EPICSIOC") add_dependency(ChimeraTK-ControlSystemAdapter-EPICS-IOC-Adapter REQUIRED) set(Adapter_LINK_FLAGS ${ChimeraTK-ControlSystemAdapter-EPICS-IOC-Adapter_LINK_FLAGS}) set(Adapter_LIBRARIES ${ChimeraTK-ControlSystemAdapter-EPICS-IOC-Adapter_LIBRARIES}) +ELSEIF(ADAPTER STREQUAL "EPICS7IOC") + message("Building against the EPICS ver. 7.0 IOC ControlSystemAdater") + add_dependency(ChimeraTK-ControlSystemAdapter-EPICS7-IOC-Adapter REQUIRED) + set(Adapter_LINK_FLAGS ${ChimeraTK-ControlSystemAdapter-EPICS7-IOC-Adapter_LINK_FLAGS}) + set(Adapter_LIBRARIES ${ChimeraTK-ControlSystemAdapter-EPICS7-IOC-Adapter_LIBRARIES}) ELSE() message(FATAL_ERROR "Please select your ControlSystemAdapter to use by passing to the cmake command line:\n" " -DADAPTER=DOOCS to build a DOOCS server\n" " -DADAPTER=OPCUA to build an OPC UA server\n" - " -DADAPTER=EPICSIOC to build an EPICS IOC") + " -DADAPTER=EPICSIOC to build an EPICS ver. 3.16 IOC\n" + " -DADAPTER=EPICS7IOC to build an EPICS ver. 7.0 IOC") ENDIF() -- GitLab