Merge pull request #227 from SHADE-DP/SP3-6-c-scripting
Fixed premake bug where project configuration tag was missing for SHADE_CSharp
This commit is contained in:
commit
06e8ee6b2d
|
@ -50,6 +50,9 @@ project "SHADE_CSharp"
|
||||||
function platformsElementCS(cfg)
|
function platformsElementCS(cfg)
|
||||||
_p(2,'<Platforms>x64</Platforms>')
|
_p(2,'<Platforms>x64</Platforms>')
|
||||||
end
|
end
|
||||||
|
function configElementCS(cfg)
|
||||||
|
_p(2,'<Configurations>Debug;Release;Publish</Configurations>')
|
||||||
|
end
|
||||||
function docsElementCS(cfg)
|
function docsElementCS(cfg)
|
||||||
_p(2,'<GenerateDocumentationFile>true</GenerateDocumentationFile>')
|
_p(2,'<GenerateDocumentationFile>true</GenerateDocumentationFile>')
|
||||||
end
|
end
|
||||||
|
@ -59,6 +62,6 @@ project "SHADE_CSharp"
|
||||||
|
|
||||||
premake.override(premake.vstudio.cs2005.elements, "projectProperties", function (oldfn, cfg)
|
premake.override(premake.vstudio.cs2005.elements, "projectProperties", function (oldfn, cfg)
|
||||||
return table.join(oldfn(cfg), {
|
return table.join(oldfn(cfg), {
|
||||||
platformsElementCS, docsElementCS, docsLocationElementCS,
|
platformsElementCS, configElementCS, docsElementCS, docsLocationElementCS,
|
||||||
})
|
})
|
||||||
end)
|
end)
|
Loading…
Reference in New Issue