Added platform unknown test

This commit is contained in:
Christophe Riccio 2018-08-22 21:21:00 +02:00
parent f58ccc7cee
commit b1c2cc64fd
3 changed files with 12 additions and 1 deletions

View File

@ -289,7 +289,7 @@ GLM: GLM_FORCE_LEFT_HANDED is undefined. Using right handed coordinate system.
The following subsections describe each configurations and defines. The following subsections describe each configurations and defines.
### <a name="section2_2"></a> 2.2. GLM_\FORCE\_PLATFORM\_UNKNOWN: Force GLM to no detect the build platform ### <a name="section2_2"></a> 2.2. GLM\_FORCE\_PLATFORM\_UNKNOWN: Force GLM to no detect the build platform
TODO TODO

View File

@ -41,4 +41,5 @@ glmCreateTestGTC(core_func_swizzle)
glmCreateTestGTC(core_setup_force_cxx98) glmCreateTestGTC(core_setup_force_cxx98)
glmCreateTestGTC(core_setup_force_size_t_length) glmCreateTestGTC(core_setup_force_size_t_length)
glmCreateTestGTC(core_setup_message) glmCreateTestGTC(core_setup_message)
glmCreateTestGTC(core_setup_platform_unknown)
glmCreateTestGTC(core_setup_precision) glmCreateTestGTC(core_setup_precision)

View File

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