Skip to content

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

Open
mboros1 wants to merge 2 commits intomikechambers84:masterfrom
mboros1:linux_cmake_feature
Open

update SDL2 includes to work with Linux, build with CMake#6
mboros1 wants to merge 2 commits intomikechambers84:masterfrom
mboros1:linux_cmake_feature

Conversation

@mboros1
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown

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