diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2015-12-27 03:41:04 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2015-12-28 03:26:03 +0300 |
commit | a97c4bb067a1d3406dc38d482ab03402b3757bbb (patch) | |
tree | 3bb42a14e60ebf712b47936310e611361a8cfba4 /3rdparty/minhook-build | |
parent | 69cdaee4325a486e374245713c708f80591eb561 (diff) |
3rdparty/minhook-build: disable third-party warnings by default in MinHook.
Diffstat (limited to '3rdparty/minhook-build')
-rw-r--r-- | 3rdparty/minhook-build/minhook-build.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/3rdparty/minhook-build/minhook-build.pro b/3rdparty/minhook-build/minhook-build.pro index e68739175..3f3f7d423 100644 --- a/3rdparty/minhook-build/minhook-build.pro +++ b/3rdparty/minhook-build/minhook-build.pro @@ -27,6 +27,13 @@ TARGET = minhook INCLUDEPATH = ../minhook-src/src ../minhook-src/src/HDE ../minhook-src/include
DEFINES += WIN32 _WINDOWS _USRDLL MINHOOK_EXPORTS
+!CONFIG(third-party-warnings) {
+ # We ignore warnings in third party builds. We won't actually look
+ # at them and they clutter out our warnings.
+ CONFIG -= warn_on
+ CONFIG += warn_off
+}
+
QMAKE_CFLAGS_RELEASE -= -MD
QMAKE_CFLAGS_DEBUG -= -MDd
|