mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Update README
This commit is contained in:
parent
e2b68b19cd
commit
1aa7dae69d
42
README.md
42
README.md
@ -1,14 +1,14 @@
|
|||||||
# libSDL2pp #
|
<a href="https://repology.org/metapackage/libsdl2pp/versions">
|
||||||
|
<img src="https://repology.org/badge/vertical-allrepos/libsdl2pp.svg" alt="libsdl2pp packaging status" align="right">
|
||||||
|
</a>
|
||||||
|
|
||||||
[](https://travis-ci.org/libSDL2pp/libSDL2pp)
|
[](https://github.com/libSDL2pp/libSDL2pp/actions/workflows/ci.yml)
|
||||||
[](https://ci.appveyor.com/project/AMDmi3/libsdl2pp)
|
|
||||||
[](https://scan.coverity.com/projects/3980)
|
# libSDL2pp
|
||||||
[](https://coveralls.io/github/libSDL2pp/libSDL2pp?branch=master)
|
|
||||||
[](https://repology.org/metapackage/libsdl2pp)
|
|
||||||
|
|
||||||
This library provides C++11 bindings/wrapper for SDL2 and satellite libraries.
|
This library provides C++11 bindings/wrapper for SDL2 and satellite libraries.
|
||||||
|
|
||||||
## Synopsis ##
|
## Synopsis
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
try {
|
try {
|
||||||
@ -83,7 +83,7 @@ try {
|
|||||||
|
|
||||||
There's also more elaborate [tutorial](https://github.com/libSDL2pp/libSDL2pp-tutorial).
|
There's also more elaborate [tutorial](https://github.com/libSDL2pp/libSDL2pp-tutorial).
|
||||||
|
|
||||||
## Features ##
|
## Features
|
||||||
|
|
||||||
Currently, the library provides wrapper classes for
|
Currently, the library provides wrapper classes for
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ Set of functional extensions above SDL2 is also available:
|
|||||||
(for which SDL2 usually uses NULL pointers)
|
(for which SDL2 usually uses NULL pointers)
|
||||||
* Number of additional methods and operator support for Point and Rect
|
* Number of additional methods and operator support for Point and Rect
|
||||||
|
|
||||||
## Building ##
|
## Building
|
||||||
|
|
||||||
To build libSDL2pp, you need a compiler with C++11 support, for
|
To build libSDL2pp, you need a compiler with C++11 support, for
|
||||||
example clang 3.4+ or gcc 4.8+.
|
example clang 3.4+ or gcc 4.8+.
|
||||||
@ -163,7 +163,7 @@ Following variables may be supplied to CMake to affect build:
|
|||||||
* ```SDL2PP_STATIC``` - build static library instead of shared (only for standalone build, default OFF)
|
* ```SDL2PP_STATIC``` - build static library instead of shared (only for standalone build, default OFF)
|
||||||
* ```SDL2PP_ENABLE_LIVE_TESTS``` - enable tests which require X11 and/or audio device to run (only for standalone build, default ON)
|
* ```SDL2PP_ENABLE_LIVE_TESTS``` - enable tests which require X11 and/or audio device to run (only for standalone build, default ON)
|
||||||
|
|
||||||
## Installation ##
|
## Installation
|
||||||
|
|
||||||
To install the library system-wide, run:
|
To install the library system-wide, run:
|
||||||
|
|
||||||
@ -187,16 +187,6 @@ INCLUDE_DIRECTORIES(${SDL2PP_INCLUDE_DIRS})
|
|||||||
TARGET_LINK_LIBRARIES(... ${SDL2PP_LIBRARIES})
|
TARGET_LINK_LIBRARIES(... ${SDL2PP_LIBRARIES})
|
||||||
```
|
```
|
||||||
|
|
||||||
SDL2pp is also already available from the following package
|
|
||||||
repositories:
|
|
||||||
|
|
||||||
<a href="https://repology.org/metapackage/libsdl2pp"><img src="https://repology.org/badge/vertical-allrepos/libsdl2pp.svg" alt="Packaging status" align="right"></a>
|
|
||||||
|
|
||||||
* [Arch Linux AUR](https://aur.archlinux.org/packages/sdl2pp-git/)
|
|
||||||
* [DragonflyBSD DPorts](https://github.com/DragonFlyBSD/DPorts/tree/master/devel/sdl2pp)
|
|
||||||
* [FreeBSD ports](http://www.freshports.org/devel/sdl2pp/)
|
|
||||||
* [Yet Another Cygwin Ports](https://github.com/fd00/yacp/tree/master/libSDL2pp)
|
|
||||||
|
|
||||||
## Bundling ##
|
## Bundling ##
|
||||||
|
|
||||||
The library is easy to integrate into other CMake projects
|
The library is easy to integrate into other CMake projects
|
||||||
@ -229,7 +219,7 @@ If bundled, libSDL2pp does not build examples and becomes a static
|
|||||||
library, providing required SDL2 includes/libs in the mentioned
|
library, providing required SDL2 includes/libs in the mentioned
|
||||||
variables.
|
variables.
|
||||||
|
|
||||||
## Completeness ##
|
## Completeness
|
||||||
|
|
||||||
The library still doesn't cover all aspects of SDL2, and the development
|
The library still doesn't cover all aspects of SDL2, and the development
|
||||||
is generally guided by the author's needs and interest without a goal
|
is generally guided by the author's needs and interest without a goal
|
||||||
@ -245,7 +235,7 @@ SDL2pp::Delay() as it won't bring any convenience over SDL_Delay().
|
|||||||
The same strongly applies to the SDL2 bits which duplicate C++11
|
The same strongly applies to the SDL2 bits which duplicate C++11
|
||||||
standard library, e.g. threads and atomic ops.
|
standard library, e.g. threads and atomic ops.
|
||||||
|
|
||||||
## Users ##
|
## Users
|
||||||
|
|
||||||
Projects using libSDL2pp:
|
Projects using libSDL2pp:
|
||||||
|
|
||||||
@ -257,16 +247,16 @@ Projects using libSDL2pp:
|
|||||||
* [osmview](https://bitbucket.org/ipopov/osmview) - Desktop OpenStreetMap viewer
|
* [osmview](https://bitbucket.org/ipopov/osmview) - Desktop OpenStreetMap viewer
|
||||||
* [planetonomy](https://github.com/AMDmi3/planetonomy) - Old-school platformer/exploration game with CGA graphics
|
* [planetonomy](https://github.com/AMDmi3/planetonomy) - Old-school platformer/exploration game with CGA graphics
|
||||||
|
|
||||||
## WWW ##
|
## WWW
|
||||||
|
|
||||||
* [GitHub page](https://github.com/libSDL2pp/libSDL2pp)
|
* [GitHub page](https://github.com/libSDL2pp/libSDL2pp)
|
||||||
* [Online documentation](https://sdl2pp.amdmi3.ru/)
|
* [Online documentation](https://sdl2pp.amdmi3.ru/)
|
||||||
|
|
||||||
## Author ##
|
## Author
|
||||||
|
|
||||||
* [Dmitry Marakasov](https://github.com/AMDmi3) <amdmi3@amdmi3.ru>
|
* [Dmitry Marakasov](https://github.com/AMDmi3) <amdmi3@amdmi3.ru>
|
||||||
|
|
||||||
## Contributors ##
|
## Contributors
|
||||||
|
|
||||||
* [Aargonian](https://github.com/Aargonian)
|
* [Aargonian](https://github.com/Aargonian)
|
||||||
* [Carl Schwope](https://github.com/Lowest0ne)
|
* [Carl Schwope](https://github.com/Lowest0ne)
|
||||||
@ -277,6 +267,6 @@ Projects using libSDL2pp:
|
|||||||
* [Vladimir Gamalian](https://github.com/vladimirgamalian)
|
* [Vladimir Gamalian](https://github.com/vladimirgamalian)
|
||||||
* [Vraiment](https://github.com/Vraiment)
|
* [Vraiment](https://github.com/Vraiment)
|
||||||
|
|
||||||
## License ##
|
## License
|
||||||
|
|
||||||
libSDL2pp comes under zlib license, the same license as SDL2. See COPYING.txt.
|
libSDL2pp comes under zlib license, the same license as SDL2. See COPYING.txt.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user