From fee80438a810bed1192430a0450d516108f1e2d9 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Sun, 3 Dec 2023 18:23:29 -0300 Subject: [PATCH] Update premake5.lua --- src/premake5.lua | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/premake5.lua b/src/premake5.lua index d915354b..ddf3e513 100644 --- a/src/premake5.lua +++ b/src/premake5.lua @@ -78,13 +78,18 @@ project "tribufu_cpp" links { - "hv.lib" + "hv.lib", } prelinkcommands { } + postbuildcommands + { + "{COPYFILE} ../vendor/libhv/lib/%{cfg.platform:gsub('-', '/')}/hv.dll %{cfg.targetdir}/hv.dll", + } + filter { "platforms:mac-*" } kind "SharedLib" system "macosx" @@ -109,6 +114,10 @@ project "tribufu_cpp" { } + postbuildcommands + { + } + filter { "platforms:linux-*" } kind "SharedLib" system "linux" @@ -132,6 +141,10 @@ project "tribufu_cpp" { } + postbuildcommands + { + } + filter { "platforms:android-*" } kind "SharedLib" system "android" @@ -155,6 +168,10 @@ project "tribufu_cpp" { } + postbuildcommands + { + } + filter { "platforms:ios-*" } kind "StaticLib" system "ios"