From 89d059c3fcfdcac814c3d5705b2c03a220ac3f3f Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Wed, 15 Nov 2017 22:29:54 +0000 Subject: Fixing build issues --- premake4.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'premake4.lua') diff --git a/premake4.lua b/premake4.lua index c3e295b..eaff18a 100644 --- a/premake4.lua +++ b/premake4.lua @@ -297,13 +297,12 @@ solution (iif(release, slnname, "windirstat")) resoptions {"/nologo", "/l409"} resincludedirs {".", "$(IntDir)"} linkoptions {"/delayload:psapi.dll", "/pdbaltpath:%_PDB%"} + prebuildcommands{"if not exist \"$(SolutionDir)common\\hgid.h\" call \"$(SolutionDir)\\common\\hgid.cmd\"",} if release then postbuildcommands { "ollisign.cmd -a \"$(TargetPath)\" \"https://windirstat.net\" \"WinDirStat\"" } - else - prebuildcommands{"if not exist \"$(SolutionDir)common\\hgid.h\" call \"$(SolutionDir)\\common\\hgid.cmd\"",} end files { -- cgit v1.2.3