2010-04-29 Yaar Schnitman <yaar@chromium.org>
[WebKit-https.git] / WebKitTools / WebKitAPITest / WebKitAPITestCommon.vsprops
1 <?xml version="1.0" encoding="Windows-1252"?>\r
2 <VisualStudioPropertySheet\r
3         ProjectType="Visual C++"\r
4         Version="8.00"\r
5         Name="WebKitAPITestCommon"\r
6         >\r
7         <Tool\r
8                 Name="VCCLCompilerTool"\r
9                 AdditionalIncludeDirectories="&quot;$(ProjectDir)&quot;;&quot;$(WebKitOutputDir)\include&quot;;&quot;$(WebKitOutputDir)\include\private&quot;;&quot;$(WebKitOutputDir)\include\WebCore\ForwardingHeaders&quot;;&quot;$(WebKitLibrariesDir)\include&quot;;&quot;$(WebKitLibrariesDir)\include\private&quot;;&quot;$(WebKitLibrariesDir)\include\WebCore\ForwardingHeaders&quot;"\r
10                 PreprocessorDefinitions="_CONSOLE;NOMINMAX"\r
11         />\r
12         <Tool\r
13                 Name="VCLinkerTool"\r
14                 AdditionalDependencies="JavaScriptCore$(WebKitDLLConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib"\r
15                 SubSystem="1"\r
16         />\r
17         <Tool\r
18                 Name="VCPostBuildEventTool"\r
19                 CommandLine="if exist &quot;$(WebKitOutputDir)\buildfailed&quot; del &quot;$(WebKitOutputDir)\buildfailed&quot;"\r
20         />\r
21         <Tool\r
22                 Name="VCPreBuildEventTool"\r
23                 CommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;if exist &quot;$(WebKitOutputDir)\buildfailed&quot; grep XX$(ProjectName)XX &quot;$(WebKitOutputDir)\buildfailed&quot;&#x0D;&#x0A;if errorlevel 1 exit 1&#x0D;&#x0A;echo XX$(ProjectName)XX &gt; &quot;$(WebKitOutputDir)\buildfailed&quot;&#x0D;&#x0A;"\r
24         />\r
25 </VisualStudioPropertySheet>\r