How to add custom include paths for CppParser?
jozhn opened this issue · 1 comments
jozhn commented
IncludeFolders
is readonly in CppParserOptions
xoofx commented
The property is readonly, the list is not 🙂
// Directly while creating it
var options = new CppParserOptions()
{
IncludeFolders =
{
@"C:\Hello\MyPath"
},
};
// By IncludeFolders.Add
options.IncludeFolders.Add(@"C:\Another\Path");