Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provisioning_client: build libprov_mqtt_transport.so #2505

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions provisioning_client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,20 @@ if(${use_prov_client} OR (${use_prov_client_core} AND ${run_e2e_tests}))
target_link_libraries(prov_mqtt_transport umqtt)
set(provisioning_libs ${provisioning_libs} prov_mqtt_transport)
set(provisioning_headers ${provisioning_headers} ${PROV_MQTT_CLIENT_H_FILES})
if(${build_as_dynamic})
add_library(prov_mqtt_transport_dll SHARED
${PROV_MQTT_CLIENT_C_FILES}
${PROV_MQTT_CLIENT_H_FILES}
)
linkSharedUtil(prov_mqtt_transport_dll)
target_link_libraries(prov_mqtt_transport_dll umqtt)
set_target_properties(prov_mqtt_transport_dll PROPERTIES
OUTPUT_NAME "prov_mqtt_transport"
VERSION ${PROV_SDK_VERSION}
SOVERSION ${PROV_SDK_VERSION_MAJOR}
)
set(provisioning_libs ${provisioning_libs} prov_mqtt_transport_dll)
endif()
endif()
endif()

Expand Down