Delayed CMake test

This commit is contained in:
Christophe Riccio 2011-02-23 14:44:05 +00:00
parent 71a1df2780
commit 5d6a6b3928

View File

@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_policy(VERSION 2.6) cmake_policy(VERSION 2.6)
project(glm) project(glm)
enable_testing() #Delayed for GLM 0.9.2
#enable_testing()
add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_definitions(-pedantic) add_definitions(-pedantic)
@ -16,7 +17,6 @@ add_definitions(-msse2)
include_directories(".") include_directories(".")
add_subdirectory(glm) add_subdirectory(glm)
add_subdirectory(test) add_subdirectory(test)
add_subdirectory(bench) add_subdirectory(bench)
@ -27,4 +27,4 @@ if(NOT GLM_TEST_MODE)
message(FATAL_ERROR "GLM is a header only library, no need to build it. Set the option GLM_TEST_MODE with ON to build and run the test bench") message(FATAL_ERROR "GLM is a header only library, no need to build it. Set the option GLM_TEST_MODE with ON to build and run the test bench")
endif() endif()
install( DIRECTORY glm DESTINATION include ) install(DIRECTORY glm DESTINATION include)