From e3fd3dd4e28ad7b466dbd61e44489d69cd7f762c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 11 Oct 2016 07:23:52 +0300 Subject: turn on /W4 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 148e28c..7095f70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,10 @@ project(privilege_test) +if(MSVC) + add_compile_options(/W4) +endif() + file(GLOB ${PROJECT_NAME}_source_files "src/*.cpp") file(GLOB ${PROJECT_NAME}_header_files "src/*.h" "src/*.hpp") file(GLOB ${PROJECT_NAME}_resource_files "src/*.rc") -- cgit v1.2.3