From 93ccde662a3bdcd8098e817ed285833a95dd3448 Mon Sep 17 00:00:00 2001 From: zeromus <zeromus@users.noreply.github.com> Date: Sun, 31 May 2020 17:05:43 -0500 Subject: [PATCH] rehabilitate bizlynx to use vs2019. same story as before. --- Building Other Solutions.txt | 11 ++++++++++- lynx/bizlynx/bizlynx.sln | 21 ++++++++++++-------- lynx/bizlynx/bizlynx.vcxproj | 38 ++++++++++++++++++++++++------------ 3 files changed, 48 insertions(+), 22 deletions(-) diff --git a/Building Other Solutions.txt b/Building Other Solutions.txt index f7761ddb28..7a1a6f9518 100644 --- a/Building Other Solutions.txt +++ b/Building Other Solutions.txt @@ -5,16 +5,19 @@ Unless otherwise specified, the build process consists simply of building the sl When "mingw" is mentioned, this means a 64 bit gcc setup installed by https://www.msys2.org/. +---------------------------------- +BUILDING .DLL FOR WINDOWS: + libgambatte: There is a vs2019 solution at libgambatte/libgambatte.sln. wonderswan: There is a vs2019 solution at wonderswan/bizswan.sln octoshock (psx): There is a vs2019 solution at psx/octoshock/bizhawk/octoshock.sln libretrobridge: There is a vs2019 solution at LibretroBridge/vs2019/LibretroBridge.sln +lynx: There is a vs2019 solution at lynx/bizlynx/bizlynx.sln libmupen64plus: ?? quicknes: Process quicknes/mingw/Makefile with mingw. Use "make install" top copy to output folder. -lynx: mingw melonds: ?? mgba: mingw @@ -22,4 +25,10 @@ waterbox: See separate document waterbox/readme.txt libdarm: stock build from https://github.com/jbremer/darm.git 71a027e0ffb2171d01213c6ecc6da1c49e158398 ???? +---------------------------------- +BUILDING .SO FOR LINUX +-TBD- +---------------------------------- +BUILDING .DYLIB FOR MACOS +-TBD- diff --git a/lynx/bizlynx/bizlynx.sln b/lynx/bizlynx/bizlynx.sln index 5b68aaf523..a03ab73cd0 100644 --- a/lynx/bizlynx/bizlynx.sln +++ b/lynx/bizlynx/bizlynx.sln @@ -1,20 +1,25 @@ -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30011.22 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bizlynx", "bizlynx.vcxproj", "{C8DC23FF-551E-45DE-852D-22F66EDBACB9}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Debug|Win32.ActiveCfg = Debug|Win32 - {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Debug|Win32.Build.0 = Debug|Win32 - {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Release|Win32.ActiveCfg = Release|Win32 - {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Release|Win32.Build.0 = Release|Win32 + {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Debug|x64.ActiveCfg = Debug|x64 + {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Debug|x64.Build.0 = Debug|x64 + {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Release|x64.ActiveCfg = Release|x64 + {C8DC23FF-551E-45DE-852D-22F66EDBACB9}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2C808C18-2756-4F1B-968F-04E0455460C3} + EndGlobalSection EndGlobal diff --git a/lynx/bizlynx/bizlynx.vcxproj b/lynx/bizlynx/bizlynx.vcxproj index 9953a1480d..d489e3593b 100644 --- a/lynx/bizlynx/bizlynx.vcxproj +++ b/lynx/bizlynx/bizlynx.vcxproj @@ -1,62 +1,73 @@ <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> + <ProjectConfiguration Include="Debug|x64"> <Configuration>Debug</Configuration> - <Platform>Win32</Platform> + <Platform>x64</Platform> </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> + <ProjectConfiguration Include="Release|x64"> <Configuration>Release</Configuration> - <Platform>Win32</Platform> + <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{C8DC23FF-551E-45DE-852D-22F66EDBACB9}</ProjectGuid> <RootNamespace>bizlynx</RootNamespace> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v142</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> - <PropertyGroup /> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <OutDir>..\..\output\dll</OutDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <OutDir>..\..\output\dll</OutDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ClCompile> <WarningLevel>Level3</WarningLevel> <Optimization>Disabled</Optimization> <AdditionalIncludeDirectories>..\msvc</AdditionalIncludeDirectories> + <MultiProcessorCompilation>true</MultiProcessorCompilation> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> <PostBuildEvent> - <Command>copy /y $(TargetDir)$(TargetFileName) $(ProjectDir)..\..\output\dll\$(TargetFileName)</Command> + <Command> + </Command> </PostBuildEvent> </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ClCompile> <WarningLevel>Level3</WarningLevel> <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> <AdditionalIncludeDirectories>..\msvc</AdditionalIncludeDirectories> + <MultiProcessorCompilation>true</MultiProcessorCompilation> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -64,7 +75,8 @@ <OptimizeReferences>true</OptimizeReferences> </Link> <PostBuildEvent> - <Command>copy /y $(TargetDir)$(TargetFileName) $(ProjectDir)..\..\output\dll\$(TargetFileName)</Command> + <Command> + </Command> </PostBuildEvent> </ItemDefinitionGroup> <ItemGroup>