123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- From b19c27d28962429145d464bd44501939f24dacf4 Mon Sep 17 00:00:00 2001
- From: PucklaMotzer09 <[email protected]>
- Date: Sun, 30 Aug 2020 13:45:52 +0200
- Subject: [PATCH] Add x64 support
- ---
- SDL2_gfx.sln | 6 +++
- SDL2_gfx.vcxproj | 95 ++++++++++++++++++++++++++++++++++++++++++++++--
- 2 files changed, 98 insertions(+), 3 deletions(-)
- diff --git a/SDL2_gfx.sln b/SDL2_gfx.sln
- index 786f339..bd7635b 100644
- --- a/SDL2_gfx.sln
- +++ b/SDL2_gfx.sln
- @@ -15,12 +15,18 @@ Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- + Debug|x64 = Debug|x64
- + Release|x64 = Release|x64
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Debug|Win32.ActiveCfg = Debug|Win32
- {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Debug|Win32.Build.0 = Debug|Win32
- {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Release|Win32.ActiveCfg = Release|Win32
- {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Release|Win32.Build.0 = Release|Win32
- + {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Debug|x64.ActiveCfg = Debug|x64
- + {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Debug|x64.Build.0 = Debug|x64
- + {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Release|x64.ActiveCfg = Release|x64
- + {AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}.Release|x64.Build.0 = Release|x64
- {AE22EFD3-6F6D-48C0-AF3D-EF190406BEDC}.Debug|Win32.ActiveCfg = Debug|Win32
- {AE22EFD3-6F6D-48C0-AF3D-EF190406BEDC}.Debug|Win32.Build.0 = Debug|Win32
- {AE22EFD3-6F6D-48C0-AF3D-EF190406BEDC}.Release|Win32.ActiveCfg = Release|Win32
- diff --git a/SDL2_gfx.vcxproj b/SDL2_gfx.vcxproj
- index e842d8a..4ae0cfa 100644
- --- a/SDL2_gfx.vcxproj
- +++ b/SDL2_gfx.vcxproj
- @@ -9,24 +9,42 @@
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- + <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>{AE22EFD3-6E6D-48C0-AF3D-EF190406BEDC}</ProjectGuid>
- <RootNamespace>SDL2_gfx</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- - <WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- - <PlatformToolset>v141</PlatformToolset>
- + <PlatformToolset>v142</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- - <PlatformToolset>v141</PlatformToolset>
- + <PlatformToolset>v142</PlatformToolset>
- + </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- + <ConfigurationType>DynamicLibrary</ConfigurationType>
- + <CharacterSet>Unicode</CharacterSet>
- + <WholeProgramOptimization>true</WholeProgramOptimization>
- + <PlatformToolset>v142</PlatformToolset>
- + </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- + <ConfigurationType>DynamicLibrary</ConfigurationType>
- + <CharacterSet>Unicode</CharacterSet>
- + <PlatformToolset>v142</PlatformToolset>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- @@ -37,6 +55,12 @@
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- + <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>
- + <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>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- @@ -46,6 +70,12 @@
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
- + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
- + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
- + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
- + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
- + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- @@ -104,6 +134,63 @@
- </Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- + <ClCompile>
- + <Optimization>Disabled</Optimization>
- + <AdditionalIncludeDirectories>..\SDL2-2.0.5\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;DLL_EXPORT;USE_MMX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <MinimalRebuild>true</MinimalRebuild>
- + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <WarningLevel>Level3</WarningLevel>
- + <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- + </ClCompile>
- + <Link>
- + <AdditionalDependencies>SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + <AdditionalLibraryDirectories>..\SDL2-2.0.5\VisualC\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <SubSystem>Windows</SubSystem>
- + <RandomizedBaseAddress>false</RandomizedBaseAddress>
- + <DataExecutionPrevention>
- + </DataExecutionPrevention>
- + <ImportLibrary>
- + </ImportLibrary>
- + <TargetMachine>MachineX64</TargetMachine>
- + </Link>
- + <PostBuildEvent>
- + <Command>
- + </Command>
- + </PostBuildEvent>
- + </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- + <ClCompile>
- + <Optimization>MaxSpeed</Optimization>
- + <AdditionalIncludeDirectories>..\SDL2-2.0.5\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <IntrinsicFunctions>true</IntrinsicFunctions>
- + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- + <FunctionLevelLinking>true</FunctionLevelLinking>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <WarningLevel>Level3</WarningLevel>
- + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- + </ClCompile>
- + <Link>
- + <AdditionalDependencies>SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + <AdditionalLibraryDirectories>..\SDL2-2.0.5\VisualC\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <SubSystem>Windows</SubSystem>
- + <OptimizeReferences>true</OptimizeReferences>
- + <EnableCOMDATFolding>true</EnableCOMDATFolding>
- + <TargetMachine>MachineX64</TargetMachine>
- + </Link>
- + <PostBuildEvent>
- + <Command>
- + </Command>
- + </PostBuildEvent>
- + </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="SDL2_framerate.c" />
- <ClCompile Include="SDL2_gfxPrimitives.c" />
- @@ -121,10 +208,12 @@
- <CustomBuildStep Include="ChangeLog">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- </CustomBuildStep>
- <CustomBuildStep Include="README">
- <FileType>Document</FileType>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- </CustomBuildStep>
- </ItemGroup>
- <ItemGroup>
- --
- 2.28.0.windows.1
|