VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj
author Ryan C. Gordon <icculus@icculus.org>
Thu, 28 May 2015 01:54:52 -0400
changeset 9671 0e1f57b051f4
parent 8972 dfc759d7486f
child 9930 84285c1d8ca4
permissions -rw-r--r--
Windows GetBasePath should use GetModuleFileNameExW() and check for overflows.

Apparently you might get strange paths from GetModuleFileName(), such as
short path names or UNC filenames, so this avoids that problem. Since you have
to tapdance with linking different libraries and defining macros depending on
what Windows you plan to target, we dynamically load the API we need, which
works on all versions of Windows (on Win7, it'll load a compatibility wrapper
for the newer API location).

What a mess.

This also now does the right thing if there isn't enough space to store the
path, looping with a larger allocated buffer each try.

Fixes Bugzilla #2435.
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3   <ItemGroup Label="ProjectConfigurations">
     4     <ProjectConfiguration Include="Debug|ARM">
     5       <Configuration>Debug</Configuration>
     6       <Platform>ARM</Platform>
     7     </ProjectConfiguration>
     8     <ProjectConfiguration Include="Debug|Win32">
     9       <Configuration>Debug</Configuration>
    10       <Platform>Win32</Platform>
    11     </ProjectConfiguration>
    12     <ProjectConfiguration Include="Debug|x64">
    13       <Configuration>Debug</Configuration>
    14       <Platform>x64</Platform>
    15     </ProjectConfiguration>
    16     <ProjectConfiguration Include="Release|ARM">
    17       <Configuration>Release</Configuration>
    18       <Platform>ARM</Platform>
    19     </ProjectConfiguration>
    20     <ProjectConfiguration Include="Release|Win32">
    21       <Configuration>Release</Configuration>
    22       <Platform>Win32</Platform>
    23     </ProjectConfiguration>
    24     <ProjectConfiguration Include="Release|x64">
    25       <Configuration>Release</Configuration>
    26       <Platform>x64</Platform>
    27     </ProjectConfiguration>
    28   </ItemGroup>
    29   <ItemGroup>
    30     <ClInclude Include="..\..\include\begin_code.h" />
    31     <ClInclude Include="..\..\include\close_code.h" />
    32     <ClInclude Include="..\..\include\SDL.h" />
    33     <ClInclude Include="..\..\include\SDL_assert.h" />
    34     <ClInclude Include="..\..\include\SDL_atomic.h" />
    35     <ClInclude Include="..\..\include\SDL_audio.h" />
    36     <ClInclude Include="..\..\include\SDL_blendmode.h" />
    37     <ClInclude Include="..\..\include\SDL_clipboard.h" />
    38     <ClInclude Include="..\..\include\SDL_config.h" />
    39     <ClInclude Include="..\..\include\SDL_config_minimal.h" />
    40     <ClInclude Include="..\..\include\SDL_config_winrt.h" />
    41     <ClInclude Include="..\..\include\SDL_copying.h" />
    42     <ClInclude Include="..\..\include\SDL_cpuinfo.h" />
    43     <ClInclude Include="..\..\include\SDL_egl.h" />
    44     <ClInclude Include="..\..\include\SDL_endian.h" />
    45     <ClInclude Include="..\..\include\SDL_error.h" />
    46     <ClInclude Include="..\..\include\SDL_events.h" />
    47     <ClInclude Include="..\..\include\SDL_filesystem.h" />
    48     <ClInclude Include="..\..\include\SDL_haptic.h" />
    49     <ClInclude Include="..\..\include\SDL_hints.h" />
    50     <ClInclude Include="..\..\include\SDL_input.h" />
    51     <ClInclude Include="..\..\include\SDL_joystick.h" />
    52     <ClInclude Include="..\..\include\SDL_keyboard.h" />
    53     <ClInclude Include="..\..\include\SDL_keycode.h" />
    54     <ClInclude Include="..\..\include\SDL_loadso.h" />
    55     <ClInclude Include="..\..\include\SDL_log.h" />
    56     <ClInclude Include="..\..\include\SDL_main.h" />
    57     <ClInclude Include="..\..\include\SDL_mouse.h" />
    58     <ClInclude Include="..\..\include\SDL_mutex.h" />
    59     <ClInclude Include="..\..\include\SDL_name.h" />
    60     <ClInclude Include="..\..\include\SDL_opengles2.h" />
    61     <ClInclude Include="..\..\include\SDL_pixels.h" />
    62     <ClInclude Include="..\..\include\SDL_platform.h" />
    63     <ClInclude Include="..\..\include\SDL_power.h" />
    64     <ClInclude Include="..\..\include\SDL_quit.h" />
    65     <ClInclude Include="..\..\include\SDL_rect.h" />
    66     <ClInclude Include="..\..\include\SDL_render.h" />
    67     <ClInclude Include="..\..\include\SDL_revision.h" />
    68     <ClInclude Include="..\..\include\SDL_rwops.h" />
    69     <ClInclude Include="..\..\include\SDL_scancode.h" />
    70     <ClInclude Include="..\..\include\SDL_shape.h" />
    71     <ClInclude Include="..\..\include\SDL_stdinc.h" />
    72     <ClInclude Include="..\..\include\SDL_surface.h" />
    73     <ClInclude Include="..\..\include\SDL_system.h" />
    74     <ClInclude Include="..\..\include\SDL_syswm.h" />
    75     <ClInclude Include="..\..\include\SDL_thread.h" />
    76     <ClInclude Include="..\..\include\SDL_timer.h" />
    77     <ClInclude Include="..\..\include\SDL_touch.h" />
    78     <ClInclude Include="..\..\include\SDL_types.h" />
    79     <ClInclude Include="..\..\include\SDL_version.h" />
    80     <ClInclude Include="..\..\include\SDL_video.h" />
    81     <ClInclude Include="..\..\src\audio\disk\SDL_diskaudio.h" />
    82     <ClInclude Include="..\..\src\audio\dummy\SDL_dummyaudio.h" />
    83     <ClInclude Include="..\..\src\audio\SDL_audiodev_c.h" />
    84     <ClInclude Include="..\..\src\audio\SDL_audiomem.h" />
    85     <ClInclude Include="..\..\src\audio\SDL_audio_c.h" />
    86     <ClInclude Include="..\..\src\audio\SDL_sysaudio.h" />
    87     <ClInclude Include="..\..\src\audio\SDL_wave.h" />
    88     <ClInclude Include="..\..\src\audio\xaudio2\SDL_xaudio2_winrthelpers.h" />
    89     <ClInclude Include="..\..\src\core\windows\SDL_directx.h" />
    90     <ClInclude Include="..\..\src\core\windows\SDL_windows.h" />
    91     <ClInclude Include="..\..\src\core\windows\SDL_xinput.h" />
    92     <ClInclude Include="..\..\src\core\winrt\SDL_winrtapp_common.h" />
    93     <ClInclude Include="..\..\src\core\winrt\SDL_winrtapp_direct3d.h" />
    94     <ClInclude Include="..\..\src\core\winrt\SDL_winrtapp_xaml.h" />
    95     <ClInclude Include="..\..\src\dynapi\SDL_dynapi.h" />
    96     <ClInclude Include="..\..\src\dynapi\SDL_dynapi_overrides.h" />
    97     <ClInclude Include="..\..\src\dynapi\SDL_dynapi_procs.h" />
    98     <ClInclude Include="..\..\src\events\blank_cursor.h" />
    99     <ClInclude Include="..\..\src\events\default_cursor.h" />
   100     <ClInclude Include="..\..\src\events\SDL_clipboardevents_c.h" />
   101     <ClInclude Include="..\..\src\events\SDL_dropevents_c.h" />
   102     <ClInclude Include="..\..\src\events\SDL_events_c.h" />
   103     <ClInclude Include="..\..\src\events\SDL_keyboard_c.h" />
   104     <ClInclude Include="..\..\src\events\SDL_mouse_c.h" />
   105     <ClInclude Include="..\..\src\events\SDL_sysevents.h" />
   106     <ClInclude Include="..\..\src\events\SDL_touch_c.h" />
   107     <ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
   108     <ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
   109     <ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
   110     <ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
   111     <ClInclude Include="..\..\src\haptic\windows\SDL_windowshaptic_c.h" />
   112     <ClInclude Include="..\..\src\haptic\windows\SDL_xinputhaptic_c.h" />
   113     <ClInclude Include="..\..\src\joystick\SDL_gamecontrollerdb.h" />
   114     <ClInclude Include="..\..\src\joystick\SDL_joystick_c.h" />
   115     <ClInclude Include="..\..\src\joystick\SDL_sysjoystick.h" />
   116     <ClInclude Include="..\..\src\joystick\windows\SDL_dinputjoystick_c.h" />
   117     <ClInclude Include="..\..\src\joystick\windows\SDL_windowsjoystick_c.h" />
   118     <ClInclude Include="..\..\src\joystick\windows\SDL_xinputjoystick_c.h" />
   119     <ClInclude Include="..\..\src\render\direct3d11\SDL_render_winrt.h" />
   120     <ClInclude Include="..\..\src\render\mmx.h" />
   121     <ClInclude Include="..\..\src\render\opengles2\SDL_gles2funcs.h" />
   122     <ClInclude Include="..\..\src\render\opengles2\SDL_shaders_gles2.h" />
   123     <ClInclude Include="..\..\src\render\SDL_d3dmath.h" />
   124     <ClInclude Include="..\..\src\render\SDL_sysrender.h" />
   125     <ClInclude Include="..\..\src\render\SDL_yuv_sw_c.h" />
   126     <ClInclude Include="..\..\src\render\software\SDL_blendfillrect.h" />
   127     <ClInclude Include="..\..\src\render\software\SDL_blendline.h" />
   128     <ClInclude Include="..\..\src\render\software\SDL_blendpoint.h" />
   129     <ClInclude Include="..\..\src\render\software\SDL_draw.h" />
   130     <ClInclude Include="..\..\src\render\software\SDL_drawline.h" />
   131     <ClInclude Include="..\..\src\render\software\SDL_drawpoint.h" />
   132     <ClInclude Include="..\..\src\render\software\SDL_render_sw_c.h" />
   133     <ClInclude Include="..\..\src\render\software\SDL_rotate.h" />
   134     <ClInclude Include="..\..\src\SDL_assert_c.h" />
   135     <ClInclude Include="..\..\src\SDL_error_c.h" />
   136     <ClInclude Include="..\..\src\SDL_fatal.h" />
   137     <ClInclude Include="..\..\src\SDL_hints_c.h" />
   138     <ClInclude Include="..\..\src\SDL_internal.h" />
   139     <ClInclude Include="..\..\src\thread\SDL_systhread.h" />
   140     <ClInclude Include="..\..\src\thread\SDL_thread_c.h" />
   141     <ClInclude Include="..\..\src\thread\stdcpp\SDL_sysmutex_c.h" />
   142     <ClInclude Include="..\..\src\thread\stdcpp\SDL_systhread_c.h" />
   143     <ClInclude Include="..\..\src\timer\SDL_timer_c.h" />
   144     <ClInclude Include="..\..\src\video\dummy\SDL_nullevents_c.h" />
   145     <ClInclude Include="..\..\src\video\dummy\SDL_nullframebuffer_c.h" />
   146     <ClInclude Include="..\..\src\video\dummy\SDL_nullvideo.h" />
   147     <ClInclude Include="..\..\src\video\SDL_blit.h" />
   148     <ClInclude Include="..\..\src\video\SDL_blit_auto.h" />
   149     <ClInclude Include="..\..\src\video\SDL_blit_copy.h" />
   150     <ClInclude Include="..\..\src\video\SDL_blit_slow.h" />
   151     <ClInclude Include="..\..\src\video\SDL_egl_c.h" />
   152     <ClInclude Include="..\..\src\video\SDL_pixels_c.h" />
   153     <ClInclude Include="..\..\src\video\SDL_rect_c.h" />
   154     <ClInclude Include="..\..\src\video\SDL_RLEaccel_c.h" />
   155     <ClInclude Include="..\..\src\video\SDL_shape_internals.h" />
   156     <ClInclude Include="..\..\src\video\SDL_sysvideo.h" />
   157     <ClInclude Include="..\..\src\video\winrt\SDL_winrtevents_c.h" />
   158     <ClInclude Include="..\..\src\video\winrt\SDL_winrtmessagebox.h" />
   159     <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse_c.h" />
   160     <ClInclude Include="..\..\src\video\winrt\SDL_winrtopengles.h" />
   161     <ClInclude Include="..\..\src\video\winrt\SDL_winrtvideo_cpp.h" />
   162   </ItemGroup>
   163   <ItemGroup>
   164     <ClCompile Include="..\..\src\atomic\SDL_atomic.c" />
   165     <ClCompile Include="..\..\src\atomic\SDL_spinlock.c" />
   166     <ClCompile Include="..\..\src\audio\disk\SDL_diskaudio.c" />
   167     <ClCompile Include="..\..\src\audio\dummy\SDL_dummyaudio.c" />
   168     <ClCompile Include="..\..\src\audio\SDL_audio.c" />
   169     <ClCompile Include="..\..\src\audio\SDL_audiocvt.c" />
   170     <ClCompile Include="..\..\src\audio\SDL_audiodev.c" />
   171     <ClCompile Include="..\..\src\audio\SDL_audiotypecvt.c" />
   172     <ClCompile Include="..\..\src\audio\SDL_mixer.c" />
   173     <ClCompile Include="..\..\src\audio\SDL_wave.c" />
   174     <ClCompile Include="..\..\src\audio\xaudio2\SDL_xaudio2.c" />
   175     <ClCompile Include="..\..\src\audio\xaudio2\SDL_xaudio2_winrthelpers.cpp">
   176       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   177       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   178       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   179       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   180       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   181       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   182     </ClCompile>
   183     <ClCompile Include="..\..\src\core\windows\SDL_windows.c" />
   184     <ClCompile Include="..\..\src\core\windows\SDL_xinput.c" />
   185     <ClCompile Include="..\..\src\core\winrt\SDL_winrtapp_common.cpp">
   186       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   187       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   188       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   189       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   190       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   191       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   192     </ClCompile>
   193     <ClCompile Include="..\..\src\core\winrt\SDL_winrtapp_direct3d.cpp">
   194       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   195       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   196       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   197       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   198       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   199       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   200     </ClCompile>
   201     <ClCompile Include="..\..\src\core\winrt\SDL_winrtapp_xaml.cpp">
   202       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   203       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   204       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   205       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   206       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   207       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   208     </ClCompile>
   209     <ClCompile Include="..\..\src\cpuinfo\SDL_cpuinfo.c" />
   210     <ClCompile Include="..\..\src\dynapi\SDL_dynapi.c" />
   211     <ClCompile Include="..\..\src\events\SDL_clipboardevents.c" />
   212     <ClCompile Include="..\..\src\events\SDL_dropevents.c" />
   213     <ClCompile Include="..\..\src\events\SDL_events.c" />
   214     <ClCompile Include="..\..\src\events\SDL_gesture.c" />
   215     <ClCompile Include="..\..\src\events\SDL_keyboard.c" />
   216     <ClCompile Include="..\..\src\events\SDL_mouse.c" />
   217     <ClCompile Include="..\..\src\events\SDL_quit.c" />
   218     <ClCompile Include="..\..\src\events\SDL_touch.c" />
   219     <ClCompile Include="..\..\src\events\SDL_windowevents.c" />
   220     <ClCompile Include="..\..\src\filesystem\winrt\SDL_sysfilesystem.cpp">
   221       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   222       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   223       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   224       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   225       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   226       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   227     </ClCompile>
   228     <ClCompile Include="..\..\src\file\SDL_rwops.c" />
   229     <ClCompile Include="..\..\src\haptic\dummy\SDL_syshaptic.c" />
   230     <ClCompile Include="..\..\src\haptic\SDL_haptic.c" />
   231     <ClCompile Include="..\..\src\haptic\windows\SDL_dinputhaptic.c" />
   232     <ClCompile Include="..\..\src\haptic\windows\SDL_windowshaptic.c" />
   233     <ClCompile Include="..\..\src\haptic\windows\SDL_xinputhaptic.c" />
   234     <ClCompile Include="..\..\src\joystick\dummy\SDL_sysjoystick.c" />
   235     <ClCompile Include="..\..\src\joystick\SDL_gamecontroller.c" />
   236     <ClCompile Include="..\..\src\joystick\SDL_joystick.c" />
   237     <ClCompile Include="..\..\src\joystick\windows\SDL_dinputjoystick.c" />
   238     <ClCompile Include="..\..\src\joystick\windows\SDL_windowsjoystick.c" />
   239     <ClCompile Include="..\..\src\joystick\windows\SDL_xinputjoystick.c" />
   240     <ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
   241     <ClCompile Include="..\..\src\power\SDL_power.c" />
   242     <ClCompile Include="..\..\src\power\winrt\SDL_syspower.cpp" />
   243     <ClCompile Include="..\..\src\render\direct3d11\SDL_render_d3d11.c" />
   244     <ClCompile Include="..\..\src\render\direct3d11\SDL_render_winrt.cpp">
   245       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   246       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   247       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   248       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   249       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   250       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   251     </ClCompile>
   252     <ClCompile Include="..\..\src\render\opengles2\SDL_render_gles2.c" />
   253     <ClCompile Include="..\..\src\render\opengles2\SDL_shaders_gles2.c" />
   254     <ClCompile Include="..\..\src\render\SDL_d3dmath.c" />
   255     <ClCompile Include="..\..\src\render\SDL_render.c" />
   256     <ClCompile Include="..\..\src\render\SDL_yuv_mmx.c" />
   257     <ClCompile Include="..\..\src\render\SDL_yuv_sw.c" />
   258     <ClCompile Include="..\..\src\render\software\SDL_blendfillrect.c" />
   259     <ClCompile Include="..\..\src\render\software\SDL_blendline.c" />
   260     <ClCompile Include="..\..\src\render\software\SDL_blendpoint.c" />
   261     <ClCompile Include="..\..\src\render\software\SDL_drawline.c" />
   262     <ClCompile Include="..\..\src\render\software\SDL_drawpoint.c" />
   263     <ClCompile Include="..\..\src\render\software\SDL_render_sw.c" />
   264     <ClCompile Include="..\..\src\render\software\SDL_rotate.c" />
   265     <ClCompile Include="..\..\src\SDL.c" />
   266     <ClCompile Include="..\..\src\SDL_assert.c" />
   267     <ClCompile Include="..\..\src\SDL_error.c" />
   268     <ClCompile Include="..\..\src\SDL_hints.c" />
   269     <ClCompile Include="..\..\src\SDL_log.c" />
   270     <ClCompile Include="..\..\src\stdlib\SDL_getenv.c" />
   271     <ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
   272     <ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
   273     <ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
   274     <ClCompile Include="..\..\src\stdlib\SDL_stdlib.c" />
   275     <ClCompile Include="..\..\src\stdlib\SDL_string.c" />
   276     <ClCompile Include="..\..\src\thread\generic\SDL_syssem.c" />
   277     <ClCompile Include="..\..\src\thread\SDL_thread.c" />
   278     <ClCompile Include="..\..\src\thread\stdcpp\SDL_syscond.cpp" />
   279     <ClCompile Include="..\..\src\thread\stdcpp\SDL_sysmutex.cpp" />
   280     <ClCompile Include="..\..\src\thread\stdcpp\SDL_systhread.cpp" />
   281     <ClCompile Include="..\..\src\timer\SDL_timer.c" />
   282     <ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" />
   283     <ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
   284     <ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
   285     <ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
   286     <ClCompile Include="..\..\src\video\SDL_blit.c" />
   287     <ClCompile Include="..\..\src\video\SDL_blit_0.c" />
   288     <ClCompile Include="..\..\src\video\SDL_blit_1.c" />
   289     <ClCompile Include="..\..\src\video\SDL_blit_A.c" />
   290     <ClCompile Include="..\..\src\video\SDL_blit_auto.c" />
   291     <ClCompile Include="..\..\src\video\SDL_blit_copy.c" />
   292     <ClCompile Include="..\..\src\video\SDL_blit_N.c" />
   293     <ClCompile Include="..\..\src\video\SDL_blit_slow.c" />
   294     <ClCompile Include="..\..\src\video\SDL_bmp.c" />
   295     <ClCompile Include="..\..\src\video\SDL_clipboard.c" />
   296     <ClCompile Include="..\..\src\video\SDL_egl.c" />
   297     <ClCompile Include="..\..\src\video\SDL_fillrect.c" />
   298     <ClCompile Include="..\..\src\video\SDL_pixels.c" />
   299     <ClCompile Include="..\..\src\video\SDL_rect.c" />
   300     <ClCompile Include="..\..\src\video\SDL_RLEaccel.c" />
   301     <ClCompile Include="..\..\src\video\SDL_shape.c" />
   302     <ClCompile Include="..\..\src\video\SDL_stretch.c" />
   303     <ClCompile Include="..\..\src\video\SDL_surface.c" />
   304     <ClCompile Include="..\..\src\video\SDL_video.c" />
   305     <ClCompile Include="..\..\src\video\winrt\SDL_winrtevents.cpp">
   306       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   307       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   308       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   309       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   310       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   311       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   312     </ClCompile>
   313     <ClCompile Include="..\..\src\video\winrt\SDL_winrtkeyboard.cpp">
   314       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   315       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   316       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   317       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   318       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   319       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   320     </ClCompile>
   321     <ClCompile Include="..\..\src\video\winrt\SDL_winrtmessagebox.cpp">
   322       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   323       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   324       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   325       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   326       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   327       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   328     </ClCompile>
   329     <ClCompile Include="..\..\src\video\winrt\SDL_winrtmouse.cpp">
   330       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   331       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   332       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   333       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   334       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   335       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   336     </ClCompile>
   337     <ClCompile Include="..\..\src\video\winrt\SDL_winrtopengles.cpp">
   338       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   339       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   340       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   341       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   342       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   343       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   344     </ClCompile>
   345     <ClCompile Include="..\..\src\video\winrt\SDL_winrtpointerinput.cpp">
   346       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   347       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   348       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   349       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   350       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   351       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   352     </ClCompile>
   353     <ClCompile Include="..\..\src\video\winrt\SDL_winrtvideo.cpp">
   354       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
   355       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
   356       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
   357       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
   358       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
   359       <CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
   360     </ClCompile>
   361   </ItemGroup>
   362   <PropertyGroup Label="Globals">
   363     <ProjectGuid>{c8df6173-06a1-4f56-a9bc-2002596b30e9}</ProjectGuid>
   364     <RootNamespace>SDL_WinRT81</RootNamespace>
   365     <DefaultLanguage>en-US</DefaultLanguage>
   366     <MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
   367     <AppContainerApplication>true</AppContainerApplication>
   368     <ApplicationType>Windows Store</ApplicationType>
   369     <ApplicationTypeRevision>8.1</ApplicationTypeRevision>
   370     <ConvergedProjectType>CodeSharingDll</ConvergedProjectType>
   371     <ProjectName>SDL2-WinRT81</ProjectName>
   372   </PropertyGroup>
   373   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   374   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   375     <ConfigurationType>DynamicLibrary</ConfigurationType>
   376     <UseDebugLibraries>true</UseDebugLibraries>
   377     <PlatformToolset>v120</PlatformToolset>
   378   </PropertyGroup>
   379   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
   380     <ConfigurationType>DynamicLibrary</ConfigurationType>
   381     <UseDebugLibraries>true</UseDebugLibraries>
   382     <PlatformToolset>v120</PlatformToolset>
   383   </PropertyGroup>
   384   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
   385     <ConfigurationType>DynamicLibrary</ConfigurationType>
   386     <UseDebugLibraries>true</UseDebugLibraries>
   387     <PlatformToolset>v120</PlatformToolset>
   388   </PropertyGroup>
   389   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   390     <ConfigurationType>DynamicLibrary</ConfigurationType>
   391     <UseDebugLibraries>false</UseDebugLibraries>
   392     <WholeProgramOptimization>true</WholeProgramOptimization>
   393     <PlatformToolset>v120</PlatformToolset>
   394   </PropertyGroup>
   395   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
   396     <ConfigurationType>DynamicLibrary</ConfigurationType>
   397     <UseDebugLibraries>false</UseDebugLibraries>
   398     <WholeProgramOptimization>true</WholeProgramOptimization>
   399     <PlatformToolset>v120</PlatformToolset>
   400   </PropertyGroup>
   401   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
   402     <ConfigurationType>DynamicLibrary</ConfigurationType>
   403     <UseDebugLibraries>false</UseDebugLibraries>
   404     <WholeProgramOptimization>true</WholeProgramOptimization>
   405     <PlatformToolset>v120</PlatformToolset>
   406   </PropertyGroup>
   407   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   408   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   409     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   410   </ImportGroup>
   411   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   412     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   413   </ImportGroup>
   414   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
   415     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   416   </ImportGroup>
   417   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
   418     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   419   </ImportGroup>
   420   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   421     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   422   </ImportGroup>
   423   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   424     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   425   </ImportGroup>
   426   <PropertyGroup Label="UserMacros" />
   427   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   428     <GenerateManifest>false</GenerateManifest>
   429     <IgnoreImportLibrary>false</IgnoreImportLibrary>
   430     <IntDir>Objs\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</IntDir>
   431     <TargetName>SDL2</TargetName>
   432   </PropertyGroup>
   433   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   434     <GenerateManifest>false</GenerateManifest>
   435     <IgnoreImportLibrary>false</IgnoreImportLibrary>
   436     <IntDir>Objs\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</IntDir>
   437     <TargetName>SDL2</TargetName>
   438   </PropertyGroup>
   439   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
   440     <GenerateManifest>false</GenerateManifest>
   441     <IgnoreImportLibrary>false</IgnoreImportLibrary>
   442     <IntDir>Objs\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</IntDir>
   443     <TargetName>SDL2</TargetName>
   444   </PropertyGroup>
   445   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
   446     <GenerateManifest>false</GenerateManifest>
   447     <IgnoreImportLibrary>false</IgnoreImportLibrary>
   448     <IntDir>Objs\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</IntDir>
   449     <TargetName>SDL2</TargetName>
   450   </PropertyGroup>
   451   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   452     <GenerateManifest>false</GenerateManifest>
   453     <IgnoreImportLibrary>false</IgnoreImportLibrary>
   454     <IntDir>Objs\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</IntDir>
   455     <TargetName>SDL2</TargetName>
   456   </PropertyGroup>
   457   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   458     <GenerateManifest>false</GenerateManifest>
   459     <IgnoreImportLibrary>false</IgnoreImportLibrary>
   460     <IntDir>Objs\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</IntDir>
   461     <TargetName>SDL2</TargetName>
   462   </PropertyGroup>
   463   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   464     <ClCompile>
   465       <PrecompiledHeader>NotUsing</PrecompiledHeader>
   466       <CompileAsWinRT>false</CompileAsWinRT>
   467       <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   468       <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;SDL_BUILDING_WINRT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   469     </ClCompile>
   470     <Link>
   471       <SubSystem>Console</SubSystem>
   472       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
   473       <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
   474       <AdditionalDependencies>xinput.lib;xaudio2.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   475     </Link>
   476   </ItemDefinitionGroup>
   477   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   478     <ClCompile>
   479       <PrecompiledHeader>NotUsing</PrecompiledHeader>
   480       <CompileAsWinRT>false</CompileAsWinRT>
   481       <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   482       <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;SDL_BUILDING_WINRT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   483     </ClCompile>
   484     <Link>
   485       <SubSystem>Console</SubSystem>
   486       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
   487       <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
   488       <AdditionalDependencies>xinput.lib;xaudio2.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   489     </Link>
   490   </ItemDefinitionGroup>
   491   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|arm'">
   492     <ClCompile>
   493       <PrecompiledHeader>NotUsing</PrecompiledHeader>
   494       <CompileAsWinRT>false</CompileAsWinRT>
   495       <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   496       <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;SDL_BUILDING_WINRT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   497     </ClCompile>
   498     <Link>
   499       <SubSystem>Console</SubSystem>
   500       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
   501       <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
   502       <AdditionalDependencies>xinput.lib;xaudio2.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   503     </Link>
   504   </ItemDefinitionGroup>
   505   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm'">
   506     <ClCompile>
   507       <PrecompiledHeader>NotUsing</PrecompiledHeader>
   508       <CompileAsWinRT>false</CompileAsWinRT>
   509       <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   510       <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;SDL_BUILDING_WINRT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   511     </ClCompile>
   512     <Link>
   513       <SubSystem>Console</SubSystem>
   514       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
   515       <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
   516       <AdditionalDependencies>xinput.lib;xaudio2.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   517     </Link>
   518   </ItemDefinitionGroup>
   519   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   520     <ClCompile>
   521       <PrecompiledHeader>NotUsing</PrecompiledHeader>
   522       <CompileAsWinRT>false</CompileAsWinRT>
   523       <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   524       <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;SDL_BUILDING_WINRT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   525     </ClCompile>
   526     <Link>
   527       <SubSystem>Console</SubSystem>
   528       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
   529       <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
   530       <AdditionalDependencies>xinput.lib;xaudio2.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   531     </Link>
   532   </ItemDefinitionGroup>
   533   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   534     <ClCompile>
   535       <PrecompiledHeader>NotUsing</PrecompiledHeader>
   536       <CompileAsWinRT>false</CompileAsWinRT>
   537       <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   538       <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;SDL_BUILDING_WINRT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   539     </ClCompile>
   540     <Link>
   541       <SubSystem>Console</SubSystem>
   542       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
   543       <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
   544       <AdditionalDependencies>xinput.lib;xaudio2.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   545     </Link>
   546   </ItemDefinitionGroup>
   547   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   548   <ImportGroup Label="ExtensionTargets">
   549   </ImportGroup>
   550 </Project>