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