Describe the feature
A modern best practice for installing C/C++ libraries is to place their headers within a dedicated namespace directory under include. Currently, zenoh-c installs its headers directly into ${INSTALL_PREFIX}/include, which can become cluttered as more libraries are installed.
Hence, this issue proposes a change to install Zenoh C/C++ headers under ${INSTALL_PREFIX}/include/zenoh to provide a cleaner, namespaced layout.
Note that this is a breaking change: examples and downstream projects will need to update their include paths if this is adopted. Additionally, synced changes need to be applied to zenoh-pico and zenoh-cpp as well.
Some open issues on the topic:
Describe the feature
A modern best practice for installing C/C++ libraries is to place their headers within a dedicated namespace directory under
include. Currently, zenoh-c installs its headers directly into${INSTALL_PREFIX}/include, which can become cluttered as more libraries are installed.Hence, this issue proposes a change to install Zenoh C/C++ headers under
${INSTALL_PREFIX}/include/zenohto provide a cleaner, namespaced layout.Note that this is a breaking change: examples and downstream projects will need to update their include paths if this is adopted. Additionally, synced changes need to be applied to
zenoh-picoandzenoh-cppas well.Some open issues on the topic: