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

Support linux build #10

Merged
merged 5 commits into from
Aug 16, 2024
Merged

Support linux build #10

merged 5 commits into from
Aug 16, 2024

Conversation

paulcadman
Copy link
Owner

This PR parametrises:

  1. The lakefile. The macOS specific framework and isysroot flags are set only when run on macOS platform
  2. The Raylib build. I'm setting the compiler to GCC because that's what Raylib does in its linux build.

I've added a Github Action that builds the project on linux.

Dependencies

To get the build working I installed:

sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev libwayland-dev libxkbcommon-dev

This is probably not minimal, is taken from the raylib linux build workflow.

Testing

I've only tested that the project builds on linux. I only have headless linux so I can't run it.

Copy link
Collaborator

@awalterschulze awalterschulze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@keeganperry7 tested this on ubuntu and it works :D

@paulcadman paulcadman merged commit a903f79 into main Aug 16, 2024
2 checks passed
@paulcadman paulcadman deleted the support-linux branch August 16, 2024 11:44
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.

2 participants