Ryujinx-GtkSharp/CakeScripts/Settings.cake

44 lines
1.4 KiB
Plaintext
Raw Normal View History

class Settings
{
public static ICakeContext Cake { get; set; }
2017-10-30 14:52:48 +01:00
public static string Version { get; set; }
public static string BuildTarget { get; set; }
public static string Assembly { get; set; }
2017-10-29 15:28:44 +01:00
public static List<GAssembly> AssemblyList { get; set; }
public static void Init()
2017-10-29 00:57:52 +02:00
{
2017-10-29 15:28:44 +01:00
AssemblyList = new List<GAssembly>()
2017-10-29 00:57:52 +02:00
{
new GAssembly("GLibSharp"),
2017-10-29 15:28:44 +01:00
new GAssembly("GioSharp")
{
Deps = new[] { "GLibSharp" },
},
new GAssembly("AtkSharp")
{
Deps = new[] { "GLibSharp" },
ExtraArgs = "--abi-cs-usings=Atk,GLib"
},
new GAssembly("CairoSharp"),
2017-10-29 15:28:44 +01:00
new GAssembly("PangoSharp")
{
Deps = new[] { "GLibSharp", "CairoSharp" }
2017-10-29 15:28:44 +01:00
},
new GAssembly("GdkSharp")
{
Deps = new[] { "GLibSharp", "GioSharp", "CairoSharp", "PangoSharp" }
2017-10-29 15:28:44 +01:00
},
new GAssembly("GtkSharp")
{
Deps = new[] { "GLibSharp", "GioSharp", "AtkSharp", "CairoSharp", "PangoSharp", "GdkSharp" },
ExtraArgs = "--abi-cs-usings=Gtk,GLib"
},
new GAssembly("SourceView")
{
Deps = new[] { "GtkSharp", "GioSharp" },
2017-10-29 00:57:52 +02:00
}
2017-10-29 15:28:44 +01:00
};
}
}