Skip to content

Commit

Permalink
ROUTING-1234: adding support for new rtiserviceadmincpp library in Fi…
Browse files Browse the repository at this point in the history
…ndConnextDDS (#122)
  • Loading branch information
juanlu-rti authored Aug 9, 2024
1 parent 1bd267c commit df51c4f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cmake/Modules/FindRTIConnextDDS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1698,6 +1698,17 @@ if(routing_service IN_LIST RTIConnextDDS_FIND_COMPONENTS
"ROUTING_SERVICE_INFRASTRUCTURE"
)

set(rtiserviceadmincpp_libs
"rtiserviceadmincpp"
"nddscpp2"
"nddsc"
"nddscore"
)
get_all_library_variables(
"${rtiserviceadmincpp_libs}"
"ROUTING_SERVICE_ADMIN"
)

set(addon_dependencies)
if(METP_LIBRARIES)
list(APPEND addon_dependencies "nddsmetp")
Expand All @@ -1719,6 +1730,7 @@ if(routing_service IN_LIST RTIConnextDDS_FIND_COMPONENTS
set(routing_service_libs
"rtiroutingservice"
"rtirsinfrastructure"
"rtiserviceadmincpp"
${addon_dependencies}
"rticonnextmsgc"
"nddsc"
Expand Down Expand Up @@ -1968,6 +1980,7 @@ if(recording_service IN_LIST RTIConnextDDS_FIND_COMPONENTS)
list(APPEND recording_service_libs
"rtiroutingservice"
"rtirsinfrastructure"
"rtiserviceadmincpp"
"nddscpp2"
"rtidlc"
"nddsmetp"
Expand Down Expand Up @@ -2518,6 +2531,13 @@ if(RTIConnextDDS_FOUND)
RTIConnextDDS::c_api
)

create_connext_imported_target(
TARGET "service_admin_cpp2"
VAR "ROUTING_SERVICE_ADMIN"
DEPENDENCIES
RTIConnextDDS::cpp2_api
)

# Routing Service C API
set(dependencies RTIConnextDDS::routing_service_infrastructure)

Expand Down

0 comments on commit df51c4f

Please sign in to comment.