diff --git a/BeefSpace.toml b/BeefSpace.toml new file mode 100644 index 0000000..835301a --- /dev/null +++ b/BeefSpace.toml @@ -0,0 +1,11 @@ +FileVersion = 1 +Projects = {Sandbox = {Path = "Sandbox"}, GlitchyEngine = {Path = "GlitchyEngine"}} + +[Workspace] +StartupProject = "Sandbox" + +[Configs.Test.Win32] +ConfigSelections = {corlib = {Config = "Debug"}} + +[Configs.Test.Win64] +ConfigSelections = {corlib = {Config = "Debug"}} diff --git a/GlitchyEngine/BeefProj.toml b/GlitchyEngine/BeefProj.toml new file mode 100644 index 0000000..e4cd134 --- /dev/null +++ b/GlitchyEngine/BeefProj.toml @@ -0,0 +1,6 @@ +FileVersion = 1 + +[Project] +Name = "GlitchyEngine" +TargetType = "BeefLib" +StartupObject = "GlitchyEngine.Program" diff --git a/GlitchyEngine/src/Test.bf b/GlitchyEngine/src/Test.bf new file mode 100644 index 0000000..bd99d66 --- /dev/null +++ b/GlitchyEngine/src/Test.bf @@ -0,0 +1,12 @@ +using System; + +namespace GlitchyEngine +{ + public static class Test + { + public static void Print() + { + Console.WriteLine("Hello from the Glitchy Engine!"); + } + } +} diff --git a/Sandbox/BeefProj.toml b/Sandbox/BeefProj.toml new file mode 100644 index 0000000..872f95c --- /dev/null +++ b/Sandbox/BeefProj.toml @@ -0,0 +1,7 @@ +FileVersion = 1 +Dependencies = {corlib = "*", GlitchyEngine = "*"} + +[Project] +Name = "Sandbox" +TargetType = "BeefGUIApplication" +StartupObject = "Sandbox.Program" diff --git a/Sandbox/src/Program.bf b/Sandbox/src/Program.bf new file mode 100644 index 0000000..09200b7 --- /dev/null +++ b/Sandbox/src/Program.bf @@ -0,0 +1,16 @@ +using System; + +namespace Sandbox +{ + class Program + { + public static int Main(String[] args) + { + GlitchyEngine.Test.Print(); + + Console.Read(); + + return 0; + } + } +}