//=========================================================================================== public static void Generate() { AnyCPUGenerator generator = new AnyCPUGenerator(); generator.Cleanup(); generator.CopyXmlResources(); EnumGenerator.Generate(); ClassGenerator.Generate(); ExceptionGenerator.Generate(); TypesGenerator.Generate(); }
//=========================================================================================== internal static void Main(string[] args) { bool generateMagickScript = (args.Length == 0); bool generateAnyCPU = (args.Length == 0) || (args[0] == "--AnyCPU"); if (generateMagickScript) { XsdGenerator.Generate(); MagickScriptGenerator.Generate(); } if (generateAnyCPU) { AnyCPUGenerator.Generate(); } }