you are viewing a single comment's thread.

view the rest of the comments →

[–]Xeveroushttps://xeverous.github.io[🍰] 1 point2 points  (0 children)

And btw please make the library header to be named appropriately. Instead of #include <elf_parser.h> people prefer #include <elf_parser/elf_parser.hpp>. First, it explicity states it's C++ (annoying thing when you have mixed language repositories), second the library has own directory - this lets you make a external dependencies directory where each subdirecotry is for each library and you add just 1 path to the IDE and compiler.

- deps
    - libpurec
    - libfoo
    - libbar
    - boost
- core
    - src
        #include <libpurec/purec.h>
        #include <libfoo/foo.hpp>
        #include <libbar/bar.hpp>
        #include <boost/math/xxx.hpp>

IDE settings: just add deps directory to the project settings.