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

compile BGFX demos to native executable #34

Closed
wants to merge 4 commits into from

Conversation

chirontt
Copy link
Contributor

This PR is recommended to be merged to its own branch, rather than to the main branch, as the code is designed to compile against the official LWJGL 3.2.3 release, not the current LWJGL snapshot which the main branch tracks.

  • compile against LWJGL 3.2.3 version
  • restrict to the four BGFX demos (code & resources)
  • add Gradle wrapper & build script
  • use GraalVM native-image utility to produce native executable
    containing the four BGFX demos.

Native executable can be produced in Windows and Linux (Ubuntu).
Haven't tried the Mac OS, but it should work.

- compile against LWJGL 3.2.3 version
- restrict to the four BGFX demos (code & resources)
- add Gradle wrapper & build script
- use GraalVM native-image utility to produce native executable
  containing the four BGFX demos
the README.md changes are specific to this branch only.
to make it work in Linux.

Also, remove the ThreadLocalUtil's substitution by GraalVM,
as the resulting native image seems to work fine without it.
@httpdigest httpdigest changed the base branch from main to graal-native April 3, 2021 09:04
@chirontt
Copy link
Contributor Author

chirontt commented Jul 2, 2021

closed as superseded by #37

@chirontt chirontt closed this Jul 2, 2021
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