mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-15 19:54:20 +00:00
12 lines
767 B
PowerShell
Executable File
12 lines
767 B
PowerShell
Executable File
#!/usr/bin/env pwsh
|
|
|
|
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"
|