aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-14 18:58:37 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-14 18:58:37 +0000
commitdeba41e489ecae364c79cbd1d63f148bcb7d0531 (patch)
tree21df1bc1887032e751d05834bee626b2978988d4 /config.nmake
parent1c7b1da517ba99b90dceaac7ec4e1b65e7b62e63 (diff)
Enable Enterprise Code Analysis via the ENABLE_CODE_ANALYSIS environment
variable. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35946 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.nmake b/config.nmake
index fd70a8c46a..28e380a7eb 100644
--- a/config.nmake
+++ b/config.nmake
@@ -826,8 +826,8 @@ LOCAL_CFLAGS= $(LOCAL_CFLAGS) /MP
# Optional: Static analysis. Only supported in the full-frontal MSVC editions.
# http://msdn.microsoft.com/en-us/library/ms182025.aspx
-#!IF "$(MSVC_VARIANT)" == "MSVC2010" && "$(WIRESHARK_TARGET_PLATFORM)" == "win32"
-#LOCAL_CFLAGS= $(LOCAL_CFLAGS) /analyze
+#!IFDEF ENABLE_CODE_ANALYSIS
+LOCAL_CFLAGS= $(LOCAL_CFLAGS) /analyze:WX-
#!ENDIF
#STANDARD_CFLAGS is used only for Wireshark source compiles