mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
GLM_TEST_ENABLE Option enabled by default to build GLM unit tests. Disable this option to disable testing #788
This commit is contained in:
parent
09fb7dedbe
commit
d307d39019
@ -79,6 +79,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(GLM_TEST_ENABLE "Build unit tests" ON)
|
||||||
option(GLM_TEST_ENABLE_SIMD_SSE2 "Enable SSE2 optimizations" 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_SSE3 "Enable SSE3 optimizations" OFF)
|
||||||
option(GLM_TEST_ENABLE_SIMD_AVX "Enable AVX optimizations" OFF)
|
option(GLM_TEST_ENABLE_SIMD_AVX "Enable AVX optimizations" OFF)
|
||||||
|
@ -7,10 +7,12 @@ function(glmCreateTestGTC NAME)
|
|||||||
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
|
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
add_subdirectory(bug)
|
if(GLM_TEST_ENABLE)
|
||||||
add_subdirectory(core)
|
add_subdirectory(bug)
|
||||||
add_subdirectory(ext)
|
add_subdirectory(core)
|
||||||
add_subdirectory(gtc)
|
add_subdirectory(ext)
|
||||||
add_subdirectory(gtx)
|
add_subdirectory(gtc)
|
||||||
|
add_subdirectory(gtx)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user