Obviously, these would have to be rewritten to something like
#include "lexertl/serialise.hpp"
or
#include <lexertl/serialise.hpp>
to use the headers in a system-wide installation.
Would it be better to change the paths in this repository as described above, and to expect library users to set the include path with compiler flags (-I/path/to/headers) as needed? I would be happy to prepare a PR for this.
Where
parsertl14
includes headers fromlexertl14
, it uses relative paths that assume a particular project structure, e.g.:https://github.com/BenHanson/parsertl14/blob/9a2b12a22efb6551462f74a9eb3e91dd8289d0ef/include/parsertl/serialise.hpp#L10
Obviously, these would have to be rewritten to something like
or
to use the headers in a system-wide installation.
Would it be better to change the paths in this repository as described above, and to expect library users to set the include path with compiler flags (
-I/path/to/headers
) as needed? I would be happy to prepare a PR for this.