This question already has an answer here:
Say I have a template library in a fixed location, and I want to use it in many different projects, how do I make it so that a compiler knows by default where the headers are located? If possible, is there a way to make it so that any compiler knows where the headers are?
I already know about using -I with g++/gcc, and it's not what I'm asking for. I want a way to circumvent it and other project-specific solutions altogether, i.e. a way for the header files to be "public" in the computer.
I also would like to specify that I work with Windows 10.