mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-16 13:14:19 +00:00
Use mintaka shared libraries (#1)
* Add libhv and test http client * Remove cpp-httplib * Update premake5.lua * Update client.cpp * Update premake5.lua * Add more windows libs * Use mintaka http client
This commit is contained in:
@ -25,12 +25,13 @@ project "tribufu_cpp"
|
||||
includedirs
|
||||
{
|
||||
"../include",
|
||||
"../vendor",
|
||||
"../vendor/*/include",
|
||||
}
|
||||
|
||||
libdirs
|
||||
{
|
||||
"../bin/%{cfg.platform:gsub('-', '/')}",
|
||||
"../vendor/*/lib/%{cfg.platform:gsub('-', '/')}",
|
||||
}
|
||||
|
||||
-- Profile
|
||||
@ -77,12 +78,19 @@ project "tribufu_cpp"
|
||||
|
||||
links
|
||||
{
|
||||
"tribufu_native.lib",
|
||||
"mintaka_native.dll.lib",
|
||||
}
|
||||
|
||||
prelinkcommands
|
||||
{
|
||||
}
|
||||
|
||||
postbuildcommands
|
||||
{
|
||||
"{COPYFILE} ../target/%{cfg.buildcfg}/deps/mintaka_native.dll %{cfg.targetdir}/mintaka_native.dll",
|
||||
}
|
||||
|
||||
filter { "platforms:mac-*" }
|
||||
kind "SharedLib"
|
||||
system "macosx"
|
||||
@ -101,12 +109,18 @@ project "tribufu_cpp"
|
||||
|
||||
links
|
||||
{
|
||||
"tribufu_native",
|
||||
"mintaka_native",
|
||||
}
|
||||
|
||||
prelinkcommands
|
||||
{
|
||||
}
|
||||
|
||||
postbuildcommands
|
||||
{
|
||||
}
|
||||
|
||||
filter { "platforms:linux-*" }
|
||||
kind "SharedLib"
|
||||
system "linux"
|
||||
@ -124,12 +138,18 @@ project "tribufu_cpp"
|
||||
|
||||
links
|
||||
{
|
||||
"tribufu_native",
|
||||
"mintaka_native",
|
||||
}
|
||||
|
||||
prelinkcommands
|
||||
{
|
||||
}
|
||||
|
||||
postbuildcommands
|
||||
{
|
||||
}
|
||||
|
||||
filter { "platforms:android-*" }
|
||||
kind "SharedLib"
|
||||
system "android"
|
||||
@ -147,12 +167,18 @@ project "tribufu_cpp"
|
||||
|
||||
links
|
||||
{
|
||||
"tribufu_native",
|
||||
"mintaka_native",
|
||||
}
|
||||
|
||||
prelinkcommands
|
||||
{
|
||||
}
|
||||
|
||||
postbuildcommands
|
||||
{
|
||||
}
|
||||
|
||||
filter { "platforms:ios-*" }
|
||||
kind "StaticLib"
|
||||
system "ios"
|
||||
@ -170,6 +196,16 @@ project "tribufu_cpp"
|
||||
}
|
||||
|
||||
links
|
||||
{
|
||||
"tribufu_native",
|
||||
"mintaka_native",
|
||||
}
|
||||
|
||||
prelinkcommands
|
||||
{
|
||||
}
|
||||
|
||||
postbuildcommands
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user