implemented a way less clean thingy

This commit is contained in:
Schmarni
2023-11-08 06:33:30 +01:00
parent b207ff64c0
commit f552f889fe
3 changed files with 15 additions and 7 deletions

View File

@@ -24,12 +24,17 @@ strip = "strip"
[package.metadata.android.sdk]
target_sdk_version = 32
[target.'cfg(not(target_os="android"))'.dependencies.bevy_oxr]
path = "../../"
default-features = true
# [package.metadata.android.application]
# icon = "@mipmap/ic_launcher"
# label = "Bevy Example"
[dependencies]
bevy_oxr = { path = "../.." }
bevy_oxr = { path = "../..", default-features = false }
bevy = "0.12"
openxr = { git = "https://github.com/Ralith/openxrs", features = ["mint"] }

View File

@@ -10,6 +10,11 @@ crate-type = ["lib", "cdylib"]
[dependencies]
bevy = "0.12"
bevy_oxr = { path = "../../" }
bevy_oxr = { path = "../../", default-features = false }
bevy_rapier3d = { git = "https://github.com/devil-ira/bevy_rapier", branch = "bevy-0.12" }
color-eyre = "0.6.2"
[target.'cfg(not(target_os="android"))'.dependencies.bevy_oxr]
path = "../../"
default-features = true