/ src / modules / imageresizer / ImageResizerLib / ImageResizerLib.vcxproj
ImageResizerLib.vcxproj
 1  <?xml version="1.0" encoding="utf-8"?>
 2  <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 3    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 4    <Import Project="$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" />
 5    <PropertyGroup Label="Globals">
 6      <Keyword>Win32Proj</Keyword>
 7      <ProjectGuid>{18b3db45-4ffe-4d01-97d6-5223feee1853}</ProjectGuid>
 8      <RootNamespace>ImageResizerLib</RootNamespace>
 9    </PropertyGroup>
10    <PropertyGroup Label="Configuration">
11      <ConfigurationType>StaticLibrary</ConfigurationType>
12      
13      <CharacterSet>Unicode</CharacterSet>
14    </PropertyGroup>
15    <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
16      <UseDebugLibraries>true</UseDebugLibraries>
17    </PropertyGroup>
18    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
19    <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
20      <UseDebugLibraries>false</UseDebugLibraries>
21      <WholeProgramOptimization>true</WholeProgramOptimization>
22    </PropertyGroup>
23    <ImportGroup Label="ExtensionSettings">
24    </ImportGroup>
25    <ImportGroup Label="Shared">
26    </ImportGroup>
27    <ImportGroup Label="PropertySheets">
28      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
29    </ImportGroup>
30    <PropertyGroup Label="UserMacros" />
31    <PropertyGroup>
32      <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps\</OutDir>
33    </PropertyGroup>
34    <PropertyGroup>
35      <TargetName>PowerToys.$(ProjectName)</TargetName>
36    </PropertyGroup>
37    <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
38      <ClCompile>
39        <WarningLevel>Level3</WarningLevel>
40        <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
41        <AdditionalIncludeDirectories>$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
42      </ClCompile>
43      <Link>
44        <SubSystem>
45        </SubSystem>
46        <GenerateDebugInformation>true</GenerateDebugInformation>
47      </Link>
48    </ItemDefinitionGroup>
49    <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
50      <ClCompile>
51        <WarningLevel>Level3</WarningLevel>
52        <FunctionLevelLinking>true</FunctionLevelLinking>
53        <IntrinsicFunctions>true</IntrinsicFunctions>
54        <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
55        <AdditionalIncludeDirectories>$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
56      </ClCompile>
57      <Link>
58        <SubSystem>
59        </SubSystem>
60        <EnableCOMDATFolding>true</EnableCOMDATFolding>
61        <OptimizeReferences>true</OptimizeReferences>
62        <GenerateDebugInformation>true</GenerateDebugInformation>
63      </Link>
64    </ItemDefinitionGroup>
65    <ItemGroup>
66      <ClInclude Include="framework.h" />
67      <ClInclude Include="ImageResizerConstants.h" />
68      <ClInclude Include="pch.h" />
69      <ClInclude Include="Settings.h" />
70      <ClInclude Include="trace.h" />
71    </ItemGroup>
72    <ItemGroup>
73      <ClCompile Include="pch.cpp">
74        <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
75      </ClCompile>
76      <ClCompile Include="Settings.cpp" />
77      <ClCompile Include="trace.cpp" />
78    </ItemGroup>
79    <ItemGroup>
80      <None Include="packages.config" />
81    </ItemGroup>
82    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
83    <ImportGroup Label="ExtensionTargets">
84      <Import Project="$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" />
85    </ImportGroup>
86    <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
87      <PropertyGroup>
88        <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
89      </PropertyGroup>
90      <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props'))" />
91      <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets'))" />
92    </Target>
93  </Project>