Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No gui compilation #144

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

BSVogler
Copy link
Contributor

@BSVogler BSVogler commented Jan 10, 2025

For the headless build the Wxwidget was only needed for parsing of the CLI arguments. I made the parsing now work with C++ standard code and added a flag to disable the GUI.
implements #116

Benefits

  • Allows compilations without wxwidget library dependency
  • Removes need to use ubuntu base image thereby reducing docker image size to from 644MB to 171MB
  • Smaller bin size (now 1.7MB)
  • Faster compile time as less code is compiled and linked.

This makes compilation also easier for compilation for target WASM, which would remove the need for hosting a back-end. The whole compiled C++ code can then run in the browser and static hosting can be used. I will likely follow up with a PR for this soon.

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