WinRT: "SDL" to "SDL2", both for .dll output files, and for MSVC project names.
authorDavid Ludwig <dludwig@pobox.com>
Sun, 30 Mar 2014 11:50:59 -0400
changeset 8690e55279d94f1e
parent 8689 671977fe0abd
child 8691 41a55b86b980
WinRT: "SDL" to "SDL2", both for .dll output files, and for MSVC project names.

All WinRT builds of SDL will now output, "SDL2.dll". Previously, the Windows
8.x/RT builds would output, "SDL.dll", and Windows Phone 8 builds would output,
"SDL_WinPhone.dll". The change to "SDL2.dll" puts WinRT dll naming in-line with
that seen on Win32.

SDL/WinRT's MSVC project files will now appear as either "SDL2-WinRT" or
"SDL2-WinPhone", when displaying in MSVC.

This set of changes should not break any older WinRT or Windows Phone 8 app
builds that rely on MSVC's Project-to-Project reference system to build SDL2 for
the correct platform(s), and to install SDL2 dll files into the apps' output
packages. App builds that reference SDL dll files directly should, however,
now reference "SDL2.dll".
VisualC-WinPhone/SDL/SDL-WinPhone_VS2012.vcxproj
VisualC-WinRT/SDL/SDL-WinRT_VS2012.vcxproj
     1.1 --- a/VisualC-WinPhone/SDL/SDL-WinPhone_VS2012.vcxproj	Mon Mar 31 10:38:26 2014 -0700
     1.2 +++ b/VisualC-WinPhone/SDL/SDL-WinPhone_VS2012.vcxproj	Sun Mar 30 11:50:59 2014 -0400
     1.3 @@ -23,7 +23,7 @@
     1.4      <RootNamespace>SDL</RootNamespace>
     1.5      <DefaultLanguage>en-US</DefaultLanguage>
     1.6      <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
     1.7 -    <ProjectName>SDL-WinPhone</ProjectName>
     1.8 +    <ProjectName>SDL2-WinPhone</ProjectName>
     1.9    </PropertyGroup>
    1.10    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    1.11    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    1.12 @@ -60,6 +60,18 @@
    1.13    <PropertyGroup>
    1.14      <GenerateManifest>false</GenerateManifest>
    1.15    </PropertyGroup>
    1.16 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
    1.17 +    <TargetName>SDL2</TargetName>
    1.18 +  </PropertyGroup>
    1.19 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
    1.20 +    <TargetName>SDL2</TargetName>
    1.21 +  </PropertyGroup>
    1.22 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    1.23 +    <TargetName>SDL2</TargetName>
    1.24 +  </PropertyGroup>
    1.25 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    1.26 +    <TargetName>SDL2</TargetName>
    1.27 +  </PropertyGroup>
    1.28    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    1.29      <ClCompile>
    1.30        <PreprocessorDefinitions>_USRDLL;UNICODE;SDL_BUILDING_WINRT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     2.1 --- a/VisualC-WinRT/SDL/SDL-WinRT_VS2012.vcxproj	Mon Mar 31 10:38:26 2014 -0700
     2.2 +++ b/VisualC-WinRT/SDL/SDL-WinRT_VS2012.vcxproj	Sun Mar 30 11:50:59 2014 -0400
     2.3 @@ -347,7 +347,7 @@
     2.4    <PropertyGroup Label="Globals">
     2.5      <ProjectGuid>{aeaea3a2-d4e6-45b1-8ec6-53d84287fc14}</ProjectGuid>
     2.6      <Keyword>Win32Proj</Keyword>
     2.7 -    <ProjectName>SDL-WinRT</ProjectName>
     2.8 +    <ProjectName>SDL2-WinRT</ProjectName>
     2.9      <RootNamespace>SDL_VS2012_WinRT</RootNamespace>
    2.10      <DefaultLanguage>en-US</DefaultLanguage>
    2.11      <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
    2.12 @@ -411,32 +411,32 @@
    2.13    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    2.14      <GenerateManifest>false</GenerateManifest>
    2.15      <IgnoreImportLibrary>false</IgnoreImportLibrary>
    2.16 -    <TargetName>SDL</TargetName>
    2.17 +    <TargetName>SDL2</TargetName>
    2.18    </PropertyGroup>
    2.19    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    2.20      <GenerateManifest>false</GenerateManifest>
    2.21      <IgnoreImportLibrary>false</IgnoreImportLibrary>
    2.22 -    <TargetName>SDL</TargetName>
    2.23 +    <TargetName>SDL2</TargetName>
    2.24    </PropertyGroup>
    2.25    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
    2.26      <GenerateManifest>false</GenerateManifest>
    2.27      <IgnoreImportLibrary>false</IgnoreImportLibrary>
    2.28 -    <TargetName>SDL</TargetName>
    2.29 +    <TargetName>SDL2</TargetName>
    2.30    </PropertyGroup>
    2.31    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
    2.32      <GenerateManifest>false</GenerateManifest>
    2.33      <IgnoreImportLibrary>false</IgnoreImportLibrary>
    2.34 -    <TargetName>SDL</TargetName>
    2.35 +    <TargetName>SDL2</TargetName>
    2.36    </PropertyGroup>
    2.37    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    2.38      <GenerateManifest>false</GenerateManifest>
    2.39      <IgnoreImportLibrary>false</IgnoreImportLibrary>
    2.40 -    <TargetName>SDL</TargetName>
    2.41 +    <TargetName>SDL2</TargetName>
    2.42    </PropertyGroup>
    2.43    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    2.44      <GenerateManifest>false</GenerateManifest>
    2.45      <IgnoreImportLibrary>false</IgnoreImportLibrary>
    2.46 -    <TargetName>SDL</TargetName>
    2.47 +    <TargetName>SDL2</TargetName>
    2.48    </PropertyGroup>
    2.49    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    2.50      <ClCompile>