VisualC-WinRT/tests/testthread/testthread_VS2012.vcxproj
author David Ludwig <dludwig@pobox.com>
Sat, 19 Apr 2014 12:48:45 -0400
changeset 8725 decbe9ca2d29
parent 8529 89e08d94b361
permissions -rw-r--r--
Cleaned up and rearranged WinRT project file structure.

All WinRT projects have been merged into a single directory, "VisualC-WinRT",
with platform-specific variants in subdirectories off of it. This structure
has been applied to a few major SDL satellite libraries as well (SDL_image,
SDL_mixer, and SDL_ttf).

Currently, only Windows 8.0/RT and Windows Phone 8.0 targets are supported.
Windows 8.1/RT/Phone targets are planned.

Projects that use SDL_image/WinRT, and link to it via Visual Studio's
project-to-project reference system, will need to be updated, to reflect the
changes in the project structure. This can be done by:
1. removing the MSVC project(s) for SDL/WinRT
2. re-added the MSVC project(s) for SDL/WinRT
3. right-clicking on the app, or projects that use those libraries, choosing
References, removing the references to any of these projects (they'll likely
be highlighted with an exclamation mark), then re-adding them

To note, the satellite libraries that reference SDL/WinRT have been updated
already. The changes for those libraries will be pushed to hg.libsdl.org
shortly.

TODO:
- add support for Windows 8.1 and Windows Phone 8.1 targets, using
Microsoft's new "Universal" app support, if possible. These will be added to
a new subdirectory, or subdirectories (if more than one sets of projects are
needed, hopefully not), of "VisualC-WinRT".
- investigate NuGet support, which could allow Visual C++ to download
new copies of SDL/WinRT, its satellite libraries, and their dependencies,
from remote servers.
dludwig@8356
     1
<?xml version="1.0" encoding="utf-8"?>
dludwig@8356
     2
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
dludwig@8356
     3
  <ItemGroup Label="ProjectConfigurations">
dludwig@8356
     4
    <ProjectConfiguration Include="Debug|Win32">
dludwig@8356
     5
      <Configuration>Debug</Configuration>
dludwig@8356
     6
      <Platform>Win32</Platform>
dludwig@8356
     7
    </ProjectConfiguration>
dludwig@8356
     8
    <ProjectConfiguration Include="Release|Win32">
dludwig@8356
     9
      <Configuration>Release</Configuration>
dludwig@8356
    10
      <Platform>Win32</Platform>
dludwig@8356
    11
    </ProjectConfiguration>
dludwig@8356
    12
    <ProjectConfiguration Include="Debug|x64">
dludwig@8356
    13
      <Configuration>Debug</Configuration>
dludwig@8356
    14
      <Platform>x64</Platform>
dludwig@8356
    15
    </ProjectConfiguration>
dludwig@8356
    16
    <ProjectConfiguration Include="Release|x64">
dludwig@8356
    17
      <Configuration>Release</Configuration>
dludwig@8356
    18
      <Platform>x64</Platform>
dludwig@8356
    19
    </ProjectConfiguration>
dludwig@8356
    20
    <ProjectConfiguration Include="Debug|ARM">
dludwig@8356
    21
      <Configuration>Debug</Configuration>
dludwig@8356
    22
      <Platform>ARM</Platform>
dludwig@8356
    23
    </ProjectConfiguration>
dludwig@8356
    24
    <ProjectConfiguration Include="Release|ARM">
dludwig@8356
    25
      <Configuration>Release</Configuration>
dludwig@8356
    26
      <Platform>ARM</Platform>
dludwig@8356
    27
    </ProjectConfiguration>
dludwig@8356
    28
  </ItemGroup>
dludwig@8356
    29
  <PropertyGroup Label="Globals">
dludwig@8356
    30
    <ProjectGuid>{a8705bee-d01d-46a4-b2ab-feedfb5fdd11}</ProjectGuid>
dludwig@8395
    31
    <RootNamespace>testthread_VS2012</RootNamespace>
dludwig@8356
    32
    <DefaultLanguage>en-US</DefaultLanguage>
dludwig@8356
    33
    <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
dludwig@8356
    34
    <AppContainerApplication>true</AppContainerApplication>
dludwig@8395
    35
    <ProjectName>testthread</ProjectName>
dludwig@8356
    36
  </PropertyGroup>
dludwig@8356
    37
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
dludwig@8356
    38
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
dludwig@8356
    39
    <ConfigurationType>Application</ConfigurationType>
dludwig@8356
    40
    <UseDebugLibraries>true</UseDebugLibraries>
dludwig@8356
    41
    <PlatformToolset>v110</PlatformToolset>
dludwig@8356
    42
  </PropertyGroup>
dludwig@8356
    43
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
dludwig@8356
    44
    <ConfigurationType>Application</ConfigurationType>
dludwig@8356
    45
    <UseDebugLibraries>true</UseDebugLibraries>
dludwig@8356
    46
    <PlatformToolset>v110</PlatformToolset>
dludwig@8356
    47
  </PropertyGroup>
dludwig@8356
    48
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
dludwig@8356
    49
    <ConfigurationType>Application</ConfigurationType>
dludwig@8356
    50
    <UseDebugLibraries>true</UseDebugLibraries>
dludwig@8356
    51
    <PlatformToolset>v110</PlatformToolset>
dludwig@8356
    52
  </PropertyGroup>
dludwig@8356
    53
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
dludwig@8356
    54
    <ConfigurationType>Application</ConfigurationType>
dludwig@8356
    55
    <UseDebugLibraries>false</UseDebugLibraries>
dludwig@8356
    56
    <WholeProgramOptimization>true</WholeProgramOptimization>
dludwig@8356
    57
    <PlatformToolset>v110</PlatformToolset>
dludwig@8356
    58
  </PropertyGroup>
dludwig@8356
    59
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
dludwig@8356
    60
    <ConfigurationType>Application</ConfigurationType>
dludwig@8356
    61
    <UseDebugLibraries>false</UseDebugLibraries>
dludwig@8356
    62
    <WholeProgramOptimization>true</WholeProgramOptimization>
dludwig@8356
    63
    <PlatformToolset>v110</PlatformToolset>
dludwig@8356
    64
  </PropertyGroup>
dludwig@8356
    65
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
dludwig@8356
    66
    <ConfigurationType>Application</ConfigurationType>
dludwig@8356
    67
    <UseDebugLibraries>false</UseDebugLibraries>
dludwig@8356
    68
    <WholeProgramOptimization>true</WholeProgramOptimization>
dludwig@8356
    69
    <PlatformToolset>v110</PlatformToolset>
dludwig@8356
    70
  </PropertyGroup>
dludwig@8356
    71
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
dludwig@8356
    72
  <ImportGroup Label="ExtensionSettings">
dludwig@8356
    73
  </ImportGroup>
dludwig@8356
    74
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
dludwig@8356
    75
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
dludwig@8356
    76
  </ImportGroup>
dludwig@8356
    77
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
dludwig@8356
    78
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
dludwig@8356
    79
  </ImportGroup>
dludwig@8356
    80
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
dludwig@8356
    81
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
dludwig@8356
    82
  </ImportGroup>
dludwig@8356
    83
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
dludwig@8356
    84
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
dludwig@8356
    85
  </ImportGroup>
dludwig@8356
    86
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
dludwig@8356
    87
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
dludwig@8356
    88
  </ImportGroup>
dludwig@8356
    89
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
dludwig@8356
    90
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
dludwig@8356
    91
  </ImportGroup>
dludwig@8356
    92
  <PropertyGroup Label="UserMacros" />
dludwig@8356
    93
  <PropertyGroup>
dludwig@8395
    94
    <PackageCertificateKeyFile>testthread_VS2012_TemporaryKey.pfx</PackageCertificateKeyFile>
dludwig@8356
    95
  </PropertyGroup>
