/ src / modules / ZoomIt / ZoomItModuleInterface / ZoomItModuleInterface.vcxproj
ZoomItModuleInterface.vcxproj
  1  <?xml version="1.0" encoding="utf-8"?>
  2  <Project DefaultTargets="Build" 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      <VCProjectVersion>17.0</VCProjectVersion>
  7      <Keyword>Win32Proj</Keyword>
  8      <ProjectGuid>{e4585179-2ac1-4d5f-a3ff-cfc5392f694c}</ProjectGuid>
  9      <RootNamespace>ZoomItModuleInterface</RootNamespace>
 10      <ProjectName>ZoomItModuleInterface</ProjectName>
 11    </PropertyGroup>
 12    <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
 13      <ConfigurationType>DynamicLibrary</ConfigurationType>
 14      <UseDebugLibraries>true</UseDebugLibraries>
 15      
 16      <CharacterSet>Unicode</CharacterSet>
 17    </PropertyGroup>
 18    <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
 19      <ConfigurationType>DynamicLibrary</ConfigurationType>
 20      <UseDebugLibraries>false</UseDebugLibraries>
 21      
 22      <WholeProgramOptimization>true</WholeProgramOptimization>
 23      <CharacterSet>Unicode</CharacterSet>
 24    </PropertyGroup>
 25    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 26    <ImportGroup Label="ExtensionSettings">
 27    </ImportGroup>
 28    <ImportGroup Label="Shared">
 29    </ImportGroup>
 30    <ImportGroup Label="PropertySheets">
 31    </ImportGroup>
 32    <PropertyGroup Label="UserMacros" />
 33    <PropertyGroup>
 34      <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir>
 35      <TargetName>PowerToys.ZoomItModuleInterface</TargetName>
 36    </PropertyGroup>
 37    <ItemDefinitionGroup>
 38      <ClCompile>
 39        <AdditionalIncludeDirectories>..\.;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 40      </ClCompile>
 41      <Link>
 42        <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
 43        <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
 44      </Link>
 45    </ItemDefinitionGroup>
 46    <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
 47      <ClCompile>
 48        <SDLCheck>true</SDLCheck>
 49        <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 50        <ConformanceMode>true</ConformanceMode>
 51      </ClCompile>
 52      <Link>
 53        <SubSystem>Windows</SubSystem>
 54        <GenerateDebugInformation>true</GenerateDebugInformation>
 55        <EnableUAC>false</EnableUAC>
 56      </Link>
 57    </ItemDefinitionGroup>
 58    <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
 59      <ClCompile>
 60        <FunctionLevelLinking>true</FunctionLevelLinking>
 61        <IntrinsicFunctions>true</IntrinsicFunctions>
 62        <SDLCheck>true</SDLCheck>
 63        <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 64        <ConformanceMode>true</ConformanceMode>
 65      </ClCompile>
 66      <Link>
 67        <SubSystem>Windows</SubSystem>
 68        <EnableCOMDATFolding>true</EnableCOMDATFolding>
 69        <OptimizeReferences>true</OptimizeReferences>
 70        <GenerateDebugInformation>true</GenerateDebugInformation>
 71        <EnableUAC>false</EnableUAC>
 72      </Link>
 73    </ItemDefinitionGroup>
 74    <ItemGroup>
 75      <None Include="packages.config" />
 76    </ItemGroup>
 77    <ItemGroup>
 78      <ClInclude Include="pch.h" />
 79      <ClInclude Include="resource.h" />
 80      <ClInclude Include="trace.h" />
 81    </ItemGroup>
 82    <ItemGroup>
 83      <ResourceCompile Include="ZoomItModuleInterface.rc" />
 84    </ItemGroup>
 85    <ItemGroup>
 86      <ClCompile Include="dllmain.cpp" />
 87      <ClCompile Include="pch.cpp">
 88        <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
 89      </ClCompile>
 90      <ClCompile Include="trace.cpp" />
 91    </ItemGroup>
 92    <ItemGroup>
 93      <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj">
 94        <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
 95      </ProjectReference>
 96      <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj">
 97        <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project>
 98      </ProjectReference>
 99    </ItemGroup>
100    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
101    <ImportGroup Label="ExtensionTargets">
102      <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')" />
103    <Import Project="$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
104    </ImportGroup>
105    <Import Project="$(RepoRoot)deps\spdlog.props" />
106    <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
107      <PropertyGroup>
108        <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>
109      </PropertyGroup>
110      <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'))" />
111      <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
112    </Target>
113  </Project>