forked from dolphin-emu/dolphin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a Win32 NoGUI platform and project
- Loading branch information
Showing
11 changed files
with
421 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
<assemblyIdentity | ||
version="1.0.0.0" | ||
processorArchitecture="amd64" | ||
name="DolphinTeam.DolphinEmuNoGUI" | ||
type="win32" | ||
/> | ||
<description>Dolphin NoGUI Frontend</description> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="*" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
</dependentAssembly> | ||
</dependency> | ||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<application> | ||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | ||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> | ||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> | ||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> | ||
</application> | ||
</compatibility> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Microsoft Visual C++ generated resource script. | ||
// | ||
#include "resource.h" | ||
IDI_ICON1 ICON "..\\..\\..\\Installer\\Dolphin.ico" | ||
"dolphin" ICON "..\\..\\..\\Installer\\Dolphin.ico" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|x64"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|x64"> | ||
<Configuration>Release</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{974E563D-23F8-4E8F-9083-F62876B04E08}</ProjectGuid> | ||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<PlatformToolset>v142</PlatformToolset> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings"> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
<Import Project="..\..\VSProps\Base.props" /> | ||
<Import Project="..\..\VSProps\PCHUse.props" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<PropertyGroup /> | ||
<ItemDefinitionGroup> | ||
<Link> | ||
<AdditionalDependencies>avrt.lib;iphlpapi.lib;winmm.lib;setupapi.lib;rpcrt4.lib;comctl32.lib;Shlwapi.lib;discord-rpc.lib;opengl32.lib;avcodec.lib;avformat.lib;avutil.lib;swresample.lib;swscale.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(ExternalsDir)ffmpeg\lib;$(IntDir)..\discord-rpc\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
<SubSystem>Console</SubSystem> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\Externals\cpp-optparse\cpp-optparse.vcxproj"> | ||
<Project>{c636d9d1-82fe-42b5-9987-63b7d4836341}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\Core\Core.vcxproj"> | ||
<Project>{e54cf649-140e-4255-81a5-30a673c1fb36}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\UICommon\UICommon.vcxproj"> | ||
<Project>{604c8368-f34a-4d55-82c8-cc92a0c13254}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VideoBackends\D3D\D3D.vcxproj"> | ||
<Project>{96020103-4ba5-4fd2-b4aa-5b6d24492d4e}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VideoBackends\Null\Null.vcxproj"> | ||
<Project>{53a5391b-737e-49a8-bc8f-312ada00736f}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VideoBackends\OGL\OGL.vcxproj"> | ||
<Project>{ec1a314c-5588-4506-9c1e-2e58e5817f75}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VideoBackends\Software\Software.vcxproj"> | ||
<Project>{a4c423aa-f57c-46c7-a172-d1a777017d29}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VideoBackends\Vulkan\Vulkan.vcxproj"> | ||
<Project>{29f29a19-f141-45ad-9679-5a2923b49da3}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VideoCommon\VideoCommon.vcxproj"> | ||
<Project>{3de9ee35-3e91-4f27-a014-2866ad8c3fe3}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VideoBackends\D3D12\D3D12.vcxproj"> | ||
<Project>{570215b7-e32f-4438-95ae-c8d955f9fca3}</Project> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="MainNoGUI.cpp" /> | ||
<ClCompile Include="Platform.cpp" /> | ||
<ClCompile Include="PlatformHeadless.cpp" /> | ||
<ClCompile Include="PlatformWin32.cpp" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
<!--Copy the .exe to binary output folder--> | ||
<ItemGroup> | ||
<SourceFiles Include="$(TargetPath)" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="Platform.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Manifest Include="DolphinNoGUI.exe.manifest" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Text Include="CMakeLists.txt" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ResourceCompile Include="DolphinNoGUI.rc" /> | ||
</ItemGroup> | ||
<Target Name="AfterBuild" Inputs="@(SourceFiles)" Outputs="@(SourceFiles -> '$(BinaryOutputDir)%(Filename)%(Extension)')"> | ||
<Message Text="Copy: @(SourceFiles) -> $(BinaryOutputDir)" Importance="High" /> | ||
<Copy SourceFiles="@(SourceFiles)" DestinationFolder="$(BinaryOutputDir)" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<ClCompile Include="Platform.cpp" /> | ||
<ClCompile Include="PlatformHeadless.cpp" /> | ||
<ClCompile Include="MainNoGUI.cpp" /> | ||
<ClCompile Include="PlatformWin32.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="Platform.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Manifest Include="DolphinNoGUI.exe.manifest" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Text Include="CMakeLists.txt" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ResourceCompile Include="DolphinNoGUI.rc" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.