Fixed MSC_VER for latest Visual Studio builds

Added build type to summary to detect if debug or release build
This commit is contained in:
BenDroid 2017-12-24 21:16:28 +01:00
parent 90f3bc9e4e
commit 4bb86be776
3 changed files with 10 additions and 4 deletions

View file

@ -46,8 +46,14 @@
#define APP_VER_BUILD 2
#define APP_VER_REV 0
#ifndef NDEBUG
#define BUILD_TYPE "DEBUG"
#else
#define BUILD_TYPE "RELEASE"
#endif
#ifdef _MSC_VER
# if (_MSC_VER == 1910 || _MSC_VER == 1911)
# if (_MSC_VER >= 1910)
# define MSVC_VERSION 2017
# elif _MSC_VER == 1900
# define MSVC_VERSION 2015