Unreviewed, rolling out r154416.
[WebKit-https.git] / Source / WebCore / WebCore.vcxproj / WebCoreGeneratedWinCairoCommon.props
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <PropertyGroup Label="UserMacros">\r
4     <CONFIGURATIONBUILDDIR>$(WEBKIT_OUTPUTDIR)\$(Configuration)</CONFIGURATIONBUILDDIR>\r
5   </PropertyGroup>\r
6   <PropertyGroup>\r
7     <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>\r
8     <OutDir>$(ConfigurationBuildDir)\bin\</OutDir>\r
9     <IntDir>$(ConfigurationBuildDir)\obj\$(ProjectName)\</IntDir>\r
10     <LinkIncremental>false</LinkIncremental>\r
11     <NMakeBuildCommandLine>%SystemDrive%\cygwin\bin\which.exe bash\r
12 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
13 nmake /nologo -f $(ProjectName)WinCairo.make</NMakeBuildCommandLine>\r
14     <NMakeReBuildCommandLine>%SystemDrive%\cygwin\bin\which.exe bash\r
15 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
16 nmake /nologo -f $(ProjectName)WinCairo.make clean\r
17 nmake /nologo -f $(ProjectName)WinCairo.make</NMakeReBuildCommandLine>\r
18     <NMakeCleanCommandLine>%SystemDrive%\cygwin\bin\which.exe bash\r
19 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
20 \r
21 set PATH=$(VSInstallDir)\VC\bin;%PATH%\r
22 \r
23 REM VS2010 has a known bug where the clean command does not recognize environment variables properly unless explicitly set here\r
24 set CONFIGURATIONBUILDDIR=$(ConfigurationBuildDir)\r
25 nmake /nologo -f $(ProjectName)WinCairo.make clean</NMakeCleanCommandLine>\r
26     <TargetName>$(ProjectName)$(DebugSuffix)</TargetName>\r
27   </PropertyGroup>\r
28   <ItemDefinitionGroup>\r
29     <ClCompile>\r
30       <AdditionalOptions>/bigobj /GS %(AdditionalOptions)</AdditionalOptions>\r
31       <PreprocessorDefinitions>_WINDOWS;WINVER=0x502;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_HAS_EXCEPTIONS=0;BUILDING_$(ProjectName);WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
32       <PreprocessorDefinitions Condition="$(Platform)=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
33       <PreprocessorDefinitions Condition="$(Platform)=='Win64'">x64</PreprocessorDefinitions>\r
34       <ExceptionHandling>false</ExceptionHandling>\r
35       <RuntimeTypeInfo>false</RuntimeTypeInfo>\r
36       <WarningLevel>Level4</WarningLevel>\r
37       <TreatWarningAsError>false</TreatWarningAsError>\r
38       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
39       <DisableSpecificWarnings>4018;4068;4099;4100;4127;4138;4146;4180;4189;4201;4244;4251;4267;4275;4288;4291;4305;4344;4355;4389;4396;4481;4503;4505;4510;4512;4610;4706;4800;4819;4951;4952;4996;6011;6031;6211;6246;6255;6387;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
40       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
41       <FunctionLevelLinking>false</FunctionLevelLinking>\r
42       <FloatingPointExceptions>false</FloatingPointExceptions>\r
43       <OpenMPSupport>false</OpenMPSupport>\r
44       <PrecompiledHeaderFile>\r
45       </PrecompiledHeaderFile>\r
46       <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>\r
47       <AssemblerListingLocation>\r
48       </AssemblerListingLocation>\r
49       <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
50       <StringPooling>false</StringPooling>\r
51       <MinimalRebuild>false</MinimalRebuild>\r
52       <CompileAs>CompileAsCpp</CompileAs>\r
53     </ClCompile>\r
54     <Lib>\r
55       <AdditionalOptions>/ignore:4221 %(AdditionalOptions)</AdditionalOptions>\r
56       <UseUnicodeResponseFiles>true</UseUnicodeResponseFiles>\r
57     </Lib>\r
58     <Midl>\r
59       <WarnAsError>true</WarnAsError>\r
60       <HeaderFileName>$(OutDir)%(Filename).h</HeaderFileName>\r
61     </Midl>\r
62     <PostBuildEvent>\r
63       <Command>REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PostBuild.cmd file.\r
64 if not exist "$(ProjectDir)$(ProjectName)PostBuild.cmd" exit /b\r
65 \r
66 set CONFIGURATIONBUILDDIR=$(ConfigurationBuildDir)\r
67 set CONFIGURATIONNAME=$(ConfigurationName)\r
68 set INPUTDIR=$(InputDir)\r
69 set INPUTFILENAME=$(InputFileName)\r
70 set INPUTPATH=$(InputPath)\r
71 set INTDIR=$(IntDir)\r
72 set LIBRARYCONFIGSUFFIX=$(LibraryConfigSuffix)\r
73 set OUTDIR=$(OutDir)\r
74 set PLATFORMNAME=$(PlatformName)\r
75 set PROJECTDIR=$(ProjectDir)\r
76 set PROJECTFILENAME=$(ProjectFileName)\r
77 set PROJECTNAME=$(ProjectName)\r
78 set PROJECTPATH=$(ProjectPath)\r
79 set SOLUTIONDIR=$(SolutionDir)\r
80 set SOLUTIONFILENAME=$(SolutionFileName)\r
81 set SOLUTIONNAME=$(SolutionName)\r
82 set SOLUTIONPATH=$(SolutionPath)\r
83 set TARGETDIR=$(TargetDir)\r
84 set TARGETEXT=$(TargetExt)\r
85 set TARGETFILENAME=$(TargetFileName)\r
86 set TARGETPATH=$(TargetPath)\r
87 set DEBUGSUFFIX=$(DebugSuffix)\r
88 \r
89 REM If any of the above variables didn't exist previously and\r
90 REM were set to an empty string, set will set the errorlevel to 1,\r
91 REM which will cause the project-specific script to think the build\r
92 REM has failed. This cmd /c call will clear the errorlevel.\r
93 cmd /c\r
94 \r
95 "$(ProjectDir)$(ProjectName)PostBuild.cmd"\r
96 </Command>\r
97     </PostBuildEvent>\r
98     <PreBuildEvent>\r
99       <Command>REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PreBuild.cmd file.\r
100 if not exist "$(ProjectDir)$(ProjectName)PreBuild.cmd" exit /b\r
101 \r
102 set CONFIGURATIONBUILDDIR=$(ConfigurationBuildDir)\r
103 set CONFIGURATIONNAME=$(ConfigurationName)\r
104 set INPUTDIR=$(InputDir)\r
105 set INPUTFILENAME=$(InputFileName)\r
106 set INPUTPATH=$(InputPath)\r
107 set INTDIR=$(IntDir)\r
108 set LIBRARYCONFIGSUFFIX=$(LibraryConfigSuffix)\r
109 set OUTDIR=$(OutDir)\r
110 set PLATFORMNAME=$(PlatformName)\r
111 set PROJECTDIR=$(ProjectDir)\r
112 set PROJECTFILENAME=$(ProjectFileName)\r
113 set PROJECTNAME=$(ProjectName)\r
114 set PROJECTPATH=$(ProjectPath)\r
115 set SOLUTIONDIR=$(SolutionDir)\r
116 set SOLUTIONFILENAME=$(SolutionFileName)\r
117 set SOLUTIONNAME=$(SolutionName)\r
118 set SOLUTIONPATH=$(SolutionPath)\r
119 set TARGETDIR=$(TargetDir)\r
120 set TARGETEXT=$(TargetExt)\r
121 set TARGETFILENAME=$(TargetFileName)\r
122 set TARGETPATH=$(TargetPath)\r
123 set DEBUGSUFFIX=$(DebugSuffix)\r
124 \r
125 REM If any of the above variables didn't exist previously and\r
126 REM were set to an empty string, set will set the errorlevel to 1,\r
127 REM which will cause the project-specific script to think the build\r
128 REM has failed. This cmd /c call will clear the errorlevel.\r
129 cmd /c\r
130 \r
131 "$(ProjectDir)$(ProjectName)PreBuild.cmd"\r
132 </Command>\r
133     </PreBuildEvent>\r
134     <PreLinkEvent>\r
135       <Command>REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PreLink.cmd file.\r
136 if not exist "$(ProjectDir)$(ProjectName)PreLink.cmd" exit /b\r
137 \r
138 set CONFIGURATIONBUILDDIR=$(ConfigurationBuildDir)\r
139 set CONFIGURATIONNAME=$(ConfigurationName)\r
140 set INPUTDIR=$(InputDir)\r
141 set INPUTFILENAME=$(InputFileName)\r
142 set INPUTPATH=$(InputPath)\r
143 set INTDIR=$(IntDir)\r
144 set LIBRARYCONFIGSUFFIX=$(LibraryConfigSuffix)\r
145 set OUTDIR=$(OutDir)\r
146 set PLATFORMNAME=$(PlatformName)\r
147 set PROJECTDIR=$(ProjectDir)\r
148 set PROJECTFILENAME=$(ProjectFileName)\r
149 set PROJECTNAME=$(ProjectName)\r
150 set PROJECTPATH=$(ProjectPath)\r
151 set SOLUTIONDIR=$(SolutionDir)\r
152 set SOLUTIONFILENAME=$(SolutionFileName)\r
153 set SOLUTIONNAME=$(SolutionName)\r
154 set SOLUTIONPATH=$(SolutionPath)\r
155 set TARGETDIR=$(TargetDir)\r
156 set TARGETEXT=$(TargetExt)\r
157 set TARGETFILENAME=$(TargetFileName)\r
158 set TARGETPATH=$(TargetPath)\r
159 set DEBUGSUFFIX=$(DebugSuffix)\r
160 \r
161 REM If any of the above variables didn't exist previously and\r
162 REM were set to an empty string, set will set the errorlevel to 1,\r
163 REM which will cause the project-specific script to think the build\r
164 REM has failed. This cmd /c call will clear the errorlevel.\r
165 cmd /c\r
166 \r
167 "$(ProjectDir)$(ProjectName)PreLink.cmd"\r
168 </Command>\r
169     </PreLinkEvent>\r
170     <ResourceCompile>\r
171       <Culture>0x0409</Culture>\r
172       <AdditionalIncludeDirectories>$(IntDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
173     </ResourceCompile>\r
174     <BuildLog />\r
175     <Link>\r
176       <AdditionalLibraryDirectories>$(IntDir)lib;$(ConfigurationBuildDir)\lib;$(WEBKIT_LIBRARIES)\lib</AdditionalLibraryDirectories>\r
177       <LinkErrorReporting>PromptImmediately</LinkErrorReporting>\r
178       <CLRUnmanagedCodeCheck>false</CLRUnmanagedCodeCheck>\r
179       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>\r
180       <AssemblyDebug>false</AssemblyDebug>\r
181       <SubSystem>Windows</SubSystem>\r
182       <HeapReserveSize>0</HeapReserveSize>\r
183       <HeapCommitSize>0</HeapCommitSize>\r
184       <StackReserveSize>0</StackReserveSize>\r
185       <StackCommitSize>0</StackCommitSize>\r
186       <LargeAddressAware>\r
187       </LargeAddressAware>\r
188       <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>\r
189       <EnableUAC>\r
190       </EnableUAC>\r
191       <UACExecutionLevel>\r
192       </UACExecutionLevel>\r
193       <UACUIAccess>\r
194       </UACUIAccess>\r
195       <OptimizeReferences>true</OptimizeReferences>\r
196       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
197       <RandomizedBaseAddress>false</RandomizedBaseAddress>\r
198       <CLRThreadAttribute>DefaultThreadingAttribute</CLRThreadAttribute>\r
199       <ImportLibrary>$(ConfigurationBuildDir)\lib\$(TargetName).lib</ImportLibrary>\r
200     </Link>\r
201     <Bscmake />\r
202     <Xdcmake />\r
203     <ManifestResourceCompile>\r
204       <ResourceOutputFileName>$(IntDir)\$(TargetName)$(TargetExt).embed.manifest.res</ResourceOutputFileName>\r
205     </ManifestResourceCompile>\r
206     <ProjectReference>\r
207       <LinkLibraryDependencies>false</LinkLibraryDependencies>\r
208     </ProjectReference>\r
209     <BuildLog>\r
210       <Path>$(IntDir)BuildLog.htm</Path>\r
211     </BuildLog>\r
212   </ItemDefinitionGroup>\r
213   <ItemGroup>\r
214     <BuildMacro Include="CONFIGURATIONBUILDDIR">\r
215       <Value>$(CONFIGURATIONBUILDDIR)</Value>\r
216       <EnvironmentVariable>true</EnvironmentVariable>\r
217     </BuildMacro>\r
218   </ItemGroup>\r
219 </Project>\r