mirror of
https://github.com/g-truc/glm.git
synced 2025-04-05 05:25:02 +00:00
Disable perf test by default
This commit is contained in:
parent
7afcf13e97
commit
934a7a7bc9
2 changed files with 5 additions and 1 deletions
|
@ -86,6 +86,7 @@ else()
|
|||
endif()
|
||||
|
||||
option(GLM_TEST_ENABLE "Build unit tests" ON)
|
||||
option(GLM_PERF_TEST_ENABLE "Build perf tests" OFF)
|
||||
option(GLM_TEST_ENABLE_SIMD_SSE2 "Enable SSE2 optimizations" OFF)
|
||||
option(GLM_TEST_ENABLE_SIMD_SSE3 "Enable SSE3 optimizations" OFF)
|
||||
option(GLM_TEST_ENABLE_SIMD_SSSE3 "Enable SSSE3 optimizations" OFF)
|
||||
|
@ -244,5 +245,7 @@ if(GLM_TEST_ENABLE)
|
|||
add_subdirectory(gtx)
|
||||
add_subdirectory(perf)
|
||||
endif()
|
||||
|
||||
if(GLM_PERF_TEST_ENABLE)
|
||||
add_subdirectory(perf)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <glm/ext/matrix_double4x4.hpp>
|
||||
#include <glm/ext/matrix_relational.hpp>
|
||||
#include <glm/ext/vector_float4.hpp>
|
||||
|
||||
#if GLM_CONFIG_SIMD == GLM_ENABLE
|
||||
#include <glm/gtc/type_aligned.hpp>
|
||||
#include <vector>
|
||||
|
|
Loading…
Add table
Reference in a new issue