mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Excluded tests when building using Visual Studio.
This commit is contained in:
parent
9e2c434851
commit
643a80f178
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user