/ src / modules / previewpane / BgcodeThumbnailProviderCpp / BgcodeThumbnailProviderCpp.vcxproj
BgcodeThumbnailProviderCpp.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>16.0</VCProjectVersion>
  7      <Keyword>Win32Proj</Keyword>
  8      <ProjectGuid>{47B0678C-806B-4FE1-9F50-46BA88989532}</ProjectGuid>
  9      <RootNamespace>BgcodeThumbnailProviderCpp</RootNamespace>
 10    </PropertyGroup>
 11    <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
 12      <ConfigurationType>DynamicLibrary</ConfigurationType>
 13      <UseDebugLibraries>true</UseDebugLibraries>
 14      
 15      <CharacterSet>Unicode</CharacterSet>
 16    </PropertyGroup>
 17    <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
 18      <ConfigurationType>DynamicLibrary</ConfigurationType>
 19      <UseDebugLibraries>false</UseDebugLibraries>
 20      
 21      <WholeProgramOptimization>true</WholeProgramOptimization>
 22      <CharacterSet>Unicode</CharacterSet>
 23    </PropertyGroup>
 24    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 25    <ImportGroup Label="ExtensionSettings">
 26    </ImportGroup>
 27    <ImportGroup Label="Shared">
 28    </ImportGroup>
 29    <ImportGroup Label="PropertySheets">
 30      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 31    </ImportGroup>
 32    <PropertyGroup Label="UserMacros" />
 33    <PropertyGroup>
 34      <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir>
 35    </PropertyGroup>
 36    <PropertyGroup>
 37      <TargetName>PowerToys.$(ProjectName)</TargetName>
 38    </PropertyGroup>
 39    <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
 40      <ClCompile>
 41        <WarningLevel>Level3</WarningLevel>
 42        <SDLCheck>true</SDLCheck>
 43        <PreprocessorDefinitions>_DEBUG;MARKDOWNPREVIEWHANDLERCPP_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 44        <ConformanceMode>true</ConformanceMode>
 45        <AdditionalIncludeDirectories>../../..</AdditionalIncludeDirectories>
 46      </ClCompile>
 47      <Link>
 48        <SubSystem>Windows</SubSystem>
 49        <GenerateDebugInformation>true</GenerateDebugInformation>
 50        <EnableUAC>false</EnableUAC>
 51        <ModuleDefinitionFile>GlobalExportFunctions.def</ModuleDefinitionFile>
 52        <AdditionalDependencies>Shlwapi.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
 53      </Link>
 54    </ItemDefinitionGroup>
 55    <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
 56      <ClCompile>
 57        <WarningLevel>Level3</WarningLevel>
 58        <FunctionLevelLinking>true</FunctionLevelLinking>
 59        <IntrinsicFunctions>true</IntrinsicFunctions>
 60        <SDLCheck>true</SDLCheck>
 61        <PreprocessorDefinitions>NDEBUG;MARKDOWNPREVIEWHANDLERCPP_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 62        <ConformanceMode>true</ConformanceMode>
 63        <AdditionalIncludeDirectories>../../..</AdditionalIncludeDirectories>
 64      </ClCompile>
 65      <Link>
 66        <SubSystem>Windows</SubSystem>
 67        <EnableCOMDATFolding>true</EnableCOMDATFolding>
 68        <OptimizeReferences>true</OptimizeReferences>
 69        <GenerateDebugInformation>true</GenerateDebugInformation>
 70        <EnableUAC>false</EnableUAC>
 71        <ModuleDefinitionFile>GlobalExportFunctions.def</ModuleDefinitionFile>
 72        <AdditionalDependencies>Shlwapi.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
 73      </Link>
 74    </ItemDefinitionGroup>
 75    <ItemGroup>
 76      <ClInclude Include="ClassFactory.h" />
 77      <ClInclude Include="BgcodeThumbnailProvider.h" />
 78      <ClInclude Include="pch.h" />
 79      <ClInclude Include="resource.h" />
 80    </ItemGroup>
 81    <ItemGroup>
 82      <ClCompile Include="ClassFactory.cpp" />
 83      <ClCompile Include="dllmain.cpp" />
 84      <ClCompile Include="BgcodeThumbnailProvider.cpp" />
 85      <ClCompile Include="pch.cpp">
 86        <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
 87      </ClCompile>
 88    </ItemGroup>
 89    <ItemGroup>
 90      <None Include="GlobalExportFunctions.def" />
 91      <None Include="packages.config" />
 92    </ItemGroup>
 93    <ItemGroup>
 94      <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj">
 95        <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
 96      </ProjectReference>
 97      <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj">
 98        <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project>
 99      </ProjectReference>
100    </ItemGroup>
101    <ItemGroup>
102      <ResourceCompile Include="BgcodeThumbnailProviderCpp.rc" />
103    </ItemGroup>
104    <Import Project="$(RepoRoot)deps\spdlog.props" />
105    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
106    <ImportGroup Label="ExtensionTargets">
107      <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')" />
108      <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')" />
109    </ImportGroup>
110    <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
111      <PropertyGroup>
112        <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>
113      </PropertyGroup>
114      <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'))" />
115      <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'))" />
116      <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'))" />
117    </Target>
118  </Project>