mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Provide minimum compiler versions to compile SFML 3
These are estimates. We don't necessarily have access to all prior compiler releases and don't continuously test with these old compilers so it's possible that we accidentally drop support in a future v3 release even without raising the minimum C++ requirement.
This commit is contained in:
parent
4d09b8fd61
commit
832c608a5b
13
migration.md
13
migration.md
@ -7,6 +7,19 @@ This document will walk you through how to upgrade your SFML 2 application to SF
|
||||
One of the headline changes in SFML 3 is raising the C++ standard to C++17 thus bringing SFML into the world of modern C++!
|
||||
This change has enabled a vast number of internal improvements as well as new opportunities for improving the API that will be discussed in this document.
|
||||
|
||||
## Compiler Requirements
|
||||
|
||||
Along with the upgrade from C++03 to C++17 you may need to upgrade your compiler.
|
||||
C++17 support has been widespread in all major compiler implementations for years prior to SFML 3's release so in all likelihood the compiler you're already using will work.
|
||||
In case you do need to upgrade, here are the minimum compiler versions.
|
||||
|
||||
| Compiler | Version |
|
||||
| ---------- | ------------ |
|
||||
| MSVC | 16 (VS 2019) |
|
||||
| GCC | 9 |
|
||||
| Clang | 9 |
|
||||
| AppleClang | 12 |
|
||||
|
||||
## CMake Targets
|
||||
|
||||
SFML 3 uses modern CMake convention for library targets which entails having a namespace in front of the target name.
|
||||
|
Loading…
Reference in New Issue
Block a user