// Actual Invocation // public void CreateMakefile(Object commandBarControl, ref bool handled, ref bool cancelDefault) public bool CreateMakefile() { // Create Makefiles Prj2MakeHelper p2mhObj = new Prj2MakeHelper(); string strSLNFile = applicationObject.Solution.FileName; applicationObject.StatusBar.Clear(); outputWindowPane.OutputString("--------------------------------------\nCreating Makefile for "); outputWindowPane.OutputString(String.Format("Solution: {0}\n", strSLNFile)); applicationObject.StatusBar.Text = "Creating Makefile.Win32 file..."; outputWindowPane.OutputString("\tCreating Makefile.Win32 file...\n"); // csc and nmake outputWindowPane.OutputString(p2mhObj.CreateMakeFile(true, true, strSLNFile)); applicationObject.StatusBar.Text = "Makefile.csc.nmake file created!"; outputWindowPane.OutputString("\tMakefile.csc.nmake file created!\n"); // mcs and nmake outputWindowPane.OutputString(p2mhObj.CreateMakeFile(false, true, strSLNFile)); applicationObject.StatusBar.Text = "Makefile.mcs.nmake file created!"; outputWindowPane.OutputString("\tMakefile.mcs.nmake file created!\n"); // mcs and gmake outputWindowPane.OutputString(p2mhObj.CreateMakeFile(false, false, strSLNFile)); applicationObject.StatusBar.Text = "Makefile.mcs.gmake file created!"; outputWindowPane.OutputString("\tMakefile.mcs.gmake file created!\n"); return true; }
// Actual Invocation // public void CreateMakefile(Object commandBarControl, ref bool handled, ref bool cancelDefault) public bool CreateMakefile() { // Create Makefiles Prj2MakeHelper p2mhObj = new Prj2MakeHelper(); string strSLNFile = applicationObject.Solution.FileName; applicationObject.StatusBar.Clear(); outputWindowPane.OutputString("--------------------------------------\nCreating Makefile for "); outputWindowPane.OutputString(String.Format("Solution: {0}\n", strSLNFile)); applicationObject.StatusBar.Text = "Creating Makefile.Win32 file..."; outputWindowPane.OutputString("\tCreating Makefile.Win32 file...\n"); // csc and nmake outputWindowPane.OutputString(p2mhObj.CreateMakeFile(true, true, strSLNFile)); applicationObject.StatusBar.Text = "Makefile.csc.nmake file created!"; outputWindowPane.OutputString("\tMakefile.csc.nmake file created!\n"); // mcs and nmake outputWindowPane.OutputString(p2mhObj.CreateMakeFile(false, true, strSLNFile)); applicationObject.StatusBar.Text = "Makefile.mcs.nmake file created!"; outputWindowPane.OutputString("\tMakefile.mcs.nmake file created!\n"); // mcs and gmake outputWindowPane.OutputString(p2mhObj.CreateMakeFile(false, false, strSLNFile)); applicationObject.StatusBar.Text = "Makefile.mcs.gmake file created!"; outputWindowPane.OutputString("\tMakefile.mcs.gmake file created!\n"); return(true); }
// Generate a MonoDevelop combine and/or prjx // public void GenerateMDcmbx(Object commandBarControl, ref bool handled, ref bool cancelDefault) public bool GenerateMDcmbx() { // Create MonoDevelop files Prj2MakeHelper p2mhObj = new Prj2MakeHelper(); string strSLNFile = applicationObject.Solution.FileName; applicationObject.StatusBar.Clear(); outputWindowPane.OutputString("--------------------------------------\nGenerating MonoDevelop files for "); outputWindowPane.OutputString(String.Format("Solution: {0}\n", strSLNFile)); applicationObject.StatusBar.Text = "Creating MonoDevelop files..."; outputWindowPane.OutputString("\tCreating MonoDevelop files...\n"); outputWindowPane.OutputString(p2mhObj.CreateMdFiles(strSLNFile)); applicationObject.StatusBar.Text = "MonoDevelop files created!"; outputWindowPane.OutputString("\tMonoDevelop files created!\n"); return(true); }
// Generate a MonoDevelop combine and/or prjx // public void GenerateMDcmbx(Object commandBarControl, ref bool handled, ref bool cancelDefault) public bool GenerateMDcmbx() { // Create MonoDevelop files Prj2MakeHelper p2mhObj = new Prj2MakeHelper(); string strSLNFile = applicationObject.Solution.FileName; applicationObject.StatusBar.Clear(); outputWindowPane.OutputString("--------------------------------------\nGenerating MonoDevelop files for "); outputWindowPane.OutputString(String.Format("Solution: {0}\n", strSLNFile)); applicationObject.StatusBar.Text = "Creating MonoDevelop files..."; outputWindowPane.OutputString("\tCreating MonoDevelop files...\n"); outputWindowPane.OutputString(p2mhObj.CreateMdFiles(strSLNFile)); applicationObject.StatusBar.Text = "MonoDevelop files created!"; outputWindowPane.OutputString("\tMonoDevelop files created!\n"); return true; }