How to chain include in C++? -


i don't know proper term pardon post title. wanted workspace clean , organize thought maybe should reorganize file structure of library writing game. have file structure looks this:

mylibrary/include mylibrary/src 

the problem on client part, oblige this:

#include "mylibrary/include/myfile.hpp" 

i wanted this:

#include "mylibrary/myfile.hpp" 

how can achieve using c++?

thank you!

if want #include "mylibrary/myfile.hpp", make include directory this:

mylibrary/include/mylibrary/*.hpp 

then in whatever build system using, add mylibrary/include include path.

for example, gcc add -i local/path/to/include invocation. have @ documentation specific build system instructions.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -