19 lines
		
	
	
		
			344 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			344 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| function(glmCreateTestGTC NAME)
 | |
| 	set(SAMPLE_NAME test-${NAME})
 | |
| 	add_executable(${SAMPLE_NAME} ${NAME}.cpp)
 | |
| 
 | |
| 	add_test(
 | |
| 		NAME ${SAMPLE_NAME}
 | |
| 		COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
 | |
| endfunction()
 | |
| 
 | |
| if(GLM_TEST_ENABLE)
 | |
| 	add_subdirectory(bug)
 | |
| 	add_subdirectory(core)
 | |
| 	add_subdirectory(ext)
 | |
| 	add_subdirectory(gtc)
 | |
| 	add_subdirectory(gtx)
 | |
| endif()
 | |
| 
 | |
| 
 | 
