Started editor .Net context for undo/redo system

This commit is contained in:
Antoine Pilote
2024-08-25 22:42:07 -04:00
parent 03231e6bf7
commit 9a30925b34
18 changed files with 531 additions and 28 deletions

32
EditorNet/premake5.lua Normal file
View File

@@ -0,0 +1,32 @@
project "EditorNet"
language "C#"
dotnetframework "net8.0"
kind "SharedLib"
clr "Unsafe"
-- Don't specify architecture here. (see https://github.com/premake/premake-core/issues/1758)
propertytags {
{ "AppendTargetFrameworkToOutputPath", "false" },
{ "Nullable", "enable" },
}
files
{
"src/**.cs"
}
links
{
"Coral.Managed",
"../Editor/NuakeNet.dll"
}
prebuildcommands {
-- "dotnet add package Microsoft.CodeAnalysis.CSharp.Scripting"
}
postbuildcommands {
'{ECHO} Copying "%{wks.location}/EditorNet/bin/$(Configuration)/EditorNet.dll" to "%{wks.location}/Editor"',
'{COPYFILE} "%{wks.location}/EditorNet/bin/$(Configuration)/EditorNet.dll" "%{wks.location}/Editor"'
}