mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:45:41 +01:00
cmake: testing disabled by default with MSVC
Previously testing was enabled only if GCC || Clang, and I though this was a "proxy" for the likelihood of Perl being available. Apparently it was not just that, since MSVC gives me a lot of errors when trying to build tests. Let's fix them later, and disable for now.
This commit is contained in:
parent
1409616d9c
commit
5871910490
@ -5,7 +5,14 @@ option(USE_PKCS11_HELPER_LIBRARY "Build mbed TLS with the pkcs11-helper library.
|
|||||||
option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF)
|
option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF)
|
||||||
|
|
||||||
option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
|
option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
|
||||||
option(ENABLE_TESTING "Build mbed TLS tests." ON)
|
|
||||||
|
|
||||||
|
# the test suites currently have compile errors with MSVC
|
||||||
|
if(MSVC)
|
||||||
|
option(ENABLE_TESTING "Build mbed TLS tests." OFF)
|
||||||
|
else()
|
||||||
|
option(ENABLE_TESTING "Build mbed TLS tests." ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE}
|
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE}
|
||||||
CACHE STRING "Choose the type of build: None Debug Release Coverage ASan ASanDbg MemSan MemSanDbg Check CheckFull"
|
CACHE STRING "Choose the type of build: None Debug Release Coverage ASan ASanDbg MemSan MemSanDbg Check CheckFull"
|
||||||
|
Loading…
Reference in New Issue
Block a user