mirror of
https://github.com/tribufu/sdk-rust
synced 2025-06-16 03:04:19 +00:00
Merge Rust, C and C++ SDKs (#4)
* Generate native bindings from rust crate * Add native instance and runtime statics * Update README.md
This commit is contained in:
12
scripts/windows/build.ps1
Normal file
12
scripts/windows/build.ps1
Normal file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
echo "Building for win-x64"
|
||||
cargo build --workspace
|
||||
|
||||
New-Item "bin/win-x64" -ItemType Directory -Force
|
||||
Remove-Item -Path "bin/win-x64/*" -Force -Recurse
|
||||
|
||||
Copy-Item -Path "target/debug/tribufu_sdk.dll.lib" -Destination "bin/win-x64/tribufu_sdk.lib"
|
||||
Copy-Item -Path "target/debug/tribufu_sdk.dll" -Destination "bin/win-x64/tribufu_sdk.dll"
|
||||
|
||||
msbuild /p:Configuration="debug" /p:Platform="win-x64"
|
Reference in New Issue
Block a user