Skip to content

Commit aa10674

Browse files
authored
Put some emphasis into the C++17 requirement
See #33 (#33 (comment))
1 parent 98a87fc commit aa10674

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# cpp-sdl2 [![Build Status](https://travis-ci.com/Edhebi/cpp-sdl2.svg?branch=master)](https://travis-ci.com/Edhebi/cpp-sdl2) [![Build status](https://ci.appveyor.com/api/projects/status/6kqf660jg9i2yvmn?svg=true)](https://ci.appveyor.com/project/Edhebi/cpp-sdl2)
22

33

4-
Basic c++ bindings of SDL2 (https://wiki.libsdl.org/FrontPage) implemented as an header-only library
4+
Basic C++17 bindings of SDL2 (https://wiki.libsdl.org/FrontPage) implemented as an header-only library
55

66
## Doxygen doc
77

88
https://edhebi.github.io/cpp-sdl2/doc
99

1010
## Usage
1111

12+
This library has been written in C++17. It should work out of the box with any modern version of GCC, Clang and MSVC, but you may need to [set](https://gcc.gnu.org/projects/cxx-status.html#cxx17) [some](https://clang.llvm.org/cxx_status.html) [flags](https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019) to C++17.
13+
1214
This is an header-only library, the only needed step to use is is to make the content of the "sources" directory visible by your compiler and to `#include "cpp-sdl2/sdl.hpp"` instead of `SDL.h`. Then you just link against the SDL2 and SDL_image libraries as usual.
1315

1416
By default, the code will throw exception in case of an SDL_Error. The Exception will contain the string returned by `SDL_GetError()`
@@ -49,7 +51,7 @@ The following versions of SDL2 are tesded and confirmed working:
4951
- 2.0.9
5052
- 2.0.10
5153

52-
You will need a C++17 complient compiler
54+
**You will need a C++17 complient compiler**
5355

5456
## Example program
5557

0 commit comments

Comments
 (0)