Skip to content

Install Zenoh under include/zenoh #1074

@doganulus

Description

@doganulus

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    api fixProblem in the APIbreaking-changeIndicates that the issue implies a breaking change (be it at compile time or at runtime)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions