2022-08-25 05:25:52 -05:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
2022-10-12 04:19:01 -04:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props')" />
2022-08-25 05:25:52 -05:00
<Target Name= "GenerateResourceFiles" BeforeTargets= "PrepareForBuild" >
<Exec Command= "powershell -NonInteractive -executionpolicy Unrestricted $(SolutionDir)tools\build\convert-resx-to-rc.ps1 $(MSBuildThisFileDirectory) resource.base.h resource.h PowerOCR.base.rc PowerOCR.rc" />
</Target>
<PropertyGroup Label= "Globals" >
<VCProjectVersion > 15.0</VCProjectVersion>
<Keyword > Win32Proj</Keyword>
<ProjectGuid > {6AB6A2D6-F859-4A82-9184-0BD29C9F07D1}</ProjectGuid>
<RootNamespace > PowerOCR</RootNamespace>
<ProjectName > PowerOCRModuleInterface</ProjectName>
<TargetName > PowerToys.PowerOCRModuleInterface</TargetName>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label= "Configuration" >
<ConfigurationType > DynamicLibrary</ConfigurationType>
<PlatformToolset > v143</PlatformToolset>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "Shared" >
</ImportGroup>
<ImportGroup Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
<PropertyGroup >
<OutDir > $(SolutionDir)$(Platform)\$(Configuration)\modules\PowerOCR\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup >
<ClCompile >
<PreprocessorDefinitions > EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories > ..\..\..\common\inc;..\..\..\common\Telemetry;..\..\;..\..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link >
<OutputFile > $(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Link>
</ItemDefinitionGroup>
<ItemGroup >
<ClInclude Include= "PowerOcrConstants.h" />
<ClInclude Include= "pch.h" />
<None Include= "packages.config" />
<None Include= "resource.base.h" />
<ClInclude Include= "trace.h" />
<ClInclude Include= "Generated Files\resource.h" />
</ItemGroup>
<ItemGroup >
<ClCompile Include= "dllmain.cpp" />
<ClCompile Include= "pch.cpp" >
<PrecompiledHeader Condition= "'$(CIBuild)'!='true'" > Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include= "trace.cpp" />
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\..\..\common\logger\logger.vcxproj" >
<Project > {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
</ProjectReference>
<ProjectReference Include= "..\..\..\common\SettingsAPI\SettingsAPI.vcxproj" >
<Project > {6955446d-23f7-4023-9bb3-8657f904af99}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup >
<None Include= "PowerOCR.base.rc" />
<ResourceCompile Include= "Generated Files\PowerOCR.rc" />
</ItemGroup>
<ItemGroup >
<None Include= "Resources.resx" >
<SubType > Designer</SubType>
</None>
</ItemGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project= "..\..\..\..\deps\spdlog.props" />
<ImportGroup Label= "ExtensionTargets" >
2022-10-12 04:19:01 -04:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets')" />
2022-08-25 05:25:52 -05:00
</ImportGroup>
<Target Name= "EnsureNuGetPackageBuildImports" BeforeTargets= "PrepareForBuild" >
<PropertyGroup >
<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>
</PropertyGroup>
2022-10-12 04:19:01 -04:00
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets'))" />
2022-08-25 05:25:52 -05:00
</Target>
</Project>