I am using the Eclipse CDT. I have configured the \"external Builder\" and I am generating the Makefiles automatically. Unfortunately, the generated Makefiles contain the ab
There is a better way to do this: "Project > Properties > C/C++ Build > Settings > Tool Settings > Cross G++ [or GCC] Compiler > Includes". Click plus button, then write:
"${ProjDirPath}/../../../somefolder1/somefolder2"
This approach allows you to specify any external folder by relative path to your project folder, even if it is located in parent subfolders.