mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
* Added PowerLauncher resource files * Fixed typo in language * Updated localized .NET framework projects to include all resx files * Fixed typo in FZEditor.csproj * Added FZ Editor (.NET framework) resource dlls * Updated pipeline * Tweaked artifact statement to get all resource dlls in pipeline * Fix SvgPreviewHandler resx inclusion in csproj * Added condition to allow local MSI builds to run without resources * Generalized directory code * Added all resources that are to be added from C# projects, Settings UWP pending * Added markdown prev handler as keypath * Added loc script for Settings to move resw files to UWP file format * Separate markdown and svg resource components to allow guid auto-generation * Removed old image resizer resources * Fixed formatting * Changed tabs to space
207 lines
11 KiB
XML
207 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<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')" />
|
|
<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>
|
|
<Target Name="GenerateResourceFiles" BeforeTargets="PrepareForBuild">
|
|
<Exec Command="powershell -NonInteractive -executionpolicy Unrestricted $(SolutionDir)tools\build\convert-resx-to-rc.ps1 . resource.base.h resource.h ImageResizerExt.base.rc ImageResizerExt.rc" />
|
|
</Target>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{0B43679E-EDFA-4DA0-AD30-F4628B308B1B}</ProjectGuid>
|
|
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
|
|
<Keyword>AtlProj</Keyword>
|
|
<CppWinRTModernIDL>false</CppWinRTModernIDL>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<UseOfAtl>Static</UseOfAtl>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
<SpectreMitigation>Spectre</SpectreMitigation>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<UseOfAtl>Static</UseOfAtl>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
<SpectreMitigation>Spectre</SpectreMitigation>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</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'">
|
|
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\modules\ImageResizer\</OutDir>
|
|
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\</IntDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\modules\ImageResizer\</OutDir>
|
|
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\</IntDir>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>_WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<SDLCheck>true</SDLCheck>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<AdditionalIncludeDirectories>..\..\..\common\inc;..\..\..\common\Telemetry;..\..\;..\..\..\;..\..\..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<LanguageStandard>stdcpplatest</LanguageStandard>
|
|
</ClCompile>
|
|
<Midl>
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<HeaderFileName>ImageResizerExt_i.h</HeaderFileName>
|
|
<InterfaceIdentifierFileName>ImageResizerExt_i.c</InterfaceIdentifierFileName>
|
|
<ProxyFileName>ImageResizerExt_p.c</ProxyFileName>
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
<TypeLibraryName>$(IntDir)ImageResizerExt.tlb</TypeLibraryName>
|
|
<DllDataFileName />
|
|
<ValidateAllParameters>true</ValidateAllParameters>
|
|
</Midl>
|
|
<ResourceCompile>
|
|
<Culture>0x0409</Culture>
|
|
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<ModuleDefinitionFile>.\ImageResizerExt.def</ModuleDefinitionFile>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<RegisterOutput>true</RegisterOutput>
|
|
<PerUserRedirection>true</PerUserRedirection>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<PreprocessorDefinitions>_WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<SDLCheck>true</SDLCheck>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<AdditionalIncludeDirectories>..\..\..\common\inc;..\..\..\common\Telemetry;..\..\;..\..\..\;..\..\..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<LanguageStandard>stdcpplatest</LanguageStandard>
|
|
</ClCompile>
|
|
<Midl>
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<HeaderFileName>ImageResizerExt_i.h</HeaderFileName>
|
|
<InterfaceIdentifierFileName>ImageResizerExt_i.c</InterfaceIdentifierFileName>
|
|
<ProxyFileName>ImageResizerExt_p.c</ProxyFileName>
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
<TypeLibraryName>$(IntDir)ImageResizerExt.tlb</TypeLibraryName>
|
|
<DllDataFileName />
|
|
<ValidateAllParameters>true</ValidateAllParameters>
|
|
</Midl>
|
|
<ResourceCompile>
|
|
<Culture>0x0409</Culture>
|
|
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<ModuleDefinitionFile>.\ImageResizerExt.def</ModuleDefinitionFile>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<RegisterOutput>true</RegisterOutput>
|
|
<PerUserRedirection>true</PerUserRedirection>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(CIBuild)'!='true'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</MultiProcessorCompilation>
|
|
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</MultiProcessorCompilation>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="ContextMenuHandler.cpp" />
|
|
<ClCompile Include="HDropIterator.cpp" />
|
|
<ClCompile Include="dllmain.cpp">
|
|
<CompileAsManaged Condition="'$(CIBuild)'!='true'">false</CompileAsManaged>
|
|
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">
|
|
</PrecompiledHeader>
|
|
</ClCompile>
|
|
<ClCompile Include="ImageResizerExt.cpp" />
|
|
<ClCompile Include="ImageResizerExt_i.c">
|
|
<CompileAsManaged Condition="'$(CIBuild)'!='true'">false</CompileAsManaged>
|
|
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">
|
|
</PrecompiledHeader>
|
|
</ClCompile>
|
|
<ClCompile Include="Settings.cpp" />
|
|
<ClCompile Include="pch.cpp">
|
|
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">Create</PrecompiledHeader>
|
|
</ClCompile>
|
|
<ClCompile Include="trace.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="ContextMenuHandler.h" />
|
|
<ClInclude Include="HDropIterator.h" />
|
|
<ClInclude Include="dllmain.h" />
|
|
<None Include="resource.base.h" />
|
|
<ClInclude Include="Settings.h" />
|
|
<ClInclude Include="Generated Files/resource.h" />
|
|
<ClInclude Include="ImageResizerExt_i.h" />
|
|
<ClInclude Include="pch.h" />
|
|
<ClInclude Include="targetver.h" />
|
|
<ClInclude Include="trace.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ResourceCompile Include="Generated Files/ImageResizerExt.rc" />
|
|
<None Include="ImageResizerExt.base.rc" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="ContextMenuHandler.rgs" />
|
|
<None Include="ImageResizerExt.def" />
|
|
<None Include="ImageResizerExt.rgs" />
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Midl Include="ImageResizerExt.idl" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\..\common\common.vcxproj">
|
|
<Project>{74485049-c722-400f-abe5-86ac52d929b3}</Project>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Image Include="..\ui\Resources\ImageResizer.ico" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Resources.resx" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
<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')" />
|
|
</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>
|
|
<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'))" />
|
|
</Target>
|
|
</Project> |