Example #1
0
        public MainMod(string inputFileName)
        {
            Mfconsulting.General.Prj2Make.Maker mkObj = null;

            MyInitializeComponents();

            if (inputFileName == null || inputFileName.Length < 1)
            {
                Console.WriteLine("No input file has been specified.");
                return;
            }

            if (Path.GetExtension(inputFileName).ToUpper().CompareTo(".SLN") == 0)
            {
                mkObj = new Mfconsulting.General.Prj2Make.Maker();
                mkObj.CreateCombineFromSln(inputFileName);
                return;
            }

            if (Path.GetExtension(inputFileName).ToUpper().CompareTo(".CSPROJ") == 0)
            {
                mkObj = new Mfconsulting.General.Prj2Make.Maker();
                mkObj.CreatePrjxFromCsproj(inputFileName);
                return;
            }
        }
Example #2
0
        public MainMod(string inputFileName)
        {
            Mfconsulting.General.Prj2Make.Maker mkObj = null;

            MyInitializeComponents();

            if (inputFileName == null || inputFileName.Length < 1)
            {
                Console.WriteLine ("No input file has been specified.");
                return;
            }

            if (Path.GetExtension(inputFileName).ToUpper().CompareTo(".SLN") == 0)
            {
                mkObj = new Mfconsulting.General.Prj2Make.Maker();
                mkObj.CreateCombineFromSln(inputFileName);
                return;
            }

            if (Path.GetExtension(inputFileName).ToUpper().CompareTo(".CSPROJ") == 0)
            {
                mkObj = new Mfconsulting.General.Prj2Make.Maker();
                mkObj.CreatePrjxFromCsproj(inputFileName);
                return;
            }
        }
Example #3
0
        protected void CreateMakefile()
        {
            Mfconsulting.General.Prj2Make.Maker mkObj = null;
            string slnFile = null;

            if (this.m_WorkspaceFileName.Length < 1)
            {
                Console.WriteLine("No input file has been specified.");
                return;
            }
            else
            {
                slnFile = m_WorkspaceFileName;
            }

            mkObj = new Mfconsulting.General.Prj2Make.Maker();
            SaveMakefileToDisk(mkObj.MakerMain(IsUnix, IsMcs, slnFile));
        }
Example #4
0
        protected void CreateMakefile()
        {
            Mfconsulting.General.Prj2Make.Maker mkObj = null;
            string slnFile = null;

            if (this.m_WorkspaceFileName.Length < 1) {
                Console.WriteLine ("No input file has been specified.");
                return;
            }
            else
                slnFile = m_WorkspaceFileName;

            mkObj = new Mfconsulting.General.Prj2Make.Maker();
            SaveMakefileToDisk(mkObj.MakerMain(IsUnix, IsMcs, slnFile));
        }