mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
101 lines
5.5 KiB
XML
101 lines
5.5 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.220418.1\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220418.1\build\native\Microsoft.Windows.CppWinRT.props')" />
|
||
|
|
<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 HostsModuleInterface.base.rc HostsModuleInterface.rc" />
|
||
|
|
</Target>
|
||
|
|
<PropertyGroup Label="Globals">
|
||
|
|
<VCProjectVersion>16.0</VCProjectVersion>
|
||
|
|
<ProjectGuid>{B41B888C-7DB8-4747-B262-4062E05A230D}</ProjectGuid>
|
||
|
|
<Keyword>Win32Proj</Keyword>
|
||
|
|
<RootNamespace>HostsModuleInterface</RootNamespace>
|
||
|
|
<ProjectName>HostsModuleInterface</ProjectName>
|
||
|
|
</PropertyGroup>
|
||
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||
|
|
<PlatformToolset>v143</PlatformToolset>
|
||
|
|
<CharacterSet>Unicode</CharacterSet>
|
||
|
|
</PropertyGroup>
|
||
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||
|
|
<PlatformToolset>v143</PlatformToolset>
|
||
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||
|
|
<CharacterSet>Unicode</CharacterSet>
|
||
|
|
</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\Hosts\</OutDir>
|
||
|
|
<TargetName>PowerToys.HostsModuleInterface</TargetName>
|
||
|
|
</PropertyGroup>
|
||
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
||
|
|
<LinkIncremental>true</LinkIncremental>
|
||
|
|
</PropertyGroup>
|
||
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
||
|
|
<LinkIncremental>false</LinkIncremental>
|
||
|
|
</PropertyGroup>
|
||
|
|
<ItemDefinitionGroup>
|
||
|
|
<ClCompile>
|
||
|
|
<AdditionalIncludeDirectories>$(SolutionDir)src\;$(SolutionDir)src\modules;$(SolutionDir)src\common\Telemetry;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||
|
|
</ClCompile>
|
||
|
|
</ItemDefinitionGroup>
|
||
|
|
<ItemDefinitionGroup Condition="'$(CIBuild)'!='true'">
|
||
|
|
<ClCompile>
|
||
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||
|
|
</ClCompile>
|
||
|
|
</ItemDefinitionGroup>
|
||
|
|
<ItemGroup>
|
||
|
|
<None Include="resource.base.h" />
|
||
|
|
<ClInclude Include="Generated Files\resource.h" />
|
||
|
|
<ClInclude Include="trace.h" />
|
||
|
|
<ClInclude Include="pch.h" />
|
||
|
|
</ItemGroup>
|
||
|
|
<ItemGroup>
|
||
|
|
<ClCompile Include="trace.cpp" />
|
||
|
|
<ClCompile Include="pch.cpp">
|
||
|
|
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">Create</PrecompiledHeader>
|
||
|
|
</ClCompile>
|
||
|
|
<ClCompile Include="dllmain.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="HostsModuleInterface.base.rc" />
|
||
|
|
<ResourceCompile Include="Generated Files\HostsModuleInterface.rc" />
|
||
|
|
</ItemGroup>
|
||
|
|
<ItemGroup>
|
||
|
|
<None Include="packages.config" />
|
||
|
|
</ItemGroup>
|
||
|
|
<ItemGroup>
|
||
|
|
<None Include="Resource.resx" />
|
||
|
|
</ItemGroup>
|
||
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||
|
|
<Import Project="..\..\..\..\deps\spdlog.props" />
|
||
|
|
<ImportGroup Label="ExtensionTargets">
|
||
|
|
<Import Project="..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220418.1\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220418.1\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.220418.1\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220418.1\build\native\Microsoft.Windows.CppWinRT.props'))" />
|
||
|
|
<Error Condition="!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220418.1\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.220418.1\build\native\Microsoft.Windows.CppWinRT.targets'))" />
|
||
|
|
</Target>
|
||
|
|
</Project>
|