chore: add build script for windows

fix/data-structure
paring 2022-11-05 00:53:54 +09:00
parent a8c89fca1b
commit 0db628f495
Signed by: pikokr
GPG Key ID: 2C097B03E9D823C4
1 changed files with 8 additions and 0 deletions

8
build.ps1 Normal file
View File

@ -0,0 +1,8 @@
mkdir out/x86_64 -ErrorAction SilentlyContinue
mkdir out/i686 -ErrorAction SilentlyContinue
cargo build --release --target=x86_64-pc-windows-msvc
cargo build --release --target=i686-pc-windows-msvc
Copy-Item target/x86_64-pc-windows-msvc/release/skyhook.dll out/x86_64
Copy-Item target/i686-pc-windows-msvc/release/skyhook.dll out/i686