mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
16 lines
320 B
CMake
16 lines
320 B
CMake
function(glmCreateTestGTC NAME)
|
|
set(SAMPLE_NAME test-${NAME})
|
|
add_executable(${SAMPLE_NAME} ${NAME}.cpp ../test.hpp ../test.cpp)
|
|
|
|
add_test(
|
|
NAME ${SAMPLE_NAME}
|
|
COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
|
|
endfunction()
|
|
|
|
add_subdirectory(bug)
|
|
add_subdirectory(core)
|
|
add_subdirectory(gtc)
|
|
add_subdirectory(gtx)
|
|
|
|
|