diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-11 07:23:52 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-11 07:23:52 +0300 |
commit | e3fd3dd4e28ad7b466dbd61e44489d69cd7f762c (patch) | |
tree | 2ef327f18876330a895314fba23f714a5081708b | |
parent | add copyright notices to source files (diff) | |
download | privilege-check-e3fd3dd4e28ad7b466dbd61e44489d69cd7f762c.tar.gz privilege-check-e3fd3dd4e28ad7b466dbd61e44489d69cd7f762c.zip |
turn on /W4
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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") |