cli/gui: expose renderer as feature
This commit is contained in:
parent
1efe321c05
commit
138e77bb4c
|
@ -7,6 +7,12 @@ description = "TWINC Game Boy (CGB/DMG) emulator CLI"
|
|||
[package.metadata.bundle]
|
||||
identifier = "com.alexjanka.TWINC.cli"
|
||||
|
||||
[features]
|
||||
default = ["wgpu"]
|
||||
wgpu = ["frontend-common/wgpu"]
|
||||
pixels = ["frontend-common/pixels"]
|
||||
vulkan = ["frontend-common/vulkan"]
|
||||
|
||||
[dependencies]
|
||||
frontend-common = { workspace = true }
|
||||
gb-emu-lib = { workspace = true }
|
||||
|
|
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||
description = "Frontend common library for TWINC Game Boy (CGB/DMG) emulator"
|
||||
|
||||
[features]
|
||||
default = ["wgpu"]
|
||||
default = []
|
||||
pixels = ["gb-emu-lib/pixels-renderer"]
|
||||
vulkan = ["gb-emu-lib/vulkan-renderer", "gb-emu-lib/vulkan-debug"]
|
||||
vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"]
|
||||
|
|
|
@ -9,10 +9,13 @@ identifier = "com.alexjanka.TWINC.gui"
|
|||
osx_file_extensions = [[["Game Boy ROM", "Viewer"], ["gb", "gbc"]]]
|
||||
|
||||
[features]
|
||||
default = ["macos-ui", "crossplatform-ui"]
|
||||
default = ["wgpu", "macos-ui", "crossplatform-ui"]
|
||||
macos-ui = ["cacao", "objc", "uuid"]
|
||||
crossplatform-ui = ["gtk", "adw", "glib-build-tools"]
|
||||
force-crossplatform-ui = ["crossplatform-ui"]
|
||||
wgpu = ["frontend-common/wgpu"]
|
||||
pixels = ["frontend-common/pixels"]
|
||||
vulkan = ["frontend-common/vulkan"]
|
||||
|
||||
[dependencies]
|
||||
adw = { version = "0.7.0", package = "libadwaita", features = [
|
||||
|
|
Loading…
Reference in a new issue