Skip to content

Fix include nightmare#17

Merged
KyleKrein merged 10 commits intodevfrom
include-fix
Apr 13, 2025
Merged

Fix include nightmare#17
KyleKrein merged 10 commits intodevfrom
include-fix

Conversation

@KyleKrein
Copy link
Owner

It's impossible to use BeeEngine as an external library for another C++ Projects and I'm unable to decouple builds of Editor, Localization tool, tests and the Game Engine itself. This pull request should fix the first part: It should be possible to build beeengine nix package as a library with static library and include files, so it could be used in another projects with cmake with find_library.
In order to achieve this goal, a cleanup should be performed beforehand

I find their implementation of Expects and Ensures terrible, because
they just std::terminate the app without providing information, how,
why and where the app crashed. I replaced them with BeeExpects and
BeeEnsures long ago. gsl::not_null is good, but i don't want to use
gsl library only for not_null
@KyleKrein KyleKrein self-assigned this Apr 10, 2025
- Made BeeEngine as another nix package and added find_library to
Editor
- Moved imguizmo back to engine (temporary...hopefully)
- Added option to disable building of BeeEngine library
- moved all compile definitions from Engine to another file
- Some includes from BeeEngine in Editor use now <>
- Changed generation of include files from install time to
configuration time (may be changed later)
- Enabled profiling for both Release and Debug
@KyleKrein KyleKrein marked this pull request as ready for review April 13, 2025 14:15
@KyleKrein KyleKrein merged commit 7f56bcb into dev Apr 13, 2025
1 check passed
@KyleKrein KyleKrein deleted the include-fix branch April 13, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant