Files
Nuake/NuakeNet/premake5.lua
2025-01-16 21:34:08 -05:00

30 lines
733 B
Lua

project "NuakeNet"
language "C#"
dotnetframework "net8.0"
kind "SharedLib"
clr "Unsafe"
-- Don't specify architecture here. (see https://github.com/premake/premake-core/issues/1758)
vsprops {
AppendTargetFrameworkToOutputPath = "false",
Nullable = "enable",
CopyLocalLockFileAssemblies = "true",
EnableDynamicLoading = "true",
}
files
{
"src/**.cs"
}
links
{
"Coral.Managed"
}
postbuildcommands {
'{ECHO} Copying "%{wks.location}/NuakeNet/bin/$(Configuration)/NuakeNet.dll" to "%{wks.location}/Editor"',
'{COPYFILE} "%{wks.location}/NuakeNet/bin/$(Configuration)/NuakeNet.dll" "%{wks.location}/Editor"'
}