summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-22 14:11:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-22 14:11:15 +0300
commit9f75de77d912d11d49d36a9c87b3b94fe43209f1 (patch)
tree28c98e19d9ab4189f2926399aeac3b8ced554809 /protocols/Discord
parent0a206851b86dee002ffa3467d9dbfd35eb0c9128 (diff)
fix for broken project file compatibility in VS2019 16.6.0
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/discord.vcxproj27
-rw-r--r--protocols/Discord/discord.vcxproj.filters69
-rw-r--r--protocols/Discord/proto_discord/Proto_Discord.vcxproj5
3 files changed, 94 insertions, 7 deletions
diff --git a/protocols/Discord/discord.vcxproj b/protocols/Discord/discord.vcxproj
index 44e21b16ef..ac4c73bd0f 100644
--- a/protocols/Discord/discord.vcxproj
+++ b/protocols/Discord/discord.vcxproj
@@ -26,6 +26,29 @@
<Import Project="$(ProjectDir)..\..\build\vc.common\plugin.props" />
</ImportGroup>
<ItemGroup>
+ <ClCompile Include="src\avatars.cpp" />
+ <ClCompile Include="src\connection.cpp" />
+ <ClCompile Include="src\dispatch.cpp" />
+ <ClCompile Include="src\gateway.cpp" />
+ <ClCompile Include="src\groupchat.cpp" />
+ <ClCompile Include="src\guilds.cpp" />
+ <ClCompile Include="src\http.cpp" />
+ <ClCompile Include="src\main.cpp" />
+ <ClCompile Include="src\menus.cpp" />
+ <ClCompile Include="src\options.cpp" />
+ <ClCompile Include="src\proto.cpp" />
+ <ClCompile Include="src\server.cpp" />
+ <ClCompile Include="src\stdafx.cxx">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
+ <ClCompile Include="src\utils.cpp" />
+ <ClCompile Include="src\voice.cpp" />
+ <ClInclude Include="src\proto.h" />
+ <ClInclude Include="src\resource.h" />
+ <ClInclude Include="src\stdafx.h" />
+ <ClInclude Include="src\version.h" />
+ </ItemGroup>
+ <ItemGroup>
<ProjectReference Include="..\..\libs\zlib\zlib.vcxproj">
<Project>{01F9E227-06F5-4BED-907F-402CA7DFAFE6}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
@@ -36,4 +59,8 @@
<Project>{f6a9340e-b8d9-4c75-be30-47dc66d0abc7}</Project>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="res\discord.rc" />
+ <ResourceCompile Include="res\version.rc" />
+ </ItemGroup>
</Project> \ No newline at end of file
diff --git a/protocols/Discord/discord.vcxproj.filters b/protocols/Discord/discord.vcxproj.filters
index 83cffdb711..18314b26b0 100644
--- a/protocols/Discord/discord.vcxproj.filters
+++ b/protocols/Discord/discord.vcxproj.filters
@@ -2,17 +2,72 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(ProjectDir)..\..\build\vc.common\common.filters" />
<ItemGroup>
- <ClInclude Include="src\*.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClCompile Include="src\*.cpp;src\*.cxx">
+ <ClCompile Include="src\avatars.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\connection.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\dispatch.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\gateway.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\groupchat.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\guilds.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\http.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\main.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\menus.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\options.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\proto.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ResourceCompile Include="res\*.rc">
+ <ClCompile Include="src\server.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\stdafx.cxx">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\utils.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\voice.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="src\proto.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\resource.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\stdafx.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\version.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="res\discord.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
- <None Include="res\*.ico;res\*.bmp;res\*.cur">
+ <ResourceCompile Include="res\version.rc">
<Filter>Resource Files</Filter>
- </None>
+ </ResourceCompile>
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/protocols/Discord/proto_discord/Proto_Discord.vcxproj b/protocols/Discord/proto_discord/Proto_Discord.vcxproj
index e071a134be..1986e714ec 100644
--- a/protocols/Discord/proto_discord/Proto_Discord.vcxproj
+++ b/protocols/Discord/proto_discord/Proto_Discord.vcxproj
@@ -25,4 +25,9 @@
<ImportGroup Label="PropertySheets">
<Import Project="$(ProjectDir)..\..\..\build\vc.common\icons.props" />
</ImportGroup>
+ <ItemGroup>
+ <ClCompile Include="src\stdafx.cxx">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
+ </ItemGroup>
</Project> \ No newline at end of file