2020-03-11 15:53:49 -07:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets= "Build" ToolsVersion= "15.0" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
2020-07-30 11:37:15 -07:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props')" />
2020-03-11 15:53:49 -07:00
<ItemGroup Label= "ProjectConfigurations" >
<ProjectConfiguration Include= "Debug|x64" >
<Configuration > Debug</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Release|x64" >
<Configuration > Release</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
</ItemGroup>
2020-08-24 15:10:50 -07:00
<Target Name= "GenerateResourceFiles" BeforeTargets= "PrepareForBuild" >
<Exec Command= "powershell -NonInteractive -executionpolicy Unrestricted $(SolutionDir)tools\build\convert-resx-to-rc.ps1 . resource.base.h resource.h powerpreview.base.rc powerpreview.rc" />
</Target>
2020-03-11 15:53:49 -07:00
<PropertyGroup Label= "Globals" >
<VCProjectVersion > 15.0</VCProjectVersion>
<ProjectGuid > {217DF501-135C-4E38-BFC8-99D4821032EA}</ProjectGuid>
<Keyword > Win32Proj</Keyword>
<RootNamespace > examplepowertoy</RootNamespace>
2020-04-29 13:02:18 -07:00
<WindowsTargetPlatformVersion > 10.0.17134.0</WindowsTargetPlatformVersion>
2020-03-11 15:53:49 -07:00
<ProjectName > powerpreview</ProjectName>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" Label= "Configuration" >
<ConfigurationType > DynamicLibrary</ConfigurationType>
<UseDebugLibraries > true</UseDebugLibraries>
<PlatformToolset > v142</PlatformToolset>
<CharacterSet > Unicode</CharacterSet>
2020-05-12 20:52:02 -07:00
<SpectreMitigation > Spectre</SpectreMitigation>
2020-03-11 15:53:49 -07:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" Label= "Configuration" >
<ConfigurationType > DynamicLibrary</ConfigurationType>
<UseDebugLibraries > false</UseDebugLibraries>
<PlatformToolset > v142</PlatformToolset>
<WholeProgramOptimization > true</WholeProgramOptimization>
<CharacterSet > Unicode</CharacterSet>
2020-05-12 20:52:02 -07:00
<SpectreMitigation > Spectre</SpectreMitigation>
2020-03-11 15:53:49 -07:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "Shared" >
</ImportGroup>
<ImportGroup Label= "PropertySheets" Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label= "PropertySheets" Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<LinkIncremental > true</LinkIncremental>
2020-05-04 07:42:05 -07:00
<OutDir > $(SolutionDir)$(Platform)\$(Configuration)\modules\FileExplorerPreview\</OutDir>
2020-03-20 21:41:48 +03:00
<IntDir > $(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\</IntDir>
2020-03-11 15:53:49 -07:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<LinkIncremental > false</LinkIncremental>
2020-05-04 07:42:05 -07:00
<OutDir > $(SolutionDir)$(Platform)\$(Configuration)\modules\FileExplorerPreview\</OutDir>
2020-03-20 21:41:48 +03:00
<IntDir > $(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\</IntDir>
2020-03-11 15:53:49 -07:00
</PropertyGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<Optimization > Disabled</Optimization>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > _DEBUG;EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories > ..\;..\..\..\common;..\..\..\common\telemetry;..\..\;..\..\..\;..\..\..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary > MultiThreadedDebug</RuntimeLibrary>
<LanguageStandard > stdcpplatest</LanguageStandard>
</ClCompile>
<Link >
<SubSystem > Windows</SubSystem>
<GenerateDebugInformation > true</GenerateDebugInformation>
<OutputFile > $(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<ModuleDefinitionFile > powerpreview.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<Optimization > MaxSpeed</Optimization>
<FunctionLevelLinking > true</FunctionLevelLinking>
<IntrinsicFunctions > true</IntrinsicFunctions>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > NDEBUG;EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2020-10-09 14:45:30 -07:00
<AdditionalIncludeDirectories > ..\;..\..\..\common;..\..\..\common\telemetry;..\..\;..\..\..\;..\..\..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2020-03-11 15:53:49 -07:00
<RuntimeLibrary > MultiThreaded</RuntimeLibrary>
<LanguageStandard > stdcpplatest</LanguageStandard>
</ClCompile>
<Link >
<SubSystem > Windows</SubSystem>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
<GenerateDebugInformation > true</GenerateDebugInformation>
<OutputFile > $(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<ModuleDefinitionFile > powerpreview.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
2020-05-25 10:59:05 +03:00
<ItemDefinitionGroup Condition= "'$(CIBuild)'!='true'" >
<ClCompile >
<PrecompiledHeader > Use</PrecompiledHeader>
<PrecompiledHeaderFile > pch.h</PrecompiledHeaderFile>
2020-07-28 17:20:01 +03:00
<MultiProcessorCompilation Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" > true</MultiProcessorCompilation>
<MultiProcessorCompilation Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" > true</MultiProcessorCompilation>
2020-05-25 10:59:05 +03:00
</ClCompile>
</ItemDefinitionGroup>
2020-03-11 15:53:49 -07:00
<ItemGroup >
<ClInclude Include= "CLSID.h" />
<ClInclude Include= "pch.h" />
2020-10-19 16:07:02 -07:00
<ClInclude Include= "powerpreviewConstants.h" />
2020-10-09 14:45:30 -07:00
<ClInclude Include= "preview_handler.h" />
2020-03-11 15:53:49 -07:00
<ClInclude Include= "registry_wrapper.h" />
<ClInclude Include= "registry_wrapper_interface.h" />
2020-08-24 15:10:50 -07:00
<ClInclude Include= "Generated Files/resource.h" />
<None Include= "resource.base.h" />
2020-03-11 15:53:49 -07:00
<ClInclude Include= "settings.h" />
2020-10-09 14:45:30 -07:00
<ClInclude Include= "thumbnail_provider.h" />
2020-03-11 15:53:49 -07:00
<ClInclude Include= "trace.h" />
</ItemGroup>
<ItemGroup >
<ClCompile Include= "dllmain.cpp" />
<ClCompile Include= "pch.cpp" >
2020-05-25 10:59:05 +03:00
<PrecompiledHeader Condition= "'$(CIBuild)'!='true'" > Create</PrecompiledHeader>
2020-03-11 15:53:49 -07:00
</ClCompile>
<ClCompile Include= "powerpreview.cpp" />
2020-03-24 16:23:27 -07:00
<ClInclude Include= "powerpreview.h" />
2020-10-09 14:45:30 -07:00
<ClCompile Include= "preview_handler.cpp" />
2020-03-11 15:53:49 -07:00
<ClCompile Include= "registry_wrapper.cpp" />
<ClCompile Include= "settings.cpp" />
2020-10-09 14:45:30 -07:00
<ClCompile Include= "thumbnail_provider.cpp" />
2020-03-11 15:53:49 -07:00
<ClCompile Include= "trace.cpp" />
</ItemGroup>
<ItemGroup >
2020-08-24 15:10:50 -07:00
<ResourceCompile Include= "Generated Files/powerpreview.rc" />
<None Include= "powerpreview.base.rc" />
2020-03-11 15:53:49 -07:00
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\..\..\common\common.vcxproj" >
<Project > {74485049-c722-400f-abe5-86ac52d929b3}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup >
2020-04-29 13:02:18 -07:00
<None Include= "packages.config" />
2020-03-11 15:53:49 -07:00
<None Include= "powerpreview.def" />
</ItemGroup>
2020-08-24 15:10:50 -07:00
<ItemGroup >
<None Include= "Resources.resx" />
</ItemGroup>
2020-03-11 15:53:49 -07:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
2020-07-30 11:37:15 -07:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets')" />
2020-03-11 15:53:49 -07:00
</ImportGroup>
2020-04-29 13:02:18 -07:00
<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>
2020-07-30 11:37:15 -07:00
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets'))" />
2020-04-29 13:02:18 -07:00
</Target>
2020-03-11 15:53:49 -07:00
</Project>