enable more warnings
This commit is contained in:
parent
a0c27643f2
commit
cd3ce5452d
|
@ -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})
|
||||||
|
|
Loading…
Reference in a new issue