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

update SDL2 includes to work with Linux, build with CMake #6

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

Conversation

mboros1
Copy link

@mboros1 mboros1 commented Feb 19, 2021

Hello, saw this project on reddit and it looks really cool. I saw you didn't have support for a Linux build system so I figured I could help by adding CMake build support, also allows someone to work on the project with CLion if they wanted to

Mike Chambers and others added 2 commits December 13, 2020 23:14
…ild program with CMake, modifies README.md to reflect changes to build in Linux
@mikechambers84
Copy link
Owner

mikechambers84 commented Feb 21, 2021

Excellent! Thank you. CMake is something I never really got around to learning. I'm primarily a Windows guy, though I have a few servers and VMs running Linux. Let me give this a try on one of them.

@user890104
Copy link

Hi @mboros1, why did you change SDL to SDL2 on Linux? I am going to integrate this project in an SDL1-only environment. It would be great if SDL1/SDL2 can be a compile-time option, rather than hardcoding SDL1 for Windows and SDL2 for everything else.
Apart from that, the CMake file looks and works great (Ubuntu 20.04), so please merge when possible.

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.

3 participants