Visual Studio 2015
This commit is contained in:
parent
5c09c5f089
commit
1c1cb08dd0
2
makefile
2
makefile
|
@ -27,7 +27,7 @@ BUILD_X86_ASM = 1
|
|||
# Build for x64 targets (MinGW64 and MSVC only, this will undefine BUILD_A68K and BUILD_X86_ASM)
|
||||
#BUILD_X64_EXE = 1
|
||||
|
||||
# Build for Windows XP target (for use with Visual Studio 2012-13)
|
||||
# Build for Windows XP target (for use with Visual Studio 2012-15)
|
||||
#BUILD_VS_XP_TARGET = 1
|
||||
|
||||
# Include 7-zip support
|
||||
|
|
|
@ -42,6 +42,12 @@ int main(int /*argc*/, char** /*argv*/)
|
|||
#else
|
||||
printf("#define BUILD_COMP Visual C++ 2013\n");
|
||||
#endif
|
||||
#elif _MSC_VER >= 1900 && _MSC_VER < 2000
|
||||
#if defined BUILD_VS_XP_TARGET
|
||||
printf("#define BUILD_COMP Visual C++ 2015 (XP)\n");
|
||||
#else
|
||||
printf("#define BUILD_COMP Visual C++ 2015\n");
|
||||
#endif
|
||||
#else
|
||||
printf("#define BUILD_COMP Visual C++ %i.%i\n", _MSC_VER / 100 - 6, _MSC_VER % 100 / 10);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue