From a6825e1ae6c9b60d7f3bc42f6916839d707d6797 Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Sat, 18 Apr 2020 11:59:46 +0300 Subject: [PATCH] librw compilation in prebuild event of reIII --- librw | 2 +- premake5.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/librw b/librw index 48938896..bc9cb506 160000 --- a/librw +++ b/librw @@ -1 +1 @@ -Subproject commit 4893889621621c077690d522e7e9a10249a65a85 +Subproject commit bc9cb506ecd5abb869292860ed287c1b029b30cc diff --git a/premake5.lua b/premake5.lua index c427211a..ce637640 100644 --- a/premake5.lua +++ b/premake5.lua @@ -101,6 +101,8 @@ project "re3" targetextension ".exe" characterset ("MBCS") linkoptions "/SAFESEH:NO" + + prebuildcommands { "cd \"../librw\" && premake5 " .. _ACTION .. " && msbuild \"build/librw.sln\" /property:Configuration=%{cfg.longname} /property:Platform=\"win-x86-d3d9\"" } filter "configurations:Debug" defines { "DEBUG", "LIBRW", "RW_D3D9" }