[cfe-dev] How to add custom include dir to the header search path?

huc1985 huc1985 at 163.com
Wed Apr 10 23:06:09 PDT 2013


Thanks a lot! 
I write like this, it's work!
HeaderSearchOptions headerSearchOptions;
HeaderSearchOptions.AddPath("D:\\test\\include",frontend::Quoted,false,false,false);
ApplyHeaderSearchOptions(headerSearch, headerSearchOptions, languageOptions,
pTargetInfo->getTriple());



--
View this message in context: http://clang-developers.42468.n3.nabble.com/How-to-add-custom-include-dir-to-the-header-search-path-tp4031389p4031428.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list