mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Started editor .Net context for undo/redo system
This commit is contained in:
32
EditorNet/premake5.lua
Normal file
32
EditorNet/premake5.lua
Normal 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"'
|
||||
}
|
||||
Reference in New Issue
Block a user