Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Give better names to shared libraries #1564

Merged
merged 1 commit into from
Feb 19, 2020
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ make

NOTE: The `--recursive` flag in the `git clone` command is needed to recursively clone all the *git submodules*.

After the build is finished, you'll find the client library at the following location: `$\{PROJECT_ROOT}/build/src/libaktualizr/libaktualizr_lib.so`.
After the build is finished, you'll find the client library at the following location: `$\{PROJECT_ROOT}/build/src/libaktualizr/libaktualizr.so`.

== Integrating libaktualizr into your application

Expand Down
1 change: 1 addition & 0 deletions src/aktualizr_secondary/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ add_library(aktualizr_secondary_lib SHARED
$<TARGET_OBJECTS:logging>
$<TARGET_OBJECTS:uptane>
$<TARGET_OBJECTS:campaign>)
set_target_properties(aktualizr_secondary_lib PROPERTIES LIBRARY_OUTPUT_NAME aktualizr_secondary)
target_link_libraries(aktualizr_secondary_lib aktualizr-posix ${AKTUALIZR_EXTERNAL_LIBS})

if (BUILD_ISOTP)
Expand Down
1 change: 1 addition & 0 deletions src/libaktualizr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ add_library(aktualizr_lib SHARED
$<TARGET_OBJECTS:storage>
$<TARGET_OBJECTS:uptane>)
target_link_libraries(aktualizr_lib ${AKTUALIZR_EXTERNAL_LIBS})
set_target_properties(aktualizr_lib PROPERTIES LIBRARY_OUTPUT_NAME aktualizr)
install(TARGETS aktualizr_lib LIBRARY DESTINATION lib COMPONENT aktualizr)

if (BUILD_ISOTP)
Expand Down
1 change: 1 addition & 0 deletions src/sota_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if (BUILD_SOTA_TOOLS)
set(GARAGE_TOOLS_VERSION "${AKTUALIZR_VERSION}")
set_property(SOURCE garage_tools_version.cc PROPERTY COMPILE_DEFINITIONS GARAGE_TOOLS_VERSION="${GARAGE_TOOLS_VERSION}")
add_library(sota_tools_lib SHARED ${SOTA_TOOLS_LIB_SRC})
set_target_properties(sota_tools_lib PROPERTIES LIBRARY_OUTPUT_NAME sota_tools)
target_include_directories(sota_tools_lib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR} ${GLIB2_INCLUDE_DIRS})

# we link with aktualizr static lib here, to bundle everything in sota_tools_lib
Expand Down