https://github.com/libsdl2pp/libsdl2pp-template
Template for libSDL2pp-based project
https://github.com/libsdl2pp/libsdl2pp-template
Last synced: 11 months ago
JSON representation
Template for libSDL2pp-based project
- Host: GitHub
- URL: https://github.com/libsdl2pp/libsdl2pp-template
- Owner: libSDL2pp
- License: gpl-3.0
- Created: 2015-06-09T23:52:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-25T22:14:27.000Z (over 10 years ago)
- Last Synced: 2025-06-25T09:12:04.120Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# libSDL2pp project template
This is a template for libSDL2pp-using projects. It contains:
* libSDL2pp submodule
* GPLv3 license
* Readme file
* Simple libSDL2pp program
* CMakeLists.txt to build the project
* Travis CI config file
To use it, just clone this repository, squash all commits into
single one it if you want and replace a number of ```fixme```
placeholders with names approproate for your prokect:
* CMakeLists.txt:
* Project name
* Variable names for headers and sources
* Main target name
* main.cc:
* Project name in license header (4 times)
* Main window title
* README.md:
* Header
* GitHub user and project names in travis icon
* Project description
* URL for your GitHub profile
To make sure you've changed everything:
```
grep -Ri fixme *
```
*Finally, remove everything up to the following line and have fun developing your libSDL2pp-using project!*
---
# FIXME_NAME
[](https://travis-ci.org/FIXME_USER/FIXME_PROJECT)
FIXME_DESCRIPTION
## Building
Dependencies:
* [CMake](http://www.cmake.org/)
* [SDL2](http://libsdl.org/)
* [SDL2_image](https://www.libsdl.org/projects/SDL_image/)
The project also uses libSDL2pp, C++11 bindings library for SDL2.
It's included into git repository as a submodule, so if you've
obtained source through git, don't forget to run ```git submodule
init && git submodule update```.
To build the project, run:
```
cmake . && make
```
## Author
* [FIXME_NAME](https://github.com/FIXME_USER)
## License
GPLv3 or later, see COPYING
The project also bundles third party software under its own licenses:
* extlibs/libSDL2pp (C++11 SDL2 wrapper library) - zlib license