aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-14 21:29:35 +0200
committerEgor Tensin <egor@tensin.name>2026-06-15 00:08:11 +0200
commit5a7e245d3cd829e093fed6ccd8cac4606cbb7fa9 (patch)
tree89dcb5b6021f22e865f1acbef3fe61ac9cd6bbf9 /CMakeLists.txt
parentcmake: more precise minimum version detection (diff)
downloadwindows7-drivers-5a7e245d3cd829e093fed6ccd8cac4606cbb7fa9.tar.gz
windows7-drivers-5a7e245d3cd829e093fed6ccd8cac4606cbb7fa9.zip
um: remove cmake-common
I'm having trouble making the latest versions work on the older Appveyor images + I'm not using Boost here anyway, so it kinda loses its utility.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7725cb3..c1323f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,6 +9,14 @@ endif()
project(win7drv CXX)
+if(MSVC)
+ add_compile_options(/MP /W4)
+else()
+ add_compile_options(-Wall -Wextra)
+endif()
+
+add_compile_definitions(NOMINMAX)
+
add_subdirectory(um)
install(FILES LICENSE.txt DESTINATION share)