mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
Added EXTREME_NUMBERS option to cmake, based on option in autotools, which had somehow not made it's way over previously.
This commit is contained in:
parent
cdf7717666
commit
af9ffb7883
@ -889,6 +889,14 @@ ENDIF()
|
||||
###
|
||||
|
||||
|
||||
###
|
||||
# Option to enable extreme numbers during testing.
|
||||
###
|
||||
OPTION(ENABLE_EXTREME_NUMBERS "Enable extreme numbers during testing, such as MAX_INT-1" ON)
|
||||
IF(ENABLE_EXTREME_NUMBERS)
|
||||
SET(USE_EXTREME_NUMBERS ON)
|
||||
ENDIF()
|
||||
|
||||
# Enable Large file tests
|
||||
IF(ENABLE_LARGE_FILE_TESTS)
|
||||
SET(LARGE_FILE_TESTS ON)
|
||||
@ -1381,6 +1389,7 @@ MACRO(print_conf_summary)
|
||||
MESSAGE(STATUS "Coverage Tests: ${ENABLE_COVERAGE_TESTS}")
|
||||
MESSAGE(STATUS "Parallel Tests: ${ENABLE_PARALLEL_TESTS}")
|
||||
MESSAGE(STATUS "Large File Tests: ${ENABLE_LARGE_FILE_TESTS}")
|
||||
MESSAGE(STATUS "Extreme Numbers: ${ENABLE_EXTREME_NUMBERS}")
|
||||
ENDIF()
|
||||
|
||||
MESSAGE("")
|
||||
|
@ -109,6 +109,7 @@ are set when opening a binary file on Windows. */
|
||||
#cmakedefine USE_SZIP 1
|
||||
#cmakedefine USE_ZLIB 1
|
||||
#cmakedefine USE_X_GETOPT 1
|
||||
#cmakedefine ENABLE_EXTREME_NUMBERS
|
||||
#cmakedefine LARGE_FILE_TESTS 1
|
||||
#cmakedefine HAVE_DECL_ISFINITE 1
|
||||
#cmakedefine HAVE_DECL_ISNAN 1
|
||||
|
Loading…
Reference in New Issue
Block a user