Includes from lexertl14 assume a particular project structure
musicinmybrain opened this issue · comments
Ben Beasley commented
Where parsertl14
includes headers from lexertl14
, it uses relative paths that assume a particular project structure, e.g.:
parsertl14/include/parsertl/serialise.hpp
Line 10 in 9a2b12a
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.
Domingo Alvarez Duarte commented
That's what I did on my fork:
Ben Hanson commented
I have switched over to #include <lexertl/...>
format.