Enable gpu when debugging (#8)

* add: enable GPU for debugging and update installation instructions

* update: modify Makefile to use variable for binary path in install target

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
This commit is contained in:
elm
2025-08-30 18:12:00 +09:00
committed by GitHub
parent 38b2f09365
commit 0bb9b58fae
5 changed files with 25 additions and 14 deletions

View File

@@ -1,6 +1,19 @@
.PHONY: fix install
BIN := bevy_cef_debug_render_process
CEF_LIB := $(HOME)/.local/share/cef/Chromium Embedded Framework.framework/Libraries
.PHONY: fix install
BIN := bevy_cef_debug_render_process
CEF_LIB := $(HOME)/.local/share/cef/Chromium Embedded Framework.framework/Libraries
CARGO_BIN := $(HOME)/.cargo/bin
fix:
cargo clippy --fix --allow-dirty --allow-staged --workspace --all --all-features
cargo fmt --all
install:
cargo install --path ./crates/bevy_cef_debug_render_process --force
cargo install --path ./crates/bevy_cef_debug_render_process --force
mv "$(CARGO_BIN)/$(BIN)" "$(CEF_LIB)/$(BIN)"