Skip to content

Commit

Permalink
feat(project-template): Add Tango to the list of supported adapters (#47
Browse files Browse the repository at this point in the history
)
  • Loading branch information
phako committed Apr 26, 2024
1 parent b655f86 commit 5e80658
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmake/set_control_system_adapter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,16 @@ elseif(ADAPTER STREQUAL "EPICS7IOC")
find_package(ChimeraTK-ControlSystemAdapter-EPICS7-IOC-Adapter 02.01 REQUIRED)
set_target_properties(ChimeraTK::ChimeraTK-ControlSystemAdapter-EPICS7-IOC-Adapter PROPERTIES IMPORTED_GLOBAL TRUE)
add_library(ChimeraTK::SelectedAdapter ALIAS ChimeraTK::ChimeraTK-ControlSystemAdapter-EPICS7-IOC-Adapter)
elseif(ADAPTER STREQUAL "TANGO")
message("Building against the Tango ControlSystemAdater")
find_package(ChimeraTK-ControlSystemAdapter-TangoAdapter 01.00 REQUIRED)
set_target_properties(ChimeraTK::ChimeraTK-ControlSystemAdapter-TangoAdapter PROPERTIES IMPORTED_GLOBAL TRUE)
add_library(ChimeraTK::SelectedAdapter ALIAS ChimeraTK::ChimeraTK-ControlSystemAdapter-TangoAdapter)
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 ver. 3.16 IOC\n"
" -DADAPTER=EPICS7IOC to build an EPICS ver. 7.0 IOC")
" -DADAPTER=EPICS7IOC to build an EPICS ver. 7.0 IOC\n"
" -DADAPTER=TANGO to build a Tango device server")
endif()

0 comments on commit 5e80658

Please sign in to comment.