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:
Guilherme Werner
2023-12-08 17:03:09 -03:00
committed by GitHub
parent 7297e2e383
commit d9c7010888
46 changed files with 26003 additions and 9522 deletions

View File

@ -1,10 +1,11 @@
#!/usr/bin/env pwsh
# Windows (x86_64)
echo "Building for windows-x86_64"
cargo build --package tribufu-native --target x86_64-pc-windows-msvc
New-Item "bin/windows/x86_64" -ItemType Directory -Force
Remove-Item -Path "bin/windows/x86_64/*" -Force
Copy-Item -Path "target/x86_64-pc-windows-msvc/debug/deps/mintaka_native.dll" -Destination "bin/windows/x86_64" -Force
Copy-Item -Path "target/x86_64-pc-windows-msvc/debug/deps/mintaka_native.dll.lib" -Destination "bin/windows/x86_64" -Force
Copy-Item -Path "target/x86_64-pc-windows-msvc/debug/deps/mintaka_native.lib" -Destination "bin/windows/x86_64" -Force
Copy-Item -Path "target/x86_64-pc-windows-msvc/debug/tribufu_native.lib" -Destination "bin/windows/x86_64" -Force
msbuild /p:Configuration="debug" /p:Platform="windows-x86_64"
# Windows (i686)
msbuild /p:Configuration="debug" /p:Platform="windows-i686"
# Windows (aarch64)
msbuild /p:Configuration="debug" /p:Platform="windows-aarch64"