https://github.com/glitchtech-developments/sdl2-cmake-starter
A simple startingpoint for CMake, C++ and SDL2 combined together in a (fairly) neat way.
https://github.com/glitchtech-developments/sdl2-cmake-starter
Last synced: about 1 year ago
JSON representation
A simple startingpoint for CMake, C++ and SDL2 combined together in a (fairly) neat way.
- Host: GitHub
- URL: https://github.com/glitchtech-developments/sdl2-cmake-starter
- Owner: GlitchTech-Developments
- License: mit
- Created: 2023-12-03T00:50:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T22:07:10.000Z (over 2 years ago)
- Last Synced: 2025-01-31T06:47:40.061Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 14.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Welcome to SDL2 CMake Starter 👋
> 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](https://www.jetbrains.com/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](https://github.com/libsdl-org/SDL/releases/latest) 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**
* Website: https://glitchtech.eu
* Twitter: [@GlitchTechEU](https://twitter.com/GlitchTechEU)
* GitHub: [@GlitchTech-Developments](https://github.com/GlitchTech-Developments)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/GlitchTech-Developments/SDL2-CMake-Starter/issues).
## Show your support
Give a ⭐️ if this project helped you!