2022-11-25 23:02:56 +00:00
|
|
|
[package]
|
2023-02-06 18:08:49 +00:00
|
|
|
name = "bevy_mobile_example"
|
2024-04-26 11:55:03 +00:00
|
|
|
# Version is required by `cargo-apk`, though this value will never change.
|
|
|
|
version = "0.0.0"
|
2022-11-25 23:02:56 +00:00
|
|
|
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 = "../../" }
|
|
|
|
|
2024-03-06 17:48:17 +00:00
|
|
|
[target.aarch64-apple-ios-sim.dependencies]
|
|
|
|
bevy = { path = "../../", features = ["ios_simulator"] }
|
|
|
|
|
2022-11-25 23:02:56 +00:00
|
|
|
[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"
|
|
|
|
|
2023-11-18 20:58:48 +00:00
|
|
|
[lints]
|
|
|
|
workspace = true
|