//===========================================================================================
		public static void Generate()
		{
			AnyCPUGenerator generator = new AnyCPUGenerator();
			generator.Cleanup();
			generator.CopyXmlResources();

			EnumGenerator.Generate();
			ClassGenerator.Generate();
			ExceptionGenerator.Generate();
			TypesGenerator.Generate();
		}
예제 #2
0
        //===========================================================================================
        public static void Generate()
        {
            AnyCPUGenerator generator = new AnyCPUGenerator();

            generator.Cleanup();
            generator.CopyXmlResources();

            EnumGenerator.Generate();
            ClassGenerator.Generate();
            ExceptionGenerator.Generate();
            TypesGenerator.Generate();
        }
예제 #3
0
        //===========================================================================================
        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();
            }
        }