Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22001

How to make include files accessible to compiler by default [duplicate]

$
0
0

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.


Viewing all articles
Browse latest Browse all 22001

Trending Articles