I can add include paths in Visual Studio easily but I couldn't find a way to do it in GCC? Any helps please?
gcc
is a command-line program, the flag for includes
is -I
gcc -IC:\AdditionalIncludeDirectory <other-flags>
Use the -I
command-line argument:
gcc -Ipath
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.