OSDN Git Service
(root)
/
mutilities
/
MUtilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad7d280
)
Added support for Visual Studio 2019.5 (v16.5) + simplified detection for newer versi...
author
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 29 Mar 2020 19:38:42 +0000
(21:38 +0200)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 29 Mar 2020 19:38:42 +0000
(21:38 +0200)
include/MUtils/Version.h
patch
|
blob
|
history
diff --git
a/include/MUtils/Version.h
b/include/MUtils/Version.h
index
6f22dfc
..
1d4cb79
100644
(file)
--- a/
include/MUtils/Version.h
+++ b/
include/MUtils/Version.h
@@
-67,80
+67,32
@@
namespace MUtils
#error Compiler is not supported!
#endif
#elif defined(_MSC_VER)
#error Compiler is not supported!
#endif
#elif defined(_MSC_VER)
- #if (_MSC_VER == 1924)
- #if((_MSC_FULL_VER >= 192428314) && (_MSC_FULL_VER <= 192428314))
- "MSVC 2019.4";
- #else
- #error Compiler version is not supported yet!
- #endif
+ #if (_MSC_VER == 1925)
+ "MSVC 2019.5";
+ #elif (_MSC_VER == 1924)
+ "MSVC 2019.4";
#elif (_MSC_VER == 1923)
#elif (_MSC_VER == 1923)
- #if((_MSC_FULL_VER >= 192328105) && (_MSC_FULL_VER <= 192328105))
- "MSVC 2019.3";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2019.3";
#elif (_MSC_VER == 1922)
#elif (_MSC_VER == 1922)
- #if((_MSC_FULL_VER >= 192227905) && (_MSC_FULL_VER <= 192227905))
- "MSVC 2019.2";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2019.2";
#elif (_MSC_VER == 1921)
#elif (_MSC_VER == 1921)
- #if((_MSC_FULL_VER >= 192127702) && (_MSC_FULL_VER <= 192127702))
- "MSVC 2019.1";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2019.1";
#elif (_MSC_VER == 1920)
#elif (_MSC_VER == 1920)
- #if((_MSC_FULL_VER >= 192027508) && (_MSC_FULL_VER <= 192027508))
- "MSVC 2019.0";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2019.0";
#elif (_MSC_VER == 1916)
#elif (_MSC_VER == 1916)
- #if((_MSC_FULL_VER >= 191627024) && (_MSC_FULL_VER <= 191627038))
- "MSVC 2017.9";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2017.9";
#elif (_MSC_VER == 1915)
#elif (_MSC_VER == 1915)
- #if((_MSC_FULL_VER >= 191526726) && (_MSC_FULL_VER <= 191526732))
- "MSVC 2017.8";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2017.8";
#elif (_MSC_VER == 1914)
#elif (_MSC_VER == 1914)
- #if((_MSC_FULL_VER >= 191426430) && (_MSC_FULL_VER <= 191426433))
- "MSVC 2017.7";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2017.7";
#elif (_MSC_VER == 1913)
#elif (_MSC_VER == 1913)
- #if((_MSC_FULL_VER >= 191326128) && (_MSC_FULL_VER <= 191326132))
- "MSVC 2017.6";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2017.6";
#elif (_MSC_VER == 1912)
#elif (_MSC_VER == 1912)
- #if((_MSC_FULL_VER >= 191225830) && (_MSC_FULL_VER <= 191225835))
- "MSVC 2017.5";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2017.5";
#elif (_MSC_VER == 1911)
#elif (_MSC_VER == 1911)
- #if((_MSC_FULL_VER >= 191125542) && (_MSC_FULL_VER <= 191125547))
- "MSVC 2017.4";
- #elif((_MSC_FULL_VER >= 191125506) && (_MSC_FULL_VER <= 191125508))
- "MSVC 2017.3";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2017.4";
#elif (_MSC_VER == 1910)
#elif (_MSC_VER == 1910)
- #if ((_MSC_FULL_VER >= 191025017) && (_MSC_FULL_VER <= 191025019))
- "MSVC 2017.2";
- #else
- #error Compiler version is not supported yet!
- #endif
+ "MSVC 2017.2";
#elif (_MSC_VER == 1900)
#if (_MSC_FULL_VER == 190023026)
"MSVC 2015";
#elif (_MSC_VER == 1900)
#if (_MSC_FULL_VER == 190023026)
"MSVC 2015";