Added force tests

master
Christophe Riccio ago%!(EXTRA string=7 years)
parent b0d585dc18
commit 57b03c92ae
  1. 4
      test/core/CMakeLists.txt
  2. 12
      test/core/core_force_aligned_gentypes.cpp
  3. 12
      test/core/core_force_ctor_init.cpp
  4. 12
      test/core/core_force_explicit_ctor.cpp
  5. 12
      test/core/core_force_inline.cpp
  6. 2
      test/core/core_force_unrestricted_gentype.cpp

@ -1,3 +1,7 @@
glmCreateTestGTC(core_force_aligned_gentypes)
glmCreateTestGTC(core_force_ctor_init)
glmCreateTestGTC(core_force_explicit_ctor)
glmCreateTestGTC(core_force_inline)
glmCreateTestGTC(core_force_pure)
glmCreateTestGTC(core_force_unrestricted_gentype)
glmCreateTestGTC(core_type_aligned)

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

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

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

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

@ -1,7 +1,7 @@
#define GLM_FORCE_UNRESTRICTED_GENTYPE
#define GLM_FORCE_SWIZZLE
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{

Loading…
Cancel
Save