2022-11-25 23:02:56 +00:00
|
|
|
[package]
|
2023-02-06 18:08:49 +00:00
|
|
|
name = "bevy_mobile_example"
|
2022-11-25 23:02:56 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-02-06 18:08:49 +00:00
|
|
|
description = "Example for building an iOS or Android app with Bevy"
|
2022-11-25 23:02:56 +00:00
|
|
|
publish = false
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
[lib]
|
2023-02-06 18:08:49 +00:00
|
|
|
name = "bevy_mobile_example"
|
|
|
|
crate-type = ["staticlib", "cdylib"]
|
2022-11-25 23:02:56 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
bevy = { path = "../../" }
|
|
|
|
|
|
|
|
[package.metadata.android]
|
|
|
|
package = "org.bevyengine.example"
|
|
|
|
apk_name = "bevyexample"
|
|
|
|
assets = "../../assets"
|
|
|
|
resources = "../../assets/android-res"
|
2023-07-05 23:21:33 +00:00
|
|
|
# This strips debug symbols from the shared libraries, drastically reducing APK size. If you need them, remove the option.
|
|
|
|
strip = "strip"
|
2022-11-25 23:02:56 +00:00
|
|
|
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
|
|
|
|
|
|
|
[package.metadata.android.sdk]
|
|
|
|
target_sdk_version = 31
|
|
|
|
|
|
|
|
[package.metadata.android.application]
|
|
|
|
icon = "@mipmap/ic_launcher"
|
|
|
|
label = "Bevy Example"
|
|
|
|
|