Skip to content

Commit

Permalink
Added platform unknown test
Browse files Browse the repository at this point in the history
  • Loading branch information
Groovounet committed Aug 22, 2018
1 parent f58ccc7 commit b1c2cc6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ GLM: GLM_FORCE_LEFT_HANDED is undefined. Using right handed coordinate system.

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

Expand Down
1 change: 1 addition & 0 deletions test/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ glmCreateTestGTC(core_func_swizzle)
glmCreateTestGTC(core_setup_force_cxx98)
glmCreateTestGTC(core_setup_force_size_t_length)
glmCreateTestGTC(core_setup_message)
glmCreateTestGTC(core_setup_platform_unknown)
glmCreateTestGTC(core_setup_precision)
10 changes: 10 additions & 0 deletions test/core/core_setup_platform_unknown.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#define GLM_FORCE_PLATFORM_UNKNOWN
#include <glm/glm.hpp>
#include <glm/ext.hpp>

int main()
{
int Error = 0;

return Error;
}

0 comments on commit b1c2cc6

Please sign in to comment.