mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-16 09:34:18 +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:
@ -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"
|
||||
|
Reference in New Issue
Block a user