Skip to content

A simple startingpoint for CMake, C++ and SDL2 combined together in a (fairly) neat way.

License

Notifications You must be signed in to change notification settings

GlitchTech-Developments/SDL2-CMake-Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to SDL2 CMake Starter 👋

License: MIT Twitter: GlitchTechEU

A simple startingpoint for CMake, C++ and SDL2 combined in a (fairly) neat way.

How to start building?

Well, first of all, you need some form of a development environment. I personally use CLion, but you can use whatever you want. So, since I use CLion, I will explain how to set it up in CLion.

Setting up SDL2

First of all, you need to download the SDL2 development libraries. You can do this by going to it's GitHub repo here and grab the devel minGW zip file, than dump the contents like the example version in the ./libs/SDL2 directory inside your project.

Troubleshooting

If you run into any issues in regard to CMakes inability to find the SDL2 libraries, you probably need to add the SLD2 directory to your PATH variable inside your OS (Operating System).

Author

👤 GlitchTech Developments

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

About

A simple startingpoint for CMake, C++ and SDL2 combined together in a (fairly) neat way.

Resources

License

Stars

Watchers

Forks