Add premake scripts for c# projects

This commit is contained in:
Jan
2019-10-22 11:32:19 +02:00
parent 0d103e24a5
commit d213bab3f2
21 changed files with 74 additions and 354 deletions

View File

@ -0,0 +1,41 @@
ZoneCodeGenerator = {}
function ZoneCodeGenerator:include()
end
function ZoneCodeGenerator:link()
links {
"ZoneCodeGenerator"
}
end
function ZoneCodeGenerator:project()
local folder = ProjectFolder();
project "ZoneCodeGenerator"
targetdir(TargetDirectoryBin)
location "%{wks.location}/src/%{prj.name}"
kind "ConsoleApp"
language "C#"
namespace "ZoneCodeGenerator"
files {
path.join(folder, "ZoneCodeGenerator/**.cs")
}
vpaths { ["*"] = "src/ZoneCodeGenerator" }
nuget {
"Antlr3.Runtime:3.5.1",
"StringTemplate4:4.0.8"
}
links {
"System",
"System.Core",
"System.Data",
"StringTemplate4",
"Antlr3.Runtime"
}
end