Skip to content

Possible CMake improvements #1

@traversaro

Description

@traversaro

The current structure of the library has several CMake-related things that could be improved:

  • The version of the library is not explicitly exported
  • The exported target does not include a namespace
  • Target definition is duplicated, once in the source code and one in the CommonClassesConfig.cmake file.

I would suggest to take inspiration from https://github.com/robotology/how-to-export-cpp-library for the details on how to export a C++ library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions