glm/test/CMakeLists.txt

18 lines
339 B
CMake
Raw Permalink Normal View History

2010-12-17 01:33:17 +00:00
function(glmCreateTestGTC NAME)
if(GLM_TEST_ENABLE)
set(SAMPLE_NAME test-${NAME})
add_executable(${SAMPLE_NAME} ${NAME}.cpp)
2011-02-21 13:25:13 +00:00
add_test(
2016-07-16 21:41:50 +00:00
NAME ${SAMPLE_NAME}
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
endif(GLM_TEST_ENABLE)
2011-02-15 17:25:21 +00:00
endfunction()
2010-12-17 01:33:17 +00:00
add_subdirectory(bug)
add_subdirectory(core)
add_subdirectory(gtc)
add_subdirectory(gtx)
2011-01-19 16:14:23 +00:00
2010-12-17 01:33:17 +00:00