the program is nested this way:
main folder/
---Subfolder1/
-------A.cpp
-------A.h
---Subfolder2/
-------B.cpp
-------B.h
now A.cpp contains:
#include <Subfolder1/A.h>
#include <Subfolder1/A.h>
the compiler stops when it checks #include <Subfolder1/A.h> but not with only #include <Subfolder1/A.h>
i know to be totally correct it should be #include <A.h> or #include "A.h", but that syntax works for other IDE, it's just code::blocks that doesn't accept it, i've tried even different compilers with code::blocks but it always does the same error. With other IDEs, it's acceptied.
the option #1 works if i use the syntax #include "A.h" or the syntax #include <A.h>; but not if i use #include <Subfolder1/A.h>, now all the include references are made that way; changing them would be too tedious.
the option #2 works with all syntax, i've included the source's folder inside the include paths and it compiles it.
my problem is: i have few projects with that structure; do have i to add to every single project to the include paths, or is there a variable or a relative reference that i can set in the global compiler settings to avoid to do that for every project?