added proper cmake test infrastructure
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
function(glmCreateTestGTC NAME)
|
||||
set(SAMPLE_NAME test-${NAME})
|
||||
|
||||
add_executable(${SAMPLE_NAME} ${NAME}.cpp ../test.hpp ../test.cpp)
|
||||
endfunction(glmCreateTestGTC)
|
||||
add_test(
|
||||
NAME ${SAMPLE_NAME}
|
||||
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
|
||||
endfunction()
|
||||
|
||||
add_subdirectory(bug)
|
||||
add_subdirectory(core)
|
||||
|
||||
Reference in New Issue
Block a user