2020-12-15 20:16:09 +08:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project= "..\..\Version.props" />
<PropertyGroup >
2021-12-06 23:27:54 +08:00
<AssemblyTitle > PowerToys.Interop</AssemblyTitle>
2020-12-15 20:16:09 +08:00
</PropertyGroup>
2022-04-20 06:24:58 +08:00
<ItemGroup Label= "ProjectConfigurations" >
<ProjectConfiguration Include= "Debug|ARM64" >
<Configuration > Debug</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Debug|x64" >
<Configuration > Debug</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Release|ARM64" >
<Configuration > Release</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Release|x64" >
<Configuration > Release</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
</ItemGroup>
2020-12-15 20:16:09 +08:00
<PropertyGroup Label= "Globals" >
<VCProjectVersion > 16.0</VCProjectVersion>
<ProjectGuid > {F055103B-F80B-4D0C-BF48-057C55620033}</ProjectGuid>
2022-12-01 22:40:41 +08:00
<TargetFramework > net7.0-windows</TargetFramework>
2020-12-15 20:16:09 +08:00
<Keyword > ManagedCProj</Keyword>
<RootNamespace > PowerToysInterop</RootNamespace>
2021-12-06 23:27:54 +08:00
<ProjectName > PowerToys.Interop</ProjectName>
2020-12-15 20:16:09 +08:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label= "Configuration" >
<ConfigurationType > DynamicLibrary</ConfigurationType>
2022-04-20 04:00:28 +08:00
<CLRSupport > NetCore</CLRSupport>
2022-02-07 22:08:30 +08:00
<PlatformToolset > v143</PlatformToolset>
</PropertyGroup>
2020-12-15 20:16:09 +08:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "Shared" >
</ImportGroup>
2022-04-20 06:24:58 +08:00
<ImportGroup Label= "PropertySheets" >
2020-12-15 20:16:09 +08:00
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
<PropertyGroup >
2021-12-06 23:27:54 +08:00
<TargetName > PowerToys.Interop</TargetName>
2020-12-15 20:16:09 +08:00
<OutDir > $(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
2022-09-28 01:04:04 +08:00
<PropertyGroup >
<CopyCppRuntimeToOutputDir > true</CopyCppRuntimeToOutputDir>
</PropertyGroup>
2020-12-15 20:16:09 +08:00
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Debug'" >
<ClCompile >
<RuntimeLibrary > MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Release'" >
<ClCompile >
<RuntimeLibrary > MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup >
<ClCompile >
2021-06-29 18:06:12 +08:00
<PreprocessorDefinitions > PowerToysInterop;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2020-12-15 20:16:09 +08:00
<PrecompiledHeader > NotUsing</PrecompiledHeader>
<AdditionalIncludeDirectories > $(SolutionDir)src\common\interop;../../;../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<OmitDefaultLibName > false</OmitDefaultLibName>
<AdditionalOptions > /Zc:twoPhase- </AdditionalOptions>
<LanguageStandard > stdcpp17</LanguageStandard>
</ClCompile>
<Link >
2021-07-23 21:59:22 +08:00
<AdditionalDependencies > WindowsApp.lib;%(AdditionalDependencies)</AdditionalDependencies>
2020-12-15 20:16:09 +08:00
</Link>
</ItemDefinitionGroup>
<ItemGroup >
<AssemblyVersionFiles Include= "Generated Files\AssemblyInfo.cpp" />
</ItemGroup>
<Target Name= "GenerateAssemblyInfo" BeforeTargets= "PrepareForBuild" >
<ItemGroup >
<HeaderLines Include= "#include "../pch.h"" />
<HeaderLines Include= "using namespace System%3b" />
<HeaderLines Include= "using namespace System::Reflection%3b" />
<HeaderLines Include= "using namespace System::Runtime::CompilerServices%3b" />
<HeaderLines Include= "using namespace System::Runtime::InteropServices%3b" />
<HeaderLines Include= "using namespace System::Security::Permissions%3b" />
<HeaderLines Include= "[assembly: AssemblyTitleAttribute(L"$(AssemblyTitle)")]%3b" />
<HeaderLines Include= "[assembly: AssemblyDescriptionAttribute("")]%3b" />
<HeaderLines Include= "[assembly: AssemblyConfigurationAttribute("")]%3b" />
<HeaderLines Include= "[assembly: AssemblyCompanyAttribute("$(AssemblyCompany)")]%3b" />
<HeaderLines Include= "[assembly: AssemblyCopyrightAttribute("$(AssemblyCopyright)")]%3b" />
<HeaderLines Include= "[assembly: AssemblyProductAttribute("$(AssemblyTitle)")]%3b" />
<HeaderLines Include= "[assembly: AssemblyTrademarkAttribute("")]%3b" />
<HeaderLines Include= "[assembly: AssemblyCultureAttribute("")]%3b" />
<HeaderLines Include= "[assembly: AssemblyVersionAttribute("$(Version).0")]%3b" />
<HeaderLines Include= "[assembly: ComVisible(false)]%3b" />
<HeaderLines Include= "[assembly:CLSCompliantAttribute(true)]%3b" />
</ItemGroup>
<WriteLinesToFile File= "Generated Files\AssemblyInfo.cpp" Lines= "@(HeaderLines)" Overwrite= "true" Encoding= "Unicode" WriteOnlyWhenDifferent= "true" />
</Target>
<ItemGroup >
2021-06-29 18:06:12 +08:00
<ClInclude Include= "..\..\modules\videoconference\VideoConferenceShared\MicrophoneDevice.h" />
<ClInclude Include= "..\..\modules\videoconference\VideoConferenceShared\VideoCaptureDeviceList.h" />
2020-12-15 20:16:09 +08:00
<ClInclude Include= "HotkeyManager.h" />
<ClInclude Include= "KeyboardHook.h" />
<ClInclude Include= "pch.h" />
<ClInclude Include= "resource.h" />
2021-04-09 01:42:46 +08:00
<ClInclude Include= "shared_constants.h" />
2020-12-15 20:16:09 +08:00
</ItemGroup>
<ItemGroup >
2021-06-29 18:06:12 +08:00
<ClCompile Include= "..\..\modules\videoconference\VideoConferenceShared\MicrophoneDevice.cpp" >
<CompileAsManaged > false</CompileAsManaged>
2021-09-13 20:00:44 +08:00
</ClCompile>
2021-06-29 18:06:12 +08:00
<ClCompile Include= "..\..\modules\videoconference\VideoConferenceShared\VideoCaptureDeviceList.cpp" >
<CompileAsManaged > false</CompileAsManaged>
2021-09-13 20:00:44 +08:00
</ClCompile>
2020-12-15 20:16:09 +08:00
<ClCompile Include= "Generated Files\AssemblyInfo.cpp" />
<ClCompile Include= "HotkeyManager.cpp" />
<ClCompile Include= "interop.cpp" />
<ClCompile Include= "KeyboardHook.cpp" />
<ClCompile Include= "keyboard_layout.cpp" >
2020-12-18 20:25:58 +08:00
<CompileAsManaged > false</CompileAsManaged>
2020-12-15 20:16:09 +08:00
</ClCompile>
<ClCompile Include= "two_way_pipe_message_ipc.cpp" >
2020-12-18 20:25:58 +08:00
<CompileAsManaged > false</CompileAsManaged>
2020-12-15 20:16:09 +08:00
</ClCompile>
</ItemGroup>
<ItemGroup >
<ResourceCompile Include= "interop.rc" />
</ItemGroup>
2021-06-29 18:06:12 +08:00
<ItemGroup >
<None Include= "packages.config" />
</ItemGroup>
2021-09-13 20:00:44 +08:00
<ImportGroup Label= "ExtensionTargets" />
2020-12-15 20:16:09 +08:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
2022-11-03 19:46:05 +08:00
<Import Project= "..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition= "Exists('..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
2020-12-15 20:16:09 +08:00
</ImportGroup>
2021-09-13 20:00:44 +08: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>
2022-11-03 19:46:05 +08:00
<Error Condition= "!Exists('..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
2021-09-13 20:00:44 +08:00
</Target>
2020-04-21 12:01:21 +08:00
</Project>