forked from mpusz/mp-units
docs: MSVC constraints moved to Visual Studio
This commit is contained in:
@ -25,4 +25,5 @@ Until then, please code alike what is there already:
|
||||
|
||||
## Backward Compatibility
|
||||
|
||||
Before submission, please remember to check if the code compiles fine on all the supported compilers (gcc-10 and MSVC so far).
|
||||
Before submission, please remember to check if the code compiles fine on all the supported compilers
|
||||
(gcc-10 and Visual Studio 16 so far).
|
||||
|
@ -70,7 +70,7 @@ class UnitsConan(ConanFile):
|
||||
raise ConanInvalidConfiguration("mp-units requires at least g++-10")
|
||||
elif compiler == "Visual Studio":
|
||||
if version < "16":
|
||||
raise ConanInvalidConfiguration("mp-units requires at least MSVC 16")
|
||||
raise ConanInvalidConfiguration("mp-units requires at least Visual Studio 16")
|
||||
else:
|
||||
raise ConanInvalidConfiguration("mp-units is supported only by gcc and Visual Studio so far")
|
||||
check_min_cppstd(self, "20")
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
- **0.6.0 WIP**
|
||||
- gcc-9 is no longer supported (at least gcc-10 is required)
|
||||
- MSVC 16.7 support added
|
||||
- Visual Studio 16.7 support added
|
||||
- linear_algebra updated to 0.7.0/stable
|
||||
- fmt updated to 7.0.3
|
||||
- range-v3 updated to 0.11.0
|
||||
|
@ -16,7 +16,7 @@ with a permissive `MIT license <https://github.com/mpusz/units/blob/master/LICEN
|
||||
.. note::
|
||||
|
||||
As this library targets C++23 and extensively uses C++20 features as of now it compiles correctly
|
||||
only with gcc-10, MSVC 16.7, and newer.
|
||||
only with gcc-10, Visual Studio 16.7, and newer.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
@ -4,7 +4,7 @@ Usage
|
||||
.. note::
|
||||
|
||||
This library targets C++23 and extensively uses C++20 features that is why, as of now, it compiles correctly
|
||||
only with gcc-10, MSVC 16.7, and newer.
|
||||
only with gcc-10, Visual Studio 16.7, and newer.
|
||||
|
||||
Repository Structure and Dependencies
|
||||
-------------------------------------
|
||||
|
Reference in New Issue
Block a user