Reputation: 104
I can add include paths in Visual Studio easily but I couldn't find a way to do it in GCC? Any helps please?
Upvotes: 0
Views: 3399
Reputation: 68034
There are many options related to the search of the include files. The most common used is -Ipath
Upvotes: 1
Reputation: 2812
gcc
is a command-line program, the flag for includes
is -I
gcc -IC:\AdditionalIncludeDirectory <other-flags>
Upvotes: 4