dludwig@8356
    96
  <ItemDefinitionGroup>
dludwig@8356
    97
    <Link>
dludwig@8356
    98
      <AdditionalDependencies>d2d1.lib; d3d11.lib; dxgi.lib; ole32.lib; windowscodecs.lib; dwrite.lib; %(AdditionalDependencies)</AdditionalDependencies>
dludwig@8356
    99
    </Link>
dludwig@8356
   100
    <ClCompile>
dludwig@8356
   101
      <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
dludwig@8356
   102
      <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
dludwig@8395
   103
      <AdditionalIncludeDirectories>$(ProjectDir);$(IntermediateOutputPath);$(ProjectDir)..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
dludwig@8356
   104
      <DisableSpecificWarnings>4453</DisableSpecificWarnings>
dludwig@8356
   105
    </ClCompile>
dludwig@8356
   106
  </ItemDefinitionGroup>
dludwig@8356
   107
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
dludwig@8356
   108
    <ClCompile>
dludwig@8462
   109
      <PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
dludwig@8356
   110
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">NotUsing</PrecompiledHeader>
dludwig@8356
   111
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
dludwig@8356
   112
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
dludwig@8356
   113
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">false</CompileAsWinRT>
dludwig@8356
   114
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsWinRT>
dludwig@8356
   115
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsWinRT>
dludwig@8356
   116
    </ClCompile>
dludwig@8356
   117
  </ItemDefinitionGroup>
dludwig@8356
   118
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
dludwig@8356
   119
    <ClCompile>
dludwig@8462
   120
      <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
dludwig@8356
   121
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
dludwig@8356
   122
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">NotUsing</PrecompiledHeader>
dludwig@8356
   123
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
dludwig@8356
   124
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
dludwig@8356
   125
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsWinRT>
dludwig@8356
   126
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsWinRT>
dludwig@8356
   127
    </ClCompile>
dludwig@8356
   128
  </ItemDefinitionGroup>
dludwig@8356
   129
  <ItemGroup>
dludwig@8356
   130
    <Image Include="Assets\Logo.png" />
dludwig@8356
   131
    <Image Include="Assets\SmallLogo.png" />
dludwig@8356
   132
    <Image Include="Assets\StoreLogo.png" />
dludwig@8356
   133
    <Image Include="Assets\SplashScreen.png" />
dludwig@8356
   134
  </ItemGroup>
dludwig@8356
   135
  <ItemGroup>
dludwig@8356
   136
    <AppxManifest Include="Package.appxmanifest">
dludwig@8356
   137
      <SubType>Designer</SubType>
dludwig@8356
   138
    </AppxManifest>
dludwig@8395
   139
    <None Include="testthread_VS2012_TemporaryKey.pfx" />
dludwig@8356
   140
  </ItemGroup>
dludwig@8356
   141
  <ItemGroup>
dludwig@8529
   142
    <ClCompile Include="..\..\..\src\main\winrt\SDL_winrt_main_NonXAML.cpp">
dludwig@8356
   143
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
dludwig@8356
   144
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
dludwig@8356
   145
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
dludwig@8356
   146
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
dludwig@8356
   147
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
dludwig@8356
   148
      <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
dludwig@8356
   149
    </ClCompile>
dludwig@8395
   150
    <ClCompile Include="..\..\..\test\testthread.c" />
dludwig@8356
   151
  </ItemGroup>
dludwig@8356
   152
  <ItemGroup>
dludwig@8725
   153
    <ProjectReference Include="..\..\WinRT80_VS2012\SDL-WinRT80.vcxproj">
dludwig@8356
   154
      <Project>{aeaea3a2-d4e6-45b1-8ec6-53d84287fc14}</Project>
dludwig@8356
   155
    </ProjectReference>
dludwig@8356
   156
  </ItemGroup>
dludwig@8356
   157
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
dludwig@8356
   158
  <ImportGroup Label="ExtensionTargets">
dludwig@8356
   159
  </ImportGroup>
dludwig@8356
   160
</Project>