Skip to content

Commit

Permalink
Add windows application icon (VS)
Browse files Browse the repository at this point in the history
Remove incorrect ico dependencies from vcxproj part 2

.
  • Loading branch information
Souzooka committed Apr 1, 2019
1 parent f5e4552 commit 7d26851
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 20 deletions.
Binary file added DobieStation/DobieStation.aps
Binary file not shown.
Binary file added DobieStation/DobieStation.rc
Binary file not shown.
23 changes: 15 additions & 8 deletions DobieStation/DobieStation.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
<ClCompile Include="..\src\qt\emuwindow.cpp" />
<ClCompile Include="..\src\qt\renderwidget.cpp" />
<ClCompile Include="..\src\qt\settingswindow.cpp" />
<ClCompile Include="..\src\qt\gamelistwidget.cpp" />
<ClCompile Include="..\src\qt\gamelistwidget.cpp" />
<ClCompile Include="..\src\qt\bios.cpp" />
<ClCompile Include="..\src\core\errors.cpp" />
<ClCompile Include="..\src\core\iop\gamepad.cpp" />
Expand Down Expand Up @@ -207,24 +207,24 @@
<ClCompile Include="..\src\core\ee\vu_jit.cpp" />
<ClCompile Include="..\src\core\ee\vu_jit64.cpp" />
<ClCompile Include="..\src\core\ee\vu_jittrans.cpp" />
<ClCompile Include="..\src\core\scheduler.cpp" />
<ClCompile Include="..\src\core\scheduler.cpp" />
</ItemGroup>
<!-- moc files -->
<ItemGroup>
<QtMoc Include="..\src\qt\settings.hpp" />
<QtMoc Include="..\src\qt\settings.hpp" />
<QtMoc Include="..\src\qt\emuthread.hpp" />
<QtMoc Include="..\src\qt\emuwindow.hpp" />
<QtMoc Include="..\src\qt\renderwidget.hpp" />
<QtMoc Include="..\src\qt\settingswindow.hpp" />
<QtMoc Include="..\src\qt\gamelistwidget.hpp" />
<QtMoc Include="..\src\qt\gamelistwidget.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="$(QtMocOutPrefix)settings.cpp" />
<ClCompile Include="$(QtMocOutPrefix)settings.cpp" />
<ClCompile Include="$(QtMocOutPrefix)emuthread.cpp" />
<ClCompile Include="$(QtMocOutPrefix)emuwindow.cpp" />
<ClCompile Include="$(QtMocOutPrefix)renderwidget.cpp" />
<ClCompile Include="$(QtMocOutPrefix)renderwidget.cpp" />
<ClCompile Include="$(QtMocOutPrefix)settingswindow.cpp" />
<ClCompile Include="$(QtMocOutPrefix)gamelistwidget.cpp" />
<ClCompile Include="$(QtMocOutPrefix)gamelistwidget.cpp" />
</ItemGroup>
<!-- headers -->
<ItemGroup>
Expand Down Expand Up @@ -286,7 +286,8 @@
<ClInclude Include="..\src\core\ee\vu_jit.hpp" />
<ClInclude Include="..\src\core\ee\vu_jit64.hpp" />
<ClInclude Include="..\src\core\ee\vu_jittrans.hpp" />
<ClInclude Include="..\src\core\scheduler.hpp" />
<ClInclude Include="..\src\core\scheduler.hpp" />
<ClInclude Include="resource.h" />
</ItemGroup>
<!-- jit stuff -->
<ItemGroup>
Expand All @@ -296,6 +297,12 @@
<ItemGroup>
<MASM Include="..\src\core\ee\vu_jit_asm.asm" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DobieStation.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="windows\appicon.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
Expand Down
33 changes: 21 additions & 12 deletions DobieStation/DobieStation.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -243,26 +243,26 @@
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)emuwindow.cpp">
<Filter>Generated Files</Filter>
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)renderwidget.cpp">
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)renderwidget.cpp">
<Filter>Generated Files</Filter>
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)settingswindow.cpp">
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)settingswindow.cpp">
<Filter>Generated Files</Filter>
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)settings.cpp">
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)settings.cpp">
<Filter>Generated Files</Filter>
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)gamelistwidget.cpp">
</ClCompile>
<ClCompile Include="$(QtMocOutPrefix)gamelistwidget.cpp">
<Filter>Generated Files</Filter>
</ClCompile>
</ClCompile>
<ClCompile Include="..\src\qt\renderwidget.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\qt\settingswindow.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\qt\gamelistwidget.cpp">
<ClCompile Include="..\src\qt\gamelistwidget.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\qt\bios.cpp">
Expand Down Expand Up @@ -447,6 +447,9 @@
<ClInclude Include="..\src\qt\bios.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Generated Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\src\core\jitcommon\ir_instrlist.inc">
Expand All @@ -472,11 +475,17 @@
<QtMoc Include="..\src\qt\emuwindow.hpp">
<Filter>Header Files</Filter>
</QtMoc>
<QtMoc Include="..\src\qt\settings.hpp">
<QtMoc Include="..\src\qt\settings.hpp">
<Filter>Header Files</Filter>
</QtMoc>
<QtMoc Include="..\src\qt\gamelistwidget.hpp">
<QtMoc Include="..\src\qt\gamelistwidget.hpp">
<Filter>Header Files</Filter>
</QtMoc>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DobieStation.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="windows\appicon.ico" />
</ItemGroup>
</Project>
16 changes: 16 additions & 0 deletions DobieStation/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DobieStation.rc
//
#define IDI_ICON1 108

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 109
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
Binary file added DobieStation/windows/appicon.ico
Binary file not shown.

0 comments on commit 7d26851

Please sign in to comment.