-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added dynamic linking directly to the engine
- Loading branch information
1 parent
489a872
commit 2f4fdea
Showing
5 changed files
with
57 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[package] | ||
name = "blue_engine_dynamic" | ||
version = "0.6.0" | ||
authors = ["Elham Aryanpur <elhamaryanpur5@gmail.com>"] | ||
edition = "2021" | ||
description = "General-Purpose, Easy-to-use, Fast, and Portable graphics engine" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
name = "blue_engine_dynamic" | ||
crate-type = ["dylib"] | ||
|
||
[features] | ||
default = ["debug", "u16"] | ||
debug = ["blue_engine_core/debug"] | ||
android = ["blue_engine_core/android"] | ||
android_native_activity = ["blue_engine_core/android_native_activity"] | ||
android_game_activity = ["blue_engine_core/android_game_activity"] | ||
# using u16 for indices and others | ||
u16 = ["blue_engine_core/u16"] | ||
# using u32 for indices and others | ||
u32 = ["blue_engine_core/u32"] | ||
|
||
[dependencies] | ||
blue_engine_core = { path = "../blue_engine_core" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub use blue_engine_core::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#[cfg(not(feature = "dynamic_linking"))] | ||
#[cfg(not(feature = "dynamic_link"))] | ||
pub use blue_engine_core::*; | ||
|
||
#[cfg(all(feature = "dynamic_link", not(target_family = "wasm")))] | ||
pub use blue_engine_dynamic::*; |