mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 08:54:35 +00:00
Added force defines tests
This commit is contained in:
parent
85e491b30c
commit
3ee3659adb
@ -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)
|
||||
|
12
test/core/core_force_arch_unknown.cpp
Normal file
12
test/core/core_force_arch_unknown.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_ARCH_UNKNOWN
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_compiler_unknown.cpp
Normal file
12
test/core/core_force_compiler_unknown.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_COMPILER_UNKNOWN
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_cxx03.cpp
Normal file
12
test/core/core_force_cxx03.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_CXX03
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_cxx11.cpp
Normal file
12
test/core/core_force_cxx11.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_CXX11
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_cxx98.cpp
Normal file
12
test/core/core_force_cxx98.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_CXX98
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_cxx_unknown.cpp
Normal file
12
test/core/core_force_cxx_unknown.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_CXX_UNKNOWN
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_depth_zero_to_one.cpp
Normal file
12
test/core/core_force_depth_zero_to_one.cpp
Normal file
@ -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;
|
||||
}
|
||||
|
12
test/core/core_force_left_handed.cpp
Normal file
12
test/core/core_force_left_handed.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_LEFT_HANDED
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_platform_unknown.cpp
Normal file
12
test/core/core_force_platform_unknown.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define GLM_FORCE_PLATFORM_UNKNOWN
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
12
test/core/core_force_size_t_length.cpp
Normal file
12
test/core/core_force_size_t_length.cpp
Normal file
@ -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…
Reference in New Issue
Block a user