aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 07:23:52 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 07:23:52 +0300
commite3fd3dd4e28ad7b466dbd61e44489d69cd7f762c (patch)
tree2ef327f18876330a895314fba23f714a5081708b
parentadd copyright notices to source files (diff)
downloadprivilege-check-e3fd3dd4e28ad7b466dbd61e44489d69cd7f762c.tar.gz
privilege-check-e3fd3dd4e28ad7b466dbd61e44489d69cd7f762c.zip
turn on /W4
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt4
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")