GtkSharp/CakeScripts/Settings.cake

40 lines
1.2 KiB
Text
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"
2017-10-28 22:57:52 +00:00
}
2017-10-29 14:28:44 +00:00
};
}
}