Skip to content

Commit

Permalink
some project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Jan 5, 2021
1 parent ca6a5fb commit b3601ab
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 79 deletions.
1 change: 1 addition & 0 deletions src/cascadia/CommandlineArgs/AppCommandlineArgs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT license.
#pragma once

#include <CLI11/CLI11.hpp>
#include "Commandline.h"

#ifdef UNIT_TESTING
Expand Down
8 changes: 0 additions & 8 deletions src/cascadia/CommandlineArgs/CommandlineArgs.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
<ClInclude Include="AppCommandlineArgs.h" />
<ClInclude Include="Commandline.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="PlaceholderType.h">
<DependentUpon>PlaceholderType.idl</DependentUpon>
</ClInclude>
</ItemGroup>
<!-- ========================= Cpp Files ======================== -->
<ItemGroup>
Expand All @@ -38,14 +35,9 @@
<ClCompile Include="pch.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="PlaceholderType.cpp">
<DependentUpon>PlaceholderType.idl</DependentUpon>
</ClCompile>
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
</ItemGroup>
<!-- ========================= idl Files ======================== -->
<ItemGroup>
<Midl Include="PlaceholderType.idl" />
</ItemGroup>
<!-- ========================= Misc Files ======================== -->
<ItemGroup>
Expand Down
10 changes: 0 additions & 10 deletions src/cascadia/CommandlineArgs/PlaceholderType.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions src/cascadia/CommandlineArgs/PlaceholderType.h

This file was deleted.

21 changes: 0 additions & 21 deletions src/cascadia/CommandlineArgs/PlaceholderType.idl

This file was deleted.

6 changes: 5 additions & 1 deletion src/cascadia/TerminalApp/TerminalAppLib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

<ClCompile>
<!-- For CLI11: It uses dynamic_cast to cast types around, which depends
on being compiled with RTTI (/GR). -->
on being compiled with RTTI (/GR). We need this in this project, because
we're including the CLI11 header via the CommandlineArgs project. -->
<RuntimeTypeInfo>true</RuntimeTypeInfo>
</ClCompile>
</ItemDefinitionGroup>
Expand Down Expand Up @@ -287,6 +288,9 @@
<ProjectReference Include="$(OpenConsoleDir)src\cascadia\CommandlineArgs\CommandlineArgs.vcxproj" >
<Private>true</Private>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
<!-- Make sure to set ReferenceOutputAssembly=false, or we'll try and
MDMERGE with MUX from the CommandlineArgs output, and get duplicate type
errors everywhere. -->
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="$(OpenConsoleDir)src\cascadia\WinRTUtils\WinRTUtils.vcxproj">
Expand Down
2 changes: 0 additions & 2 deletions src/cascadia/TerminalApp/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,5 @@ TRACELOGGING_DECLARE_PROVIDER(g_hTerminalAppProvider);

#include <winrt/Windows.UI.Popups.h>

#include <CLI11/CLI11.hpp>

// Manually include til after we include Windows.Foundation to give it winrt superpowers
#include "til.h"

0 comments on commit b3601ab

Please sign in to comment.