From daa6247bffbee17ae241bb8d8a7ad238888c2a57 Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Sat, 19 Nov 2022 15:03:49 +0800 Subject: [PATCH] Fixed premake bug where project configuration tag was missing --- SHADE_CSharp/premake5.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SHADE_CSharp/premake5.lua b/SHADE_CSharp/premake5.lua index 39ef8281..8844b84c 100644 --- a/SHADE_CSharp/premake5.lua +++ b/SHADE_CSharp/premake5.lua @@ -50,6 +50,9 @@ project "SHADE_CSharp" function platformsElementCS(cfg) _p(2,'x64') end + function configElementCS(cfg) + _p(2,'Debug;Release;Publish') + end function docsElementCS(cfg) _p(2,'true') 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) \ No newline at end of file -- 2.40.1