mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
[ci skip] update readme
This commit is contained in:
parent
e1c8d4b061
commit
50935ae66b
14
README.md
14
README.md
|
@ -72,13 +72,19 @@ You can grab a single header out of the library [here](https://github.com/ThePhD
|
||||||
|
|
||||||
## Supported Compilers
|
## Supported Compilers
|
||||||
|
|
||||||
Sol makes use of C++11/14 features. GCC 4.9 and Clang 3.4 (with std=c++1z and appropriate standard library) or higher should be able to compile without problems. However, the
|
Sol makes use of C++11 **and** C++14 features. GCC 5.x.x and Clang 3.6.x (with std=c++1z and appropriate standard library)
|
||||||
officially supported and CI-tested compilers are:
|
or higher should be able to compile without problems. However, the officially supported and CI-tested compilers are:
|
||||||
|
|
||||||
- GCC 4.9.0+
|
- GCC 5.x.x+
|
||||||
- Clang 3.5+
|
- Clang 3.6.x+
|
||||||
- Visual Studio 2015 Community (Visual C++ 14.0)+
|
- Visual Studio 2015 Community (Visual C++ 14.0)+
|
||||||
|
|
||||||
|
Please make sure you use the `-std=c++1y`, `-std=c++14`, `-std=c++1z`, `-std=c++17` or better standard flags
|
||||||
|
(some of these flags are the defaults in later versions of GCC 6+ and better).
|
||||||
|
|
||||||
|
Older compilers (GCC 4.9.x, Clang 3.4.x seem to be the lowest) can work with versions as late
|
||||||
|
as [v2.17.5](https://github.com/ThePhD/sol2/releases/tag/v2.17.5), with the flag `-std=c++14` or `-std=c++1y`.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Sol is distributed with an MIT License. You can see LICENSE.txt for more info.
|
Sol is distributed with an MIT License. You can see LICENSE.txt for more info.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user