enable more warnings

This commit is contained in:
Thomas Lindner 2022-10-19 18:37:54 +02:00
parent a0c27643f2
commit cd3ce5452d

View file

@ -7,5 +7,9 @@ target_link_libraries(${PROJECT_NAME}
libtls::tls libtls::tls
) )
target_makeheaders(${PROJECT_NAME}) target_makeheaders(${PROJECT_NAME})
target_compile_options(${PROJECT_NAME}
PRIVATE
$<$<OR:$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:AppleClang>,$<C_COMPILER_ID:GNU>>:-Wall -Wextra>
)
add_autoformat_target(${PROJECT_NAME}) add_autoformat_target(${PROJECT_NAME})