Fixed premake bug where project configuration tag was missing for SHADE_CSharp #227

Merged
Pycorax merged 1 commits from SP3-6-c-scripting into main 2022-11-19 16:25:32 +08:00
1 changed files with 4 additions and 1 deletions

View File

@ -50,6 +50,9 @@ project "SHADE_CSharp"
function platformsElementCS(cfg)
_p(2,'<Platforms>x64</Platforms>')
end
function configElementCS(cfg)
_p(2,'<Configurations>Debug;Release;Publish</Configurations>')
end
function docsElementCS(cfg)
_p(2,'<GenerateDocumentationFile>true</GenerateDocumentationFile>')
end
@ -59,6 +62,6 @@ project "SHADE_CSharp"
premake.override(premake.vstudio.cs2005.elements, "projectProperties", function (oldfn, cfg)
return table.join(oldfn(cfg), {
platformsElementCS, docsElementCS, docsLocationElementCS,
platformsElementCS, configElementCS, docsElementCS, docsLocationElementCS,
})
end)