Embeddinator.Driver.GenerateSupportFiles()

Here are the examples of the csharp api class Embeddinator.Driver.GenerateSupportFiles() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: Embeddinator-4000
Source File: Driver.cs
void Generate()
        {
            Output = new ProjectOutput();

            foreach (var unit in Context.ASTContext.TranslationUnits)
            {
                var outputs = Generator.Generate(new[] { unit });

                foreach (var output in outputs)
                {
                    output.Process();
                    var text = output.Generate();

                    Output.WriteOutput(output.FilePath, text);
                }
            }

            if (Options.GenerateSupportFiles)
                GenerateSupportFiles();
        }