https://github.com/gvaliente/botijo
Small multi-platform C++11 library for building 2D games and other graphical applications with sprites
https://github.com/gvaliente/botijo
Last synced: 3 months ago
JSON representation
Small multi-platform C++11 library for building 2D games and other graphical applications with sprites
- Host: GitHub
- URL: https://github.com/gvaliente/botijo
- Owner: GValiente
- License: other
- Created: 2018-08-23T10:45:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T11:03:34.000Z (almost 7 years ago)
- Last Synced: 2025-03-08T00:08:31.115Z (3 months ago)
- Language: C++
- Homepage:
- Size: 9.98 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# botijo
botijo is a small multi-platform C++11 library for building 2D games and other graphical applications with sprites.
It works on Linux, Windows and MacOS.
## Requirements
Since SDL2 and GLEW come bundled with this library, there's no external dependencies required, so the only software requirements are a C++11-compatible compiler and CMake >= 3.4.
botijo has been tested with these compilers:
* GCC 4.9.
* MSVC 2017.
* Whatever Clang comes with Apple LLVM 9.1.0.## How to build
A CMakeLists.txt is provided with this library, so in order to use it you only need to include this file in your CMake project.
To build and run the unit tests, you need to generate them first:
```
mkdir build
cd build
cmake -DBTJ_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
make
./tests/botijo-tests
```