Rebaseline after system update
[WebKit-https.git] / WebKitLibraries / win / tools / vsprops / common.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     <DEBUGSUFFIX>\r
6     </DEBUGSUFFIX>\r
7   </PropertyGroup>\r
8   <PropertyGroup>\r
9     <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>\r
10     <OutDir>$(ConfigurationBuildDir)\bin32\</OutDir>\r
11     <IntDir>$(ConfigurationBuildDir)\obj32\$(ProjectName)\</IntDir>\r
12     <LinkIncremental>false</LinkIncremental>\r
13     <NMakeBuildCommandLine>%SystemDrive%\cygwin\bin\which.exe bash\r
14 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
15 nmake /nologo -f $(ProjectName).make</NMakeBuildCommandLine>\r
16     <NMakeReBuildCommandLine>%SystemDrive%\cygwin\bin\which.exe bash\r
17 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
18 nmake /nologo -f $(ProjectName).make clean\r
19 nmake /nologo -f $(ProjectName).make</NMakeReBuildCommandLine>\r
20     <NMakeCleanCommandLine>%SystemDrive%\cygwin\bin\which.exe bash\r
21 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
22 \r
23 set PATH=$(VSInstallDir)\VC\bin;%PATH%\r
24 \r
25 REM VS2010 has a known bug where the clean command does not recognize environment variables properly unless explicitly set here\r
26 set CONFIGURATIONBUILDDIR=$(ConfigurationBuildDir)\r
27 nmake /nologo -f $(ProjectName).make clean</NMakeCleanCommandLine>\r
28     <TargetName>$(ProjectName)$(DebugSuffix)</TargetName>\r
29   </PropertyGroup>\r
30   <ItemDefinitionGroup>\r
31     <ClCompile>\r
32       <AdditionalOptions>/bigobj /GS %(AdditionalOptions)</AdditionalOptions>\r
33       <PreprocessorDefinitions>_WINDOWS;WINVER=0x502;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_HAS_EXCEPTIONS=0;BUILDING_$(ProjectName);WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
34       <PreprocessorDefinitions Condition="$(Platform)=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
35       <PreprocessorDefinitions Condition="$(Platform)=='Win64'">x64</PreprocessorDefinitions>\r
36       <ExceptionHandling>false</ExceptionHandling>\r
37       <RuntimeTypeInfo>false</RuntimeTypeInfo>\r
38       <WarningLevel>Level4</WarningLevel>\r
39       <TreatWarningAsError>false</TreatWarningAsError>\r
40       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
41       <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
42       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
43       <FunctionLevelLinking>false</FunctionLevelLinking>\r
44       <FloatingPointExceptions>false</FloatingPointExceptions>\r
45       <OpenMPSupport>false</OpenMPSupport>\r
46       <PrecompiledHeaderFile>\r
47       </PrecompiledHeaderFile>\r
48       <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>\r
49       <AssemblerListingLocation>\r
50       </AssemblerListingLocation>\r
51       <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
52       <StringPooling>false</StringPooling>\r
53       <MinimalRebuild>false</MinimalRebuild>\r
54       <CompileAs>CompileAsCpp</CompileAs>\r
55     </ClCompile>\r
56     <Lib>\r
57       <AdditionalOptions>/ignore:4221 %(AdditionalOptions)</AdditionalOptions>\r
58       <UseUnicodeResponseFiles>true</UseUnicodeResponseFiles>\r
59     </Lib>\r
60     <Midl>\r
61       <WarnAsError>true</WarnAsError>\r
62       <HeaderFileName>$(OutDir)%(Filename).h</HeaderFileName>\r
63     </Midl>\r
64     <PostBuildEvent>\r
65       <Command>REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PostBuild.cmd file.\r
66 if not exist "$(ProjectDir)$(ProjectName)PostBuild.cmd" exit /b\r
67 \r
68 set CONFIGURATIONBUILDDIR=$(ConfigurationBuildDir)\r
69 set CONFIGURATIONNAME=$(ConfigurationName)\r
70 set INPUTDIR=$(InputDir)\r
71 set INPUTFILENAME=$(InputFileName)\r
72 set INPUTPATH=$(InputPath)\r
73 set INTDIR=$(IntDir)\r
74 set OUTDIR=$(OutDir)\r
75 set PLATFORMNAME=$(PlatformName)\r
76 set PROJECTDIR=$(ProjectDir)\r
77 set PROJECTFILENAME=$(ProjectFileName)\r
78 set PROJECTNAME=$(ProjectName)\r
79 set PROJECTPATH=$(ProjectPath)\r
80 set SOLUTIONDIR=$(SolutionDir)\r
81 set SOLUTIONFILENAME=$(SolutionFileName)\r
82 set SOLUTIONNAME=$(SolutionName)\r
83 set SOLUTIONPATH=$(SolutionPath)\r
84 set TARGETDIR=$(TargetDir)\r
85 set TARGETEXT=$(TargetExt)\r
86 set TARGETFILENAME=$(TargetFileName)\r
87 set TARGETPATH=$(TargetPath)\r
88 set DEBUGSUFFIX=$(DebugSuffix)\r
89 \r
90 REM If any of the above variables didn't exist previously and\r
91 REM were set to an empty string, set will set the errorlevel to 1,\r
92 REM which will cause the project-specific script to think the build\r
93 REM has failed. This cmd /c call will clear the errorlevel.\r
94 cmd /c\r
95 \r
96 "$(ProjectDir)$(ProjectName)PostBuild.cmd"\r
97 </Command>\r
98     </PostBuildEvent>\r
99     <PreBuildEvent>\r
100       <Command>REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PreBuild.cmd file.\r
101 if not exist "$(ProjectDir)$(ProjectName)PreBuild.cmd" exit /b\r
102 \r
103 set CONFIGURATIONBUILDDIR=$(ConfigurationBuildDir)\r
104 set CONFIGURATIONNAME=$(ConfigurationName)\r
105 set INPUTDIR=$(InputDir)\r
106 set INPUTFILENAME=$(InputFileName)\r
107 set INPUTPATH=$(InputPath)\r
108 set INTDIR=$(IntDir)\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 OUTDIR=$(OutDir)\r
145 set PLATFORMNAME=$(PlatformName)\r
146 set PROJECTDIR=$(ProjectDir)\r
147 set PROJECTFILENAME=$(ProjectFileName)\r
148 set PROJECTNAME=$(ProjectName)\r
149 set PROJECTPATH=$(ProjectPath)\r
150 set SOLUTIONDIR=$(SolutionDir)\r
151 set SOLUTIONFILENAME=$(SolutionFileName)\r
152 set SOLUTIONNAME=$(SolutionName)\r
153 set SOLUTIONPATH=$(SolutionPath)\r
154 set TARGETDIR=$(TargetDir)\r
155 set TARGETEXT=$(TargetExt)\r
156 set TARGETFILENAME=$(TargetFileName)\r
157 set TARGETPATH=$(TargetPath)\r
158 set DEBUGSUFFIX=$(DebugSuffix)\r
159 \r
160 REM If any of the above variables didn't exist previously and\r
161 REM were set to an empty string, set will set the errorlevel to 1,\r
162 REM which will cause the project-specific script to think the build\r
163 REM has failed. This cmd /c call will clear the errorlevel.\r
164 cmd /c\r
165 \r
166 "$(ProjectDir)$(ProjectName)PreLink.cmd"\r
167 </Command>\r
168     </PreLinkEvent>\r
169     <ResourceCompile>\r
170       <Culture>0x0409</Culture>\r
171       <AdditionalIncludeDirectories>$(IntDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
172     </ResourceCompile>\r
173     <BuildLog />\r
174     <Link>\r
175       <AdditionalLibraryDirectories>$(IntDir)lib32;$(ConfigurationBuildDir)\lib32;$(WEBKIT_LIBRARIES)\lib32</AdditionalLibraryDirectories>\r
176       <LinkErrorReporting>PromptImmediately</LinkErrorReporting>\r
177       <CLRUnmanagedCodeCheck>false</CLRUnmanagedCodeCheck>\r
178       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>\r
179       <AssemblyDebug>false</AssemblyDebug>\r
180       <SubSystem>Windows</SubSystem>\r
181       <HeapReserveSize>0</HeapReserveSize>\r
182       <HeapCommitSize>0</HeapCommitSize>\r
183       <StackReserveSize>0</StackReserveSize>\r
184       <StackCommitSize>0</StackCommitSize>\r
185       <LargeAddressAware>\r
186       </LargeAddressAware>\r
187       <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>\r
188       <EnableUAC>\r
189       </EnableUAC>\r
190       <UACExecutionLevel>\r
191       </UACExecutionLevel>\r
192       <UACUIAccess>\r
193       </UACUIAccess>\r
194       <OptimizeReferences>true</OptimizeReferences>\r
195       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
196       <RandomizedBaseAddress>false</RandomizedBaseAddress>\r
197       <CLRThreadAttribute>DefaultThreadingAttribute</CLRThreadAttribute>\r
198       <ImportLibrary>$(ConfigurationBuildDir)\lib32\$(TargetName).lib</ImportLibrary>\r
199     </Link>\r
200     <Bscmake />\r
201     <Xdcmake />\r
202     <ManifestResourceCompile>\r
203       <ResourceOutputFileName>$(IntDir)\$(TargetName)$(TargetExt).embed.manifest.res</ResourceOutputFileName>\r
204     </ManifestResourceCompile>\r
205     <ProjectReference>\r
206       <LinkLibraryDependencies>false</LinkLibraryDependencies>\r
207     </ProjectReference>\r
208     <BuildLog>\r
209       <Path>$(IntDir)BuildLog.htm</Path>\r
210     </BuildLog>\r
211   </ItemDefinitionGroup>\r
212   <ItemGroup>\r
213     <BuildMacro Include="CONFIGURATIONBUILDDIR">\r
214       <Value>$(CONFIGURATIONBUILDDIR)</Value>\r
215       <EnvironmentVariable>true</EnvironmentVariable>\r
216     </BuildMacro>\r
217     <BuildMacro Include="DEBUGSUFFIX">\r
218       <Value>$(DEBUGSUFFIX)</Value>\r
219       <EnvironmentVariable>true</EnvironmentVariable>\r
220     </BuildMacro>\r
221   </ItemGroup>\r
222 </Project>