Skip to content

Commit

Permalink
use same name for debug and release packages
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Aug 29, 2024
1 parent 91400a1 commit da31ce2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ This repository provides a C binding based on the main [Zenoh implementation wri
- `zenohc::static` for linking static library
- `zenohc::lib` for linking static or dynamic library depending on boolean variable `ZENOHC_LIB_STATIC`

For `Debug` configuration the library package `zenohc_debug` is installed side-by-side with release `zenohc` library. Suffix `d` is added to names of library files (libzenohc**d**.so).
For `Debug` configuration suffix `d` is added to names of library files (libzenohc**d**.so).

5. VScode

Expand Down
5 changes: 2 additions & 3 deletions install/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ declare_cache_var(ZENOHC_INSTALL_STATIC_LIBRARY FALSE BOOL "Install zenoh-c stat

#
# Installation
# For debug configuration installs libraries with 'd' added to filename and
# package named 'zenohc_debug'
# For debug configuration installs libraries with 'd' added to filename
#
status_print(CMAKE_INSTALL_PREFIX)

Expand Down Expand Up @@ -83,4 +82,4 @@ endforeach()
# Install lib files
#
install_zenohc_lib("Release;RelWithDebInfo;MinSizeRel;None" "RELEASE" zenohc)
install_zenohc_lib("Debug" "DEBUG" zenohc_debug)
install_zenohc_lib("Debug" "DEBUG" zenohc)

0 comments on commit da31ce2

Please sign in to comment.