From 1adb6654228302177a0d48ec49b2688cbf1b4519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Sun, 1 Nov 2020 14:14:06 +0100 Subject: [PATCH] Basic Setup --- BeefSpace.toml | 11 +++++++++++ GlitchyEngine/BeefProj.toml | 6 ++++++ GlitchyEngine/src/Test.bf | 12 ++++++++++++ Sandbox/BeefProj.toml | 7 +++++++ Sandbox/src/Program.bf | 16 ++++++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 BeefSpace.toml create mode 100644 GlitchyEngine/BeefProj.toml create mode 100644 GlitchyEngine/src/Test.bf create mode 100644 Sandbox/BeefProj.toml create mode 100644 Sandbox/src/Program.bf 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; + } + } +}