Compare commits
2 Commits
c9d4d04979
...
848d528d51
Author | SHA1 | Date | |
---|---|---|---|
848d528d51 | |||
1f74a1acfb |
@ -6,10 +6,10 @@ reloadable = true
|
||||
[libraries]
|
||||
linux.debug.x86_64 = "res://rust/target/debug/libboids.so"
|
||||
windows.debug.x86_64 = "res://rust/target/debug/boids.dll"
|
||||
linux.release.x86_64 = "res://addons/boids/lib/libboids.x86.so"
|
||||
linux.release.x86_64 = "res://addons/boids/lib/boids.x86.so"
|
||||
windows.release.x86_64 = "res://addons/boids/lib/boids.x86.dll"
|
||||
macos.release = "res://addons/boids/lib/libboids.x86.dylib"
|
||||
macos.release.arm64 = "res://addons/boids/lib/libboids.arm64.dylib"
|
||||
macos.release = "res://addons/boids/lib/boids.x86.dylib"
|
||||
macos.release.arm64 = "res://addons/boids/lib/boids.arm64.dylib"
|
||||
web.debug.wasm32 = "res://rust/target/wasm32-unknown-emscripten/debug/boids.wasm"
|
||||
web.release.wasm32 = "res://addons/boids/lib/boids.wasm"
|
||||
|
||||
|
BIN
addons/boids/lib/boids.wasm
Normal file → Executable file
BIN
addons/boids/lib/boids.wasm
Normal file → Executable file
Binary file not shown.
BIN
addons/boids/lib/boids.x86.dll
Normal file → Executable file
BIN
addons/boids/lib/boids.x86.dll
Normal file → Executable file
Binary file not shown.
BIN
addons/boids/lib/boids.x86.so
Executable file
BIN
addons/boids/lib/boids.x86.so
Executable file
Binary file not shown.
9
rust/build.sh
Executable file
9
rust/build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
cross build --release --target x86_64-unknown-linux-gnu
|
||||
cross build --release --target x86_64-pc-windows-gnu
|
||||
cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten
|
||||
|
||||
mv target/x86_64-unknown-linux-gnu/release/libboids.so ../addons/boids/lib/boids.x86.so
|
||||
mv target/x86_64-pc-windows-gnu/release/boids.dll ../addons/boids/lib/boids.x86.dll
|
||||
mv target/wasm32-unknown-emscripten/release/boids.wasm ../addons/boids/lib/boids.wasm
|
Loading…
Reference in New Issue
Block a user