Turn on static code analysis.
[WebKit-https.git] / WebKit / win / WebKit.vcproj / WebKit.vcproj
index 0ff956e..0ddcebb 100644 (file)
@@ -55,6 +55,8 @@
                                Detect64BitPortabilityProblems="true"
                                DebugInformationFormat="3"
                                DisableSpecificWarnings="4127"
+                               ForcedIncludeFiles="CodeAnalysisConfig.h"
+                               EnablePREfast="true"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                        <Tool
                                Name="VCPostBuildEventTool"
                                CommandLine="mkdir 2&gt;NUL &quot;$(WebKitOutputDir)\include\WebKit&quot;&#x0D;&#x0A;xcopy /y /d &quot;$(ProjectDir)\..\WebLocalizableStrings.h&quot; &quot;$(WebKitOutputDir)\include\WebKit&quot;&#x0D;&#x0A;xcopy /y /d &quot;$(ProjectDir)\..\WebKitGraphics.h&quot; &quot;$(WebKitOutputDir)\include\WebKit&quot;&#x0D;&#x0A;xcopy /y /d &quot;$(ProjectDir)\..\ProgIDMacros.h&quot; &quot;$(WebKitOutputDir)\include\WebKit&quot;&#x0D;&#x0A;&#x0D;&#x0A;xcopy /y /d &quot;$(WebKitOutputDir)\include\WebCore\npfunctions.h&quot; &quot;$(WebKitOutputDir)\include\WebKit&quot;&#x0D;&#x0A;xcopy /y /d &quot;$(WebKitOutputDir)\include\JavaScriptCore\npapi.h&quot; &quot;$(WebKitOutputDir)\include\WebKit&quot;&#x0D;&#x0A;xcopy /y /d &quot;$(WebKitOutputDir)\include\JavaScriptCore\npruntime.h&quot; &quot;$(WebKitOutputDir)\include\WebKit&quot;&#x0D;&#x0A;&#x0D;&#x0A;mkdir 2&gt;NUL &quot;$(OutDir)\WebKit.resources&quot;&#x0D;&#x0A;xcopy /y /d &quot;$(ProjectDir)..\$(ProjectName).resources\*&quot; &quot;$(OutDir)\$(ProjectName).resources&quot;&#x0D;&#x0A;mkdir 2&gt;NUL &quot;$(OutDir)\WebKit.resources\en.lproj&quot;&#x0D;&#x0A;xcopy /y /d &quot;$(ProjectDir)..\English.lproj\Localizable.strings&quot; &quot;$(OutDir)\WebKit.resources\en.lproj\&quot;&#x0D;&#x0A;"
-                />
+                       />
                </Configuration>
                <Configuration
                        Name="Release|Win32"
                                Detect64BitPortabilityProblems="true"
                                DebugInformationFormat="3"
                                DisableSpecificWarnings="4127"
+                               ForcedIncludeFiles="CodeAnalysisConfig.h"
+                               EnablePREfast="true"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                                Detect64BitPortabilityProblems="true"
                                DebugInformationFormat="3"
                                DisableSpecificWarnings="4127"
+                               ForcedIncludeFiles="CodeAnalysisConfig.h"
+                               EnablePREfast="true"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                                >
                        </File>
                        <File
+                               RelativePath="..\CodeAnalysisConfig.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\DefaultDownloadDelegate.h"
                                >
                        </File>