BenHanson / parsertl14

C++14 version of parsertl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Includes from lexertl14 assume a particular project structure

musicinmybrain opened this issue · comments

Where parsertl14 includes headers from lexertl14, it uses relative paths that assume a particular project structure, e.g.:

#include "../../../lexertl14/include/lexertl/serialise.hpp"

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.

I have switched over to #include <lexertl/...> format.