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:
15
Makefile
15
Makefile
@@ -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)"
|
||||
Reference in New Issue
Block a user