Excluded tests when building using Visual Studio.

This commit is contained in:
Ward Fisher 2012-08-27 18:57:18 +00:00
parent 9e2c434851
commit 643a80f178

View File

@ -242,12 +242,15 @@ IF(NOT WIN32)
ENDIF()
# Enable Tests
OPTION (ENABLE_TESTS "Enable basic tests, run with 'make test'." ON)
IF(ENABLE_TESTS)
SET(BUILD_TESTSETS ON CACHE BOOL "")
IF(NOT MSVC)
OPTION (ENABLE_TESTS "Enable basic tests, run with 'make test'." ON)
IF(ENABLE_TESTS)
SET(BUILD_TESTSETS ON CACHE BOOL "")
ENDIF()
ELSE()
SET(ENABLE_TESTS OFF CACHE "")
ENDIF()
# Enable Large file tests
OPTION (ENABLE_LARGE_FILE_TESTS "Enable large file tests." OFF)
IF(ENABLE_LARGE_FILE_TESTS)