mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Added CMake test infrastructure
This commit is contained in:
parent
680485f8f7
commit
bea54a5cff
@ -1,10 +1,10 @@
|
||||
function(glmCreateTestGTC NAME)
|
||||
set(SAMPLE_NAME test-${NAME})
|
||||
add_executable(${SAMPLE_NAME} ${NAME}.cpp ../test.hpp ../test.cpp)
|
||||
#For GLM 0.9.2, not ready yet
|
||||
#add_test(
|
||||
# NAME ${SAMPLE_NAME}
|
||||
# COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
|
||||
|
||||
add_test(
|
||||
NAME ${SAMPLE_NAME}
|
||||
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
|
||||
endfunction()
|
||||
|
||||
add_subdirectory(bug)
|
||||
|
Loading…
Reference in New Issue
Block a user