aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.nmake b/Makefile.nmake
index 28b5e68e6d..b2cffa1da0 100644
--- a/Makefile.nmake
+++ b/Makefile.nmake
@@ -776,11 +776,18 @@ gtk:: help config.h svnversion.h doxygen
$(MAKE) /$(MAKEFLAGS) /f Makefile.nmake libgtkui.lib
cd ../..
+# The Visual C++ static analyzer currently fails with error C2171
+# when compiling summary_dialog.cpp. If/when this ever gets fixed
+# we can remove the ENABLE_CODE_ANALYSIS check.
qt:: help config.h svnversion.h doxygen
!IFDEF QT5_BASE_DIR
cd ui/qt
$(QT5_BASE_DIR)\bin\qmake CONFIG+=release QtShark.pro
+!IFDEF ENABLE_CODE_ANALYSIS
+ -nmake
+!ELSE
nmake
+!ENDIF
cd ../..
!ENDIF