msvc2003: add "NoDX" targets to remove DirectX8 needed to run on NT

This commit is contained in:
Brad Parker 2017-09-04 14:19:14 -04:00
parent 47f3a801ba
commit 007888f54d
2 changed files with 78 additions and 21 deletions

View File

@ -1,21 +1,24 @@
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RetroArch-msvc2003", "msvc-2003/RetroArch-msvc2003.vcproj", "{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Debug.ActiveCfg = Debug|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Debug.Build.0 = Debug|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Release.ActiveCfg = Release|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RetroArch-msvc2003", "msvc-2003\RetroArch-msvc2003.vcproj", "{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
Release NoDX = Release NoDX
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Debug.ActiveCfg = Debug|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Debug.Build.0 = Debug|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Release.ActiveCfg = Release|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Release.Build.0 = Release|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Release NoDX.ActiveCfg = Release NoDX|Win32
{1FEFA874-F6A6-4CE6-9DB4-3B291A364CE5}.Release NoDX.Build.0 = Release NoDX|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal

View File

@ -109,6 +109,54 @@
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release NoDX|Win32"
OutputDirectory="$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;$(SolutionDir)\..\..\libretro-common\include&quot;;&quot;$(SolutionDir)\..\..\libretro-common\include\compat\msvc&quot;;&quot;$(SolutionDir)\..\..\gfx\include&quot;"
PreprocessorDefinitions="_WIN32;WINVER=0x0400;_WIN32_WINNT=0x0400;RARCH_INTERNAL;HAVE_CC_RESAMPLER;HAVE_GRIFFIN;HAVE_FBO;HAVE_ZLIB;HAVE_RPNG;HAVE_RJPEG;HAVE_RBMP;HAVE_RTGA;HAVE_IMAGEVIEWER;HAVE_XMB;WANT_ZLIB;HAVE_DYLIB;HAVE_NETWORKING;HAVE_NETWORK_CMD;HAVE_COMMAND;HAVE_STDIN_CMD;HAVE_THREADS;HAVE_DYNAMIC;HAVE_OVERLAY;HAVE_RGUI;HAVE_MENU;HAVE_7ZIP;HAVE_MATERIALUI;HAVE_LIBRETRODB;HAVE_STB_FONT;__STDC_CONSTANT_MACROS"
RuntimeLibrary="4"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="winmm.lib"
OutputFile="$(OutDir)/RetroArch-msvc2003.exe"
LinkIncremental="1"
GenerateDebugInformation="TRUE"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
</References>
@ -131,6 +179,12 @@
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Release NoDX|Win32">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\griffin\griffin_cpp.cpp">