Adding header and source files from other directories.

I’ve read many posts and seen many topics on this. I’ve read documentation but nothing seems to work.

My impression is that in the Build.cs you can add


and then in a .h in your project you can

#include "FolderInMyIncludes/MyHeaderFile.h"

It would be great to just do a public and private include path .Add and add and include and source folders and then use those and build the project.

I can’t add this as a code without manual modification everytime the external files change.

What am I missing? Why is this so hard?

I know it is possible to use relative paths to get a single .h file included but anything that includes won’t have knowledge of it’s local path structure so none of the includes in the library will work.