Fixed core_setup_message test with Visual C++

This commit is contained in:
Christophe Riccio 2014-10-12 20:57:41 +02:00
parent 85037a164f
commit 19e239d466
2 changed files with 10 additions and 0 deletions

View File

@ -178,6 +178,7 @@
#define GLM_COMPILER_CLANG42 0x200000B0
#define GLM_COMPILER_CLANG43 0x200000C0
#define GLM_COMPILER_CLANG50 0x200000D0
#define GLM_COMPILER_CLANG60 0x200000E0
// LLVM GCC
#define GLM_COMPILER_LLVM_GCC 0x40000000

View File

@ -34,6 +34,9 @@ int test_compiler()
case GLM_COMPILER_VC12:
std::cout << "GLM_COMPILER_VC12" << std::endl;
break;
case GLM_COMPILER_VC13:
std::cout << "GLM_COMPILER_VC13" << std::endl;
break;
default:
std::cout << "Visual C++ version not detected" << std::endl;
Error += 1;
@ -80,6 +83,9 @@ int test_compiler()
case GLM_COMPILER_GCC49:
std::cout << "GLM_COMPILER_GCC49" << std::endl;
break;
case GLM_COMPILER_GCC50:
std::cout << "GLM_COMPILER_GCC50" << std::endl;
break;
default:
std::cout << "GCC version not detected" << std::endl;
Error += 1;
@ -133,6 +139,9 @@ int test_compiler()
case GLM_COMPILER_CLANG50:
std::cout << "GLM_COMPILER_CLANG50" << std::endl;
break;
case GLM_COMPILER_CLANG60:
std::cout << "GLM_COMPILER_CLANG60" << std::endl;
break;
default:
std::cout << "Clang version not detected" << std::endl;
break;