From 3cf4e934dcfcb7bb8a26b1c0d7875df4c6c7a37d Mon Sep 17 00:00:00 2001 From: Lauchmelder Date: Mon, 18 May 2020 23:28:27 +0200 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 424a931..7d0f239 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ # SDL Utility A wrapper for SDL2 to make development on quick, simple graphics applications easier. +![C/C++ CI](https://github.com/Lauchmelder23/SDLU/workflows/C/C++%20CI/badge.svg?branch=development) + **This branch is not the final version yet. This version is missing a lot of the features planned for this library** -![C/C++ CI](https://github.com/Lauchmelder23/SDLU/workflows/C/C++%20CI/badge.svg?branch=development) +## Motivation +While SDL2 is a great library to handle graphics and audio, it can be laborious to get a quick program up and running. SDLU tries to solve that by implementing objects that sit on top of native SDL2 functions and act as a sort of API between your program and SDL2. However it still allows the user to access SDL2 objects like `SDL_Window` and use them in native SDL2 functions. SDLU also contains primitive shapes that can be quickly set up and rendered onto the screen. + +This library aims to minimize the work needed to setup a simple project. ## How to compile 1. Clone the development branch `git clone -b development https://github.com/Lauchmelder23/SDLU` @@ -13,3 +18,6 @@ A wrapper for SDL2 to make development on quick, simple graphics applications ea 5. Configure CMake and enable `ENABLE_EXAMPLE` 6. Click Generate 7. Exit ccmake and type `make` + +## Documentation +The source code is annotated with doxygen comments. Simply run doxygen on the SDLU directory to generate the documentation for this library. An example project can also be built (Set the `ENABLE_EXAMPLE` flag in CMake), which implements a simple program using the SDLU library.