| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 |
<ItemGroup Label="ProjectConfigurations"> |
| 4 |
<ProjectConfiguration Include="Debug|Win32"> |
| 5 |
<Configuration>Debug</Configuration> |
| 6 |
<Platform>Win32</Platform> |
| 7 |
</ProjectConfiguration> |
| 8 |
<ProjectConfiguration Include="Release|Win32"> |
| 9 |
<Configuration>Release</Configuration> |
| 10 |
<Platform>Win32</Platform> |
| 11 |
</ProjectConfiguration> |
| 12 |
<ProjectConfiguration Include="Debug|x64"> |
| 13 |
<Configuration>Debug</Configuration> |
| 14 |
<Platform>x64</Platform> |
| 15 |
</ProjectConfiguration> |
| 16 |
<ProjectConfiguration Include="Release|x64"> |
| 17 |
<Configuration>Release</Configuration> |
| 18 |
<Platform>x64</Platform> |
| 19 |
</ProjectConfiguration> |
| 20 |
</ItemGroup> |
| 21 |
<PropertyGroup Label="Globals"> |
| 22 |
<VCProjectVersion>15.0</VCProjectVersion> |
| 23 |
<ProjectGuid>{BE724C6E-BF07-4B3E-901B-7584BC7B6C8A}</ProjectGuid> |
| 24 |
<RootNamespace>libgdiplus</RootNamespace> |
| 25 |
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
| 26 |
<ConfigurationType>DynamicLibrary</ConfigurationType> |
| 27 |
<PlatformToolset>v142</PlatformToolset> |
| 28 |
<CharacterSet>MultiByte</CharacterSet> |
| 29 |
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> |
| 30 |
<IntDir>$(Platform)\$(Configuration)\</IntDir> |
| 31 |
</PropertyGroup> |
| 32 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 33 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
| 34 |
<UseDebugLibraries>true</UseDebugLibraries> |
| 35 |
<ClCompile> |
| 36 |
<WarningLevel>Level3</WarningLevel> |
| 37 |
<Optimization>Disabled</Optimization> |
| 38 |
<SDLCheck>true</SDLCheck> |
| 39 |
</ClCompile> |
| 40 |
</PropertyGroup> |
| 41 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
| 42 |
<UseDebugLibraries>false</UseDebugLibraries> |
| 43 |
<WholeProgramOptimization>true</WholeProgramOptimization> |
| 44 |
<ClCompile> |
| 45 |
<WarningLevel>Level3</WarningLevel> |
| 46 |
<Optimization>MaxSpeed</Optimization> |
| 47 |
<FunctionLevelLinking>true</FunctionLevelLinking> |
| 48 |
<IntrinsicFunctions>true</IntrinsicFunctions> |
| 49 |
<SDLCheck>true</SDLCheck> |
| 50 |
</ClCompile> |
| 51 |
<Link> |
| 52 |
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
| 53 |
<OptimizeReferences>true</OptimizeReferences> |
| 54 |
</Link> |
| 55 |
</PropertyGroup> |
| 56 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
| 57 |
<UseDebugLibraries>true</UseDebugLibraries> |
| 58 |
<ClCompile> |
| 59 |
<WarningLevel>Level3</WarningLevel> |
| 60 |
<Optimization>Disabled</Optimization> |
| 61 |
<SDLCheck>true</SDLCheck> |
| 62 |
</ClCompile> |
| 63 |
</PropertyGroup> |
| 64 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
| 65 |
<UseDebugLibraries>false</UseDebugLibraries> |
| 66 |
<WholeProgramOptimization>true</WholeProgramOptimization> |
| 67 |
<ClCompile> |
| 68 |
<WarningLevel>Level3</WarningLevel> |
| 69 |
<Optimization>MaxSpeed</Optimization> |
| 70 |
<FunctionLevelLinking>true</FunctionLevelLinking> |
| 71 |
<IntrinsicFunctions>true</IntrinsicFunctions> |
| 72 |
<SDLCheck>true</SDLCheck> |
| 73 |
</ClCompile> |
| 74 |
<Link> |
| 75 |
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
| 76 |
<OptimizeReferences>true</OptimizeReferences> |
| 77 |
</Link> |
| 78 |
</PropertyGroup> |
| 79 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 80 |
<ImportGroup Label="ExtensionSettings"> |
| 81 |
</ImportGroup> |
| 82 |
<ImportGroup Label="Shared"> |
| 83 |
</ImportGroup> |
| 84 |
<ImportGroup Label="PropertySheets"> |
| 85 |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 86 |
</ImportGroup> |
| 87 |
<PropertyGroup Label="UserMacros" /> |
| 88 |
<ItemDefinitionGroup> |
| 89 |
<ClCompile> |
| 90 |
<PreprocessorDefinitions>HAVE_LIBGIF;HAVE_LIBJPEG;HAVE_LIBTIFF;HAVE_LIBPNG;HAVE_FCFINI;USE_PANGO_RENDERING;_WINDLL;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 91 |
<!-- FIXME: To align with the GDI+ calling convention, this should be StdCall. Only relevant on x86 --> |
| 92 |
<CallingConvention>Cdecl</CallingConvention> |
| 93 |
<AdditionalIncludeDirectories>$(ProjectDir)..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 94 |
<!-- Workaround for https://github.com/microsoft/vcpkg/issues/17702 --> |
| 95 |
<AdditionalIncludeDirectories Condition="'$(_ZVcpkgCurrentInstalledDir)' != ''">%(AdditionalIncludeDirectories);$(_ZVcpkgCurrentInstalledDir)\include\glib-2.0;$(_ZVcpkgCurrentInstalledDir)\lib\glib-2.0\include</AdditionalIncludeDirectories> |
| 96 |
<AdditionalIncludeDirectories Condition="'$(_ZVcpkgCurrentInstalledDir)' != ''">%(AdditionalIncludeDirectories);$(_ZVcpkgCurrentInstalledDir)\include\pango-1.0</AdditionalIncludeDirectories> |
| 97 |
<AdditionalIncludeDirectories Condition="'$(_ZVcpkgCurrentInstalledDir)' != ''">%(AdditionalIncludeDirectories);$(_ZVcpkgCurrentInstalledDir)\include\cairo</AdditionalIncludeDirectories> |
| 98 |
<AdditionalIncludeDirectories Condition="'$(_ZVcpkgCurrentInstalledDir)' != ''">%(AdditionalIncludeDirectories);$(_ZVcpkgCurrentInstalledDir)\include\harfbuzz</AdditionalIncludeDirectories> |
| 99 |
</ClCompile> |
| 100 |
<Link> |
| 101 |
<AdditionalDependencies>shcore.lib;%(AdditionalDependencies)</AdditionalDependencies> |
| 102 |
</Link> |
| 103 |
<PreBuildEvent> |
| 104 |
<Command>%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -NonInteractive -Command "(Get-Content \"$(ProjectDir)\..\winconfig.h.in\") -replace '#LIBGDIPLUS_VERSION#', (Select-String -path \"$(ProjectDir)\..\configure.ac\" -pattern 'AC_INIT\(libgdiplus, \[(.*)\]').Matches[0].Groups[1].Value | Set-Content \"$(ProjectDir)\..\config.h\"" 2>&1</Command> |
| 105 |
</PreBuildEvent> |
| 106 |
</ItemDefinitionGroup> |
| 107 |
<ItemGroup> |
| 108 |
<ClCompile Include="*.c" /> |
| 109 |
</ItemGroup> |
| 110 |
<ItemGroup> |
| 111 |
<ClInclude Include="*.h" /> |
| 112 |
<ClInclude Include="..\config.h" /> |
| 113 |
</ItemGroup> |
| 114 |
<ItemGroup> |
| 115 |
<None Include="*.inc" /> |
| 116 |
</ItemGroup> |
| 117 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 118 |
</Project> |