mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
More cmake for windows tune-ups
This commit is contained in:
parent
5fe51d75f0
commit
3083053dd2
2 changed files with 8 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ if(CMAKE_COMPILER_IS_CLANG)
|
|||
set(CMAKE_C_FLAGS_CHECK "-Werror -Os")
|
||||
endif(CMAKE_COMPILER_IS_CLANG)
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_C_FLAGS_CHECK "/WX")
|
||||
endif(MSVC)
|
||||
|
||||
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE}
|
||||
CACHE STRING "Choose the type of build: None Debug Release Coverage ASan ASanDbg MemSan MemSanDbg Check CheckFull"
|
||||
FORCE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue