diff options
author | Oliver Schneider <oliver@assarbad.net> | 2017-11-16 01:29:54 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2017-11-16 01:29:54 +0300 |
commit | 89d059c3fcfdcac814c3d5705b2c03a220ac3f3f (patch) | |
tree | 5469fe403721b8bd73797b82d28b22d1e5a7c508 /premake4.lua | |
parent | f9e4de4e0cca8f13b403ee09079b818e51d66c00 (diff) |
Fixing build issues
Diffstat (limited to 'premake4.lua')
-rw-r--r-- | premake4.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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
{
|