summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua2
1 files changed, 2 insertions, 0 deletions
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" }