diff --git a/manual.md b/manual.md index 69661bd2..2de6e7a9 100644 --- a/manual.md +++ b/manual.md @@ -289,7 +289,7 @@ GLM: GLM_FORCE_LEFT_HANDED is undefined. Using right handed coordinate system. The following subsections describe each configurations and defines. -### 2.2. GLM_\FORCE\_PLATFORM\_UNKNOWN: Force GLM to no detect the build platform +### 2.2. GLM\_FORCE\_PLATFORM\_UNKNOWN: Force GLM to no detect the build platform TODO diff --git a/test/core/CMakeLists.txt b/test/core/CMakeLists.txt index 0af7fe29..a1f1d0ff 100644 --- a/test/core/CMakeLists.txt +++ b/test/core/CMakeLists.txt @@ -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) diff --git a/test/core/core_setup_platform_unknown.cpp b/test/core/core_setup_platform_unknown.cpp new file mode 100644 index 00000000..f010669d --- /dev/null +++ b/test/core/core_setup_platform_unknown.cpp @@ -0,0 +1,10 @@ +#define GLM_FORCE_PLATFORM_UNKNOWN +#include +#include + +int main() +{ + int Error = 0; + + return Error; +}