GtkSharp/CakeScripts/Settings.cake

50 lines
1.7 KiB
Plaintext
Raw Normal View History

class Settings
{
public static ICakeContext Cake { get; set; }
2017-10-30 13:52:48 +00:00
public static string Version { get; set; }
public static string BuildTarget { get; set; }
public static string Assembly { get; set; }
2017-10-29 14:28:44 +00:00
public static List<GAssembly> AssemblyList { get; set; }
public static void Init()
2017-10-28 22:57:52 +00:00
{
2017-10-29 14:28:44 +00:00
AssemblyList = new List<GAssembly>()
2017-10-28 22:57:52 +00:00
{
new GAssembly("GLibSharp"),
2017-10-29 14:28:44 +00: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 14:28:44 +00:00
new GAssembly("PangoSharp")
{
Deps = new[] { "GLibSharp", "CairoSharp" }
2017-10-29 14:28:44 +00:00
},
new GAssembly("GdkSharp")
{
Deps = new[] { "GLibSharp", "GioSharp", "CairoSharp", "PangoSharp" }
2017-10-29 14:28:44 +00:00
},
new GAssembly("GtkSharp")
{
Deps = new[] { "GLibSharp", "GioSharp", "AtkSharp", "CairoSharp", "PangoSharp", "GdkSharp" },
ExtraArgs = "--abi-cs-usings=Gtk,GLib"
},
2020-07-22 17:32:38 +00:00
new GAssembly("GtkSourceSharp")
2021-07-19 16:11:04 +00:00
{
Deps = new[] { "GLibSharp", "GtkSharp", "GioSharp", "CairoSharp", "PangoSharp", "GdkSharp" },
},
new GAssembly("WebkitGtkSharp")
{
Deps = new[] { "GtkSharp","GLibSharp", "GioSharp", "AtkSharp", "CairoSharp", "PangoSharp", "GdkSharp" },
ExtraArgs = "--abi-cs-usings=Webkit,Gtk,GLib,Gdk,Atk,Pango,Cairo"
2017-10-28 22:57:52 +00:00
}
2017-10-29 14:28:44 +00:00
};
}
2021-07-19 16:11:04 +00:00
}