diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ccf352..430dedb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,4 +57,10 @@ if (MSVC) add_compile_definitions(_UNICODE UNICODE) endif() +target_compile_options(${PROJECT_NAME} PRIVATE + $<$:-Wall -Wextra -Werror> + $<$:-Wall -Wextra -Werror> + $<$:/W4 /WX> +) + set_property(GLOBAL PROPERTY USE_FOLDERS_ON)