906edf7002
- Implements the default application behavior and handoff mechanisms between console and terminal. The inbox portion is done already. This adds the ability for our OpenConsole.exe to accept the incoming server connection from the Windows OS, stand up a PTY session, start the Windows Terminal as a listener for an incoming connection, and then send it the incoming PTY connection for it to launch a tab. - The tab is launched with default settings at the moment. - You must configure the default application using the `conhost.exe` propsheet or with the registry keys. Finishing the setting inside Windows Terminal will be a todo after this is complete. The OS Settings panel work to surface this setting is a dependency delivered by another team and you will not see it here. ## Validation Steps Performed - [x] Manual adjust of registry keys to the delegation conhost/terminal behavior - [x] Adjustment of the delegation options with the propsheet - [x] Launching things from the run box manually and watching them show in Terminal - [x] Launching things from shortcuts and watching them show in the Terminal Documentation on how it works will be a TODO post completion in #9462 References #7414 - Default Terminal spec Closes #492
71 lines
3.4 KiB
XML
71 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<ProjectGuid>{71CC9D78-BA29-4D93-946F-BEF5D9A3A6EF}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<RootNamespace>openconsoleproxy</RootNamespace>
|
|
<ProjectName>OpenConsoleProxy</ProjectName>
|
|
<TargetName>OpenConsoleProxy</TargetName>
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
</PropertyGroup>
|
|
<Import Project="$(SolutionDir)src\common.build.pre.props" />
|
|
<ItemGroup>
|
|
<Midl Include="IConsoleHandoff.idl">
|
|
<!--
|
|
In Razzle, IDL files generate %FileName%.h
|
|
In Visual Studio, IDL files generate %FileName%_h.h
|
|
Visual Studio is easier to override than Razzle.
|
|
This has to be built in both the OS and outside, so we
|
|
override the easier-to-override side to a uniform name.
|
|
-->
|
|
<HeaderFileName>IConsoleHandoff.h</HeaderFileName>
|
|
<MinimumTargetSystem>NT100</MinimumTargetSystem>
|
|
<OutputDirectory>$(IntDir)</OutputDirectory>
|
|
</Midl>
|
|
<Midl Include="ITerminalHandoff.idl">
|
|
<HeaderFileName>ITerminalHandoff.h</HeaderFileName>
|
|
<MinimumTargetSystem>NT100</MinimumTargetSystem>
|
|
<OutputDirectory>$(IntDir)</OutputDirectory>
|
|
</Midl>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="$(IntDir)\IConsoleHandoff.h" />
|
|
<ClInclude Include="$(IntDir)\ITerminalHandoff.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="$(IntDir)\dlldata.c" />
|
|
<ClCompile Include="$(IntDir)\IConsoleHandoff_i.c" />
|
|
<ClCompile Include="$(IntDir)\IConsoleHandoff_p.c" />
|
|
<ClCompile Include="$(IntDir)\ITerminalHandoff_i.c" />
|
|
<ClCompile Include="$(IntDir)\ITerminalHandoff_p.c" />
|
|
</ItemGroup>
|
|
<ItemDefinitionGroup Condition="'$(WindowsTerminalBranding)'=='Release'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>PROXY_CLSID_IS={0x3171DE52,0x6EFA,0x4AEF,{0x8A,0x9F,0xD0,0x2B,0xD6,0x7E,0x7A,0x4F}};%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(WindowsTerminalBranding)'=='Preview'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>PROXY_CLSID_IS={0x1833E661,0xCC81,0x4DD0,{0x87,0xC6,0xC2,0xF7,0x4B,0xD3,0x9E,0xFA}};%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(WindowsTerminalBranding)'==''">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>PROXY_CLSID_IS={0xDEC4804D,0x56D1,0x4F73,{0x9F,0xBE,0x68,0x28,0xE7,0xC8,0x5C,0x56}};%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<CallingConvention>StdCall</CallingConvention> <!-- Must be Stdcall on all platforms to resolve _ObjectStublessClient3 -->
|
|
<PreprocessorDefinitions>REGISTER_PROXY_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
</ClCompile>
|
|
<Link>
|
|
<ModuleDefinitionFile>OpenConsoleProxy.def</ModuleDefinitionFile>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<!-- Careful reordering these. Some default props (contained in these files) are order sensitive. -->
|
|
<Import Project="$(SolutionDir)src\common.build.post.props" />
|
|
</Project>
|