Added force defines tests

master
Christophe Riccio ago%!(EXTRA string=6 years)
parent 85e491b30c
commit 3ee3659adb
  1. 7
      test/core/CMakeLists.txt
  2. 12
      test/core/core_force_arch_unknown.cpp
  3. 12
      test/core/core_force_compiler_unknown.cpp
  4. 12
      test/core/core_force_cxx03.cpp
  5. 12
      test/core/core_force_cxx11.cpp
  6. 12
      test/core/core_force_cxx98.cpp
  7. 12
      test/core/core_force_cxx_unknown.cpp
  8. 12
      test/core/core_force_depth_zero_to_one.cpp
  9. 12
      test/core/core_force_left_handed.cpp
  10. 12
      test/core/core_force_platform_unknown.cpp
  11. 12
      test/core/core_force_size_t_length.cpp

@ -2,8 +2,15 @@ glmCreateTestGTC(core_cpp_constexpr)
glmCreateTestGTC(core_cpp_defaulted_ctor)
glmCreateTestGTC(core_force_aligned_gentypes)
glmCreateTestGTC(core_force_ctor_init)
glmCreateTestGTC(core_force_cxx03)
glmCreateTestGTC(core_force_cxx11)
glmCreateTestGTC(core_force_cxx98)
glmCreateTestGTC(core_force_arch_unknown)
glmCreateTestGTC(core_force_compiler_unknown)
glmCreateTestGTC(core_force_cxx_unknown)
glmCreateTestGTC(core_force_explicit_ctor)
glmCreateTestGTC(core_force_inline)
glmCreateTestGTC(core_force_platform_unknown)
glmCreateTestGTC(core_force_pure)
glmCreateTestGTC(core_force_unrestricted_gentype)
glmCreateTestGTC(core_force_xyzw_only)

@ -0,0 +1,12 @@
#define GLM_FORCE_ARCH_UNKNOWN
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_COMPILER_UNKNOWN
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_CXX03
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_CXX11
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_CXX98
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_CXX_UNKNOWN
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_LEFT_HANDED
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_PLATFORM_UNKNOWN
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}

@ -0,0 +1,12 @@
#define GLM_FORCE_SIZE_T_LENGTH
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}
Loading…
Cancel
Save