static void BuildParseOptions(Driver driver, Target target) { foreach (var header in driver.Options.Headers) { var source = driver.Project.AddFile(header); source.Options = driver.BuildParserOptions(source); if (header.Contains("mini")) { continue; } source.Options.AddDefines("HAVE_SGEN_GC"); source.Options.AddDefines("HAVE_MOVING_COLLECTOR"); } }
static void BuildParseOptions(Driver driver, Target target) { foreach (var header in driver.Options.Headers) { var source = driver.Project.AddFile(header); source.Options = driver.BuildParserOptions(source); if (header.Contains ("mini")) continue; source.Options.AddDefines ("HAVE_SGEN_GC"); source.Options.AddDefines ("HAVE_MOVING_COLLECTOR"); } }