• R/O
  • HTTP
  • SSH
  • HTTPS

MUtilities: Commit

MUtilities development repository


Commit MetaInfo

Revisionb3a4c34e1f412a96b8cefb2f42414d4243d697d6 (tree)
Time2020-03-30 04:38:42
AuthorLoRd_MuldeR <mulder2@gmx....>
CommiterLoRd_MuldeR

Log Message

Added support for Visual Studio 2019.5 (v16.5) + simplified detection for newer versions of Visual Studio.

Change Summary

Incremental Difference

--- a/include/MUtils/Version.h
+++ b/include/MUtils/Version.h
@@ -67,80 +67,32 @@ namespace MUtils
6767 #error Compiler is not supported!
6868 #endif
6969 #elif defined(_MSC_VER)
70- #if (_MSC_VER == 1924)
71- #if((_MSC_FULL_VER >= 192428314) && (_MSC_FULL_VER <= 192428314))
72- "MSVC 2019.4";
73- #else
74- #error Compiler version is not supported yet!
75- #endif
70+ #if (_MSC_VER == 1925)
71+ "MSVC 2019.5";
72+ #elif (_MSC_VER == 1924)
73+ "MSVC 2019.4";
7674 #elif (_MSC_VER == 1923)
77- #if((_MSC_FULL_VER >= 192328105) && (_MSC_FULL_VER <= 192328105))
78- "MSVC 2019.3";
79- #else
80- #error Compiler version is not supported yet!
81- #endif
75+ "MSVC 2019.3";
8276 #elif (_MSC_VER == 1922)
83- #if((_MSC_FULL_VER >= 192227905) && (_MSC_FULL_VER <= 192227905))
84- "MSVC 2019.2";
85- #else
86- #error Compiler version is not supported yet!
87- #endif
77+ "MSVC 2019.2";
8878 #elif (_MSC_VER == 1921)
89- #if((_MSC_FULL_VER >= 192127702) && (_MSC_FULL_VER <= 192127702))
90- "MSVC 2019.1";
91- #else
92- #error Compiler version is not supported yet!
93- #endif
79+ "MSVC 2019.1";
9480 #elif (_MSC_VER == 1920)
95- #if((_MSC_FULL_VER >= 192027508) && (_MSC_FULL_VER <= 192027508))
96- "MSVC 2019.0";
97- #else
98- #error Compiler version is not supported yet!
99- #endif
81+ "MSVC 2019.0";
10082 #elif (_MSC_VER == 1916)
101- #if((_MSC_FULL_VER >= 191627024) && (_MSC_FULL_VER <= 191627038))
102- "MSVC 2017.9";
103- #else
104- #error Compiler version is not supported yet!
105- #endif
83+ "MSVC 2017.9";
10684 #elif (_MSC_VER == 1915)
107- #if((_MSC_FULL_VER >= 191526726) && (_MSC_FULL_VER <= 191526732))
108- "MSVC 2017.8";
109- #else
110- #error Compiler version is not supported yet!
111- #endif
85+ "MSVC 2017.8";
11286 #elif (_MSC_VER == 1914)
113- #if((_MSC_FULL_VER >= 191426430) && (_MSC_FULL_VER <= 191426433))
114- "MSVC 2017.7";
115- #else
116- #error Compiler version is not supported yet!
117- #endif
87+ "MSVC 2017.7";
11888 #elif (_MSC_VER == 1913)
119- #if((_MSC_FULL_VER >= 191326128) && (_MSC_FULL_VER <= 191326132))
120- "MSVC 2017.6";
121- #else
122- #error Compiler version is not supported yet!
123- #endif
89+ "MSVC 2017.6";
12490 #elif (_MSC_VER == 1912)
125- #if((_MSC_FULL_VER >= 191225830) && (_MSC_FULL_VER <= 191225835))
126- "MSVC 2017.5";
127- #else
128- #error Compiler version is not supported yet!
129- #endif
91+ "MSVC 2017.5";
13092 #elif (_MSC_VER == 1911)
131- #if((_MSC_FULL_VER >= 191125542) && (_MSC_FULL_VER <= 191125547))
132- "MSVC 2017.4";
133- #elif((_MSC_FULL_VER >= 191125506) && (_MSC_FULL_VER <= 191125508))
134- "MSVC 2017.3";
135- #else
136- #error Compiler version is not supported yet!
137- #endif
93+ "MSVC 2017.4";
13894 #elif (_MSC_VER == 1910)
139- #if ((_MSC_FULL_VER >= 191025017) && (_MSC_FULL_VER <= 191025019))
140- "MSVC 2017.2";
141- #else
142- #error Compiler version is not supported yet!
143- #endif
95+ "MSVC 2017.2";
14496 #elif (_MSC_VER == 1900)
14597 #if (_MSC_FULL_VER == 190023026)
14698 "MSVC 2015";
Show on old repository browser