mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-11 04:38:24 -06:00
Enable C++/WinRT Optimizations for local component builds (#949)
Fixes #945.
This commit is contained in:
parent
06a5583c86
commit
798912c2f4
@ -5,6 +5,8 @@
|
||||
|
||||
#include "XamlApplication.h"
|
||||
|
||||
#include "XamlApplication.g.cpp"
|
||||
|
||||
namespace xaml = ::winrt::Windows::UI::Xaml;
|
||||
|
||||
extern "C" {
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
#include <filesystem>
|
||||
#include <winrt/Microsoft.UI.Xaml.XamlTypeInfo.h>
|
||||
|
||||
#include "App.g.cpp"
|
||||
|
||||
using namespace winrt::Windows::ApplicationModel::DataTransfer;
|
||||
using namespace winrt::Windows::UI::Xaml;
|
||||
using namespace winrt::Windows::UI::Core;
|
||||
|
||||
@ -5,6 +5,8 @@
|
||||
#include "AppKeyBindings.h"
|
||||
#include "KeyChordSerialization.h"
|
||||
|
||||
#include "AppKeyBindings.g.cpp"
|
||||
|
||||
using namespace winrt::Microsoft::Terminal;
|
||||
using namespace winrt::TerminalApp;
|
||||
using namespace winrt::Windows::Data::Json;
|
||||
|
||||
@ -11,6 +11,8 @@
|
||||
#define STARTF_USESTDHANDLES 0x00000100
|
||||
#endif
|
||||
|
||||
#include "ConhostConnection.g.cpp"
|
||||
|
||||
#include <conpty-universal.h>
|
||||
#include "../../types/inc/Utils.hpp"
|
||||
|
||||
|
||||
@ -5,6 +5,8 @@
|
||||
#include "EchoConnection.h"
|
||||
#include <sstream>
|
||||
|
||||
#include "EchoConnection.g.cpp"
|
||||
|
||||
namespace winrt::Microsoft::Terminal::TerminalConnection::implementation
|
||||
{
|
||||
EchoConnection::EchoConnection()
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
#include <WinUser.h>
|
||||
#include "..\..\types\inc\GlyphWidth.hpp"
|
||||
|
||||
#include "TermControl.g.cpp"
|
||||
|
||||
using namespace ::Microsoft::Console::Types;
|
||||
using namespace ::Microsoft::Terminal::Core;
|
||||
using namespace winrt::Windows::UI::Xaml;
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
#include "pch.h"
|
||||
#include "KeyChord.h"
|
||||
|
||||
#include "KeyChord.g.cpp"
|
||||
|
||||
namespace winrt::Microsoft::Terminal::Settings::implementation
|
||||
{
|
||||
KeyChord::KeyChord(bool ctrl, bool alt, bool shift, int32_t vkey) :
|
||||
|
||||
@ -5,6 +5,8 @@
|
||||
#include "TerminalSettings.h"
|
||||
#include <DefaultSettings.h>
|
||||
|
||||
#include "TerminalSettings.g.cpp"
|
||||
|
||||
namespace winrt::Microsoft::Terminal::Settings::implementation
|
||||
{
|
||||
TerminalSettings::TerminalSettings() :
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion>
|
||||
<CppWinRTEnabled>true</CppWinRTEnabled>
|
||||
<CppWinRTOptimized>true</CppWinRTOptimized>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user