Let's assume that two developers have the same include files in different directories on their PCs. How then can they customize the Include Directories parameter of a C++ project to take this difference into account?
I have tried setting an environment variable (for example: MY_INCLUDE_DIR) and adding it (either ${MY_INCLUDE_DIR} or %MY_INCLUDE_DIR%) to the Include Directories list, but NetBeans displays an error when I include a header.
I'm sure that the environment variable is properly set because if I add it to the compiler command line ("-I${MY_INCLUDE_DIR}") then the code compiles even if NetBeans does not find the header.