Skip to content

Consider a geompp include directory #1

@musicinmybrain

Description

@musicinmybrain

In updating the Fedora Linux package for giada, I’m preparing to package this new build dependency as a separate header-only library. That means installing it in /usr/include/geompp since the header names are quite generic. To use it that way, I can patch the internal includes from:

#include "line.hpp"
#include "point.hpp"

to

#include "geompp/line.hpp"
#include "geompp/point.hpp"

Or, I can leave them as they were, and users of the package (at the moment this just means my own giada package build) need to add -I/usr/include/geompp or similar.

I was wondering if you had a preference—and, if you prefer the geompp directory, whether you would consider adding it upstream. If you intend this library to eventually be used by the “general public,” I would suggest the directory to reduce the possibility of header name conflicts. If it’s really only intended for giada, then I guess it doesn’t matter much at all.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions