mirror of
https://github.com/g-truc/glm.git
synced 2024-11-13 22:01:46 +00:00
18 lines
339 B
CMake
18 lines
339 B
CMake
function(glmCreateTestGTC NAME)
|
|
if(GLM_TEST_ENABLE)
|
|
set(SAMPLE_NAME test-${NAME})
|
|
add_executable(${SAMPLE_NAME} ${NAME}.cpp)
|
|
|
|
add_test(
|
|
NAME ${SAMPLE_NAME}
|
|
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
|
|
endif(GLM_TEST_ENABLE)
|
|
endfunction()
|
|
|
|
add_subdirectory(bug)
|
|
add_subdirectory(core)
|
|
add_subdirectory(gtc)
|
|
add_subdirectory(gtx)
|
|
|
|
|