Skip to content

Commit

Permalink
Disable perf test by default
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe committed Dec 28, 2023
1 parent 7afcf13 commit 934a7a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -244,5 +245,7 @@ if(GLM_TEST_ENABLE)
add_subdirectory(gtx)
add_subdirectory(perf)
endif()

if(GLM_PERF_TEST_ENABLE)
add_subdirectory(perf)
endif()

1 change: 1 addition & 0 deletions test/perf/perf_matrix_inverse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 934a7a7

Please sign in to comment.