コード例 #1
0
        public static NPath[] GetEGLibSourceFiles(NativeProgramConfiguration npc, NPath MonoSourceDir, bool managedDebuggingEnabled)
        {
            var files = new List <NPath>
            {
                MonoSourceDir.Combine("mono/eglib/garray.c"),
                MonoSourceDir.Combine("mono/eglib/gbytearray.c"),
                MonoSourceDir.Combine("mono/eglib/gdate-unity.c"),
                MonoSourceDir.Combine("mono/eglib/gdir-unity.c"),
                MonoSourceDir.Combine("mono/eglib/gerror.c"),
                MonoSourceDir.Combine("mono/eglib/gfile-unity.c"),
                MonoSourceDir.Combine("mono/eglib/gfile.c"),
                MonoSourceDir.Combine("mono/eglib/ghashtable.c"),
                MonoSourceDir.Combine("mono/eglib/giconv.c"),
                MonoSourceDir.Combine("mono/eglib/glist.c"),
                MonoSourceDir.Combine("mono/eglib/gmarkup.c"),
                MonoSourceDir.Combine("mono/eglib/gmem.c"),
                MonoSourceDir.Combine("mono/eglib/gmisc-unity.c"),
                MonoSourceDir.Combine("mono/eglib/goutput.c"),
                MonoSourceDir.Combine("mono/eglib/gpath.c"),
                MonoSourceDir.Combine("mono/eglib/gpattern.c"),
                MonoSourceDir.Combine("mono/eglib/gptrarray.c"),
                MonoSourceDir.Combine("mono/eglib/gqsort.c"),
                MonoSourceDir.Combine("mono/eglib/gqueue.c"),
                MonoSourceDir.Combine("mono/eglib/gshell.c"),
                MonoSourceDir.Combine("mono/eglib/gslist.c"),
                MonoSourceDir.Combine("mono/eglib/gspawn.c"),
                MonoSourceDir.Combine("mono/eglib/gstr.c"),
                MonoSourceDir.Combine("mono/eglib/gstring.c"),
                MonoSourceDir.Combine("mono/eglib/gunicode.c"),
                MonoSourceDir.Combine("mono/eglib/gutf8.c")
            };

            if (managedDebuggingEnabled)
            {
                if (npc.ToolChain.Platform is WindowsPlatform)
                {
                    files.AddRange(WindowsDebuggerMonoSourceFileList.GetEGLibSourceFiles(npc, MonoSourceDir));
                }

                if (npc.ToolChain.Platform is UniversalWindowsPlatform)
                {
                    files.AddRange(WinRTDebuggerMonoSourceFileList.GetEGLibSourceFiles(npc, MonoSourceDir));
                }
            }
            else
            {
                if (npc.ToolChain.Platform is WindowsPlatform)
                {
                    files.AddRange(WindowsDesktopMonoSourceFileList.GetEGLibSourceFiles(npc, MonoSourceDir));
                }

                if (npc.ToolChain.Platform is WindowsGamesPlatform)
                {
                    files.AddRange(WindowsGamesMonoSourceFileList.GetEGLibSourceFiles(npc, MonoSourceDir));
                }

                if (npc.ToolChain.Platform is UniversalWindowsPlatform)
                {
                    files.AddRange(WinRTMonoSourceFileList.GetEGLibSourceFiles(npc, MonoSourceDir));
                }
            }

            return(files.ToArray());
        }
コード例 #2
0
 public static NPath[] GetEGLibSourceFiles(NativeProgramConfiguration npc, NPath MonoSourceDir)
 {
     return(WindowsDesktopMonoSourceFileList.GetEGLibSourceFiles(npc, MonoSourceDir));
 }