Pārlūkot izejas kodu

Added CMake test infrastructure

Christophe Riccio 15 gadi atpakaļ
vecāks
revīzija
bea54a5cff
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      test/CMakeLists.txt

+ 4 - 4
test/CMakeLists.txt

@@ -1,10 +1,10 @@
 function(glmCreateTestGTC NAME)
 	set(SAMPLE_NAME test-${NAME})
 	add_executable(${SAMPLE_NAME} ${NAME}.cpp ../test.hpp ../test.cpp)
-	#For GLM 0.9.2, not ready yet
-	#add_test( 
-	#    NAME ${SAMPLE_NAME}
-	#    COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
+
+	add_test( 
+	    NAME ${SAMPLE_NAME}
+	    COMMAND $<TARGET_FILE:${SAMPLE_NAME}> )
 endfunction()
 
 add_subdirectory(bug)