mirror of https://github.com/PCSX2/pcsx2.git
3rdparty: Remove SDL2 submodule
Unnecessary since we always dynamic link it now.
This commit is contained in:
parent
3567d8913f
commit
ee3ee63ff5
|
@ -24,9 +24,6 @@
|
||||||
[submodule "3rdparty/vulkan-headers"]
|
[submodule "3rdparty/vulkan-headers"]
|
||||||
path = 3rdparty/vulkan-headers
|
path = 3rdparty/vulkan-headers
|
||||||
url = https://github.com/KhronosGroup/Vulkan-Headers.git
|
url = https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||||
[submodule "3rdparty/sdl2/SDL"]
|
|
||||||
path = 3rdparty/sdl2/SDL
|
|
||||||
url = https://github.com/libsdl-org/SDL.git
|
|
||||||
[submodule "3rdparty/zstd/zstd"]
|
[submodule "3rdparty/zstd/zstd"]
|
||||||
path = 3rdparty/zstd/zstd
|
path = 3rdparty/zstd/zstd
|
||||||
url = https://github.com/facebook/zstd.git
|
url = https://github.com/facebook/zstd.git
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
# Disable building the stuff we don't need.
|
|
||||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "")
|
|
||||||
set(SDL_DISKAUDIO OFF CACHE BOOL "")
|
|
||||||
set(SDL_OPENGL OFF CACHE BOOL "")
|
|
||||||
set(SDL_OPENGLES OFF CACHE BOOL "")
|
|
||||||
set(SDL_OSS OFF CACHE BOOL "")
|
|
||||||
set(SDL_ALSA OFF CACHE BOOL "")
|
|
||||||
set(SDL_JACK OFF CACHE BOOL "")
|
|
||||||
set(SDL_ESD OFF CACHE BOOL "")
|
|
||||||
set(SDL_PIPEWIRE OFF CACHE BOOL "")
|
|
||||||
set(SDL_PULSEAUDIO OFF CACHE BOOL "")
|
|
||||||
set(SDL_ARTS OFF CACHE BOOL "")
|
|
||||||
set(SDL_NAS OFF CACHE BOOL "")
|
|
||||||
set(SDL_SNDIO OFF CACHE BOOL "")
|
|
||||||
set(SDL_FUSIONSOUND OFF CACHE BOOL "")
|
|
||||||
set(SDL_LIBSAMPLERATE OFF CACHE BOOL "")
|
|
||||||
set(SDL_X11 OFF CACHE BOOL "")
|
|
||||||
set(SDL_WAYLAND OFF CACHE BOOL "")
|
|
||||||
set(SDL_RPI OFF CACHE BOOL "")
|
|
||||||
set(SDL_COCOA ON CACHE BOOL "")
|
|
||||||
set(SDL_DIRECTX ON CACHE BOOL "")
|
|
||||||
set(SDL_WASAPI OFF CACHE BOOL "")
|
|
||||||
set(SDL_RENDER_D3D OFF CACHE BOOL "")
|
|
||||||
set(SDL_RENDER_METAL OFF CACHE BOOL "")
|
|
||||||
set(SDL_VIVANTE OFF CACHE BOOL "")
|
|
||||||
set(SDL_VULKAN OFF CACHE BOOL "")
|
|
||||||
set(SDL_METAL OFF CACHE BOOL "")
|
|
||||||
set(SDL_KMSDRM OFF CACHE BOOL "")
|
|
||||||
set(SDL_OFFSCREEN OFF CACHE BOOL "")
|
|
||||||
set(SDL_SHARED OFF CACHE BOOL "")
|
|
||||||
set(SDL_STATIC ON CACHE BOOL "")
|
|
||||||
|
|
||||||
# Subsystems
|
|
||||||
set(SDL_ATOMIC ON CACHE BOOL "")
|
|
||||||
set(SDL_AUDIO OFF CACHE BOOL "")
|
|
||||||
set(SDL_VIDEO ON CACHE BOOL "")
|
|
||||||
set(SDL_RENDER OFF CACHE BOOL "")
|
|
||||||
set(SDL_EVENTS ON CACHE BOOL "")
|
|
||||||
set(SDL_JOYSTICK ON CACHE BOOL "")
|
|
||||||
set(SDL_HAPTIC ON CACHE BOOL "")
|
|
||||||
set(SDL_HIDAPI ON CACHE BOOL "")
|
|
||||||
set(SDL_POWER OFF CACHE BOOL "")
|
|
||||||
set(SDL_THREADS ON CACHE BOOL "")
|
|
||||||
set(SDL_TIMERS ON CACHE BOOL "")
|
|
||||||
set(SDL_FILE ON CACHE BOOL "")
|
|
||||||
set(SDL_LOADSO ON CACHE BOOL "")
|
|
||||||
set(SDL_CPUINFO OFF CACHE BOOL "")
|
|
||||||
set(SDL_FILESYSTEM OFF CACHE BOOL "")
|
|
||||||
set(SDL_DLOPEN ON CACHE BOOL "")
|
|
||||||
set(SDL_SENSOR OFF CACHE BOOL "")
|
|
||||||
set(SDL_LOCALE OFF CACHE BOOL "")
|
|
||||||
|
|
||||||
add_subdirectory(SDL)
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 4761467b2e8cc7db3d6bc98747daca0051858f09
|
|
|
@ -1,434 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<Import Project="$(SolutionDir)common\vsprops\BaseProjectConfig.props" />
|
|
||||||
<Import Project="$(SolutionDir)common\vsprops\WinSDK.props" />
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>{812B4434-FD6B-4CB2-8865-5FD8EB34B046}</ProjectGuid>
|
|
||||||
<Keyword>Win32Proj</Keyword>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
||||||
<PropertyGroup Label="Configuration">
|
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
||||||
<PlatformToolset Condition="!$(Configuration.Contains(Clang))">$(DefaultPlatformToolset)</PlatformToolset>
|
|
||||||
<PlatformToolset Condition="$(Configuration.Contains(Clang))">ClangCL</PlatformToolset>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
<WholeProgramOptimization Condition="$(Configuration.Contains(Release))">true</WholeProgramOptimization>
|
|
||||||
<UseDebugLibraries Condition="$(Configuration.Contains(Debug))">true</UseDebugLibraries>
|
|
||||||
<UseDebugLibraries Condition="!$(Configuration.Contains(Debug))">false</UseDebugLibraries>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
||||||
<ImportGroup Label="ExtensionSettings" />
|
|
||||||
<ImportGroup Label="PropertySheets">
|
|
||||||
<Import Project="..\DefaultProjectRootDir.props" />
|
|
||||||
<Import Project="..\3rdparty.props" />
|
|
||||||
<Import Condition="$(Configuration.Contains(Debug))" Project="..\..\common\vsprops\CodeGen_Debug.props" />
|
|
||||||
<Import Condition="$(Configuration.Contains(Devel))" Project="..\..\common\vsprops\CodeGen_Devel.props" />
|
|
||||||
<Import Condition="$(Configuration.Contains(Release))" Project="..\..\common\vsprops\CodeGen_Release.props" />
|
|
||||||
<Import Condition="!$(Configuration.Contains(Release))" Project="..\..\common\vsprops\IncrementalLinking.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Label="UserMacros" />
|
|
||||||
<PropertyGroup>
|
|
||||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup>
|
|
||||||
<ClCompile>
|
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<PreprocessorDefinitions>_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(ProjectDir)include;$(ProjectDir)SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
|
|
||||||
<!-- Needed to use SSE3 intrinsics in clang build. -->
|
|
||||||
<AdditionalOptions Condition="$(Configuration.Contains(Clang))">-march=core2 -Wno-deprecated-declarations %(AdditionalOptions)</AdditionalOptions>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="SDL\include\begin_code.h" />
|
|
||||||
<ClInclude Include="SDL\include\close_code.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_assert.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_atomic.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_audio.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_bits.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_blendmode.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_clipboard.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_config.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_config_windows.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_copying.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_cpuinfo.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_egl.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_endian.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_error.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_events.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_filesystem.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_gamecontroller.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_gesture.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_guid.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_haptic.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_hidapi.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_hints.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_joystick.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_keyboard.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_keycode.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_loadso.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_locale.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_log.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_main.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_messagebox.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_metal.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_misc.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_mouse.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_mutex.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_name.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengl.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengl_glext.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengles.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengles2.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengles2_gl2.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengles2_gl2ext.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengles2_gl2platform.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_opengles2_khrplatform.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_pixels.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_platform.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_power.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_quit.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_rect.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_render.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_revision.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_rwops.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_scancode.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_sensor.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_shape.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_stdinc.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_surface.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_system.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_syswm.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_assert.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_common.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_compare.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_crc32.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_font.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_fuzzer.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_harness.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_images.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_log.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_md5.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_memory.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_test_random.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_thread.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_timer.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_touch.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_types.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_version.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_video.h" />
|
|
||||||
<ClInclude Include="SDL\include\SDL_vulkan.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\directsound\SDL_directsound.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\disk\SDL_diskaudio.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\dummy\SDL_dummyaudio.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\SDL_audio_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\SDL_audiodev_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\SDL_sysaudio.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\SDL_wave.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\wasapi\SDL_wasapi.h" />
|
|
||||||
<ClInclude Include="SDL\src\audio\winmm\SDL_winmm.h" />
|
|
||||||
<ClInclude Include="SDL\src\core\windows\SDL_directx.h" />
|
|
||||||
<ClInclude Include="SDL\src\core\windows\SDL_hid.h" />
|
|
||||||
<ClInclude Include="SDL\src\core\windows\SDL_windows.h" />
|
|
||||||
<ClInclude Include="SDL\src\core\windows\SDL_xinput.h" />
|
|
||||||
<ClInclude Include="SDL\src\dynapi\SDL_dynapi.h" />
|
|
||||||
<ClInclude Include="SDL\src\dynapi\SDL_dynapi_overrides.h" />
|
|
||||||
<ClInclude Include="SDL\src\dynapi\SDL_dynapi_procs.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\blank_cursor.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\default_cursor.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\scancodes_windows.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_clipboardevents_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_displayevents_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_dropevents_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_events_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_gesture_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_keyboard_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_mouse_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_sysevents.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_touch_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\events\SDL_windowevents_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\haptic\SDL_haptic_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\haptic\SDL_syshaptic.h" />
|
|
||||||
<ClInclude Include="SDL\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\haptic\windows\SDL_windowshaptic_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\haptic\windows\SDL_xinputhaptic_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\hidapi\hidapi\hidapi.h" />
|
|
||||||
<ClInclude Include="SDL\src\hidapi\SDL_hidapi_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\controller_type.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\hidapi\SDL_hidapijoystick_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\hidapi\SDL_hidapi_nintendo.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\hidapi\SDL_hidapi_rumble.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\SDL_gamecontrollerdb.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\SDL_joystick_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\SDL_sysjoystick.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\usb_ids.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\virtual\SDL_virtualjoystick_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\windows\SDL_dinputjoystick_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\windows\SDL_rawinputjoystick_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\windows\SDL_windowsjoystick_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\joystick\windows\SDL_xinputjoystick_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\libm\math_libm.h" />
|
|
||||||
<ClInclude Include="SDL\src\libm\math_private.h" />
|
|
||||||
<ClInclude Include="SDL\src\locale\SDL_syslocale.h" />
|
|
||||||
<ClInclude Include="SDL\src\misc\SDL_sysurl.h" />
|
|
||||||
<ClInclude Include="SDL\src\power\SDL_syspower.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\direct3d11\SDL_shaders_d3d11.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\direct3d12\SDL_shaders_d3d12.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\direct3d\SDL_shaders_d3d.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\opengles2\SDL_gles2funcs.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\opengles2\SDL_shaders_gles2.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\opengl\SDL_glfuncs.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\opengl\SDL_shaders_gl.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\SDL_d3dmath.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\SDL_sysrender.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\SDL_yuv_sw_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_blendfillrect.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_blendline.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_blendpoint.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_draw.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_drawline.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_drawpoint.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_render_sw_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_rotate.h" />
|
|
||||||
<ClInclude Include="SDL\src\render\software\SDL_triangle.h" />
|
|
||||||
<ClInclude Include="SDL\src\SDL_assert_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\SDL_dataqueue.h" />
|
|
||||||
<ClInclude Include="SDL\src\SDL_error_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\SDL_hints_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\SDL_internal.h" />
|
|
||||||
<ClInclude Include="SDL\src\SDL_list.h" />
|
|
||||||
<ClInclude Include="SDL\src\SDL_utils_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\sensor\dummy\SDL_dummysensor.h" />
|
|
||||||
<ClInclude Include="SDL\src\sensor\SDL_sensor_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\sensor\SDL_syssensor.h" />
|
|
||||||
<ClInclude Include="SDL\src\sensor\windows\SDL_windowssensor.h" />
|
|
||||||
<ClInclude Include="SDL\src\thread\generic\SDL_syscond_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\thread\SDL_systhread.h" />
|
|
||||||
<ClInclude Include="SDL\src\thread\SDL_thread_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\thread\windows\SDL_sysmutex_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\thread\windows\SDL_systhread_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\timer\SDL_timer_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\dummy\SDL_nullevents_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\dummy\SDL_nullframebuffer_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\dummy\SDL_nullvideo.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_blit.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_blit_auto.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_blit_copy.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_blit_slow.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_egl_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_pixels_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_rect_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_RLEaccel_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_shape_internals.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_sysvideo.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_vulkan_internal.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\SDL_yuv_c.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_msctf.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_vkeys.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsclipboard.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsevents.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsframebuffer.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowskeyboard.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsmessagebox.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsmodes.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsmouse.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsopengl.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsopengles.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsshape.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowstaskdialog.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsvideo.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowsvulkan.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\SDL_windowswindow.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\windows\wmmsg.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\yuv2rgb\yuv_rgb.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\yuv2rgb\yuv_rgb_sse_func.h" />
|
|
||||||
<ClInclude Include="SDL\src\video\yuv2rgb\yuv_rgb_std_func.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="SDL\src\atomic\SDL_atomic.c" />
|
|
||||||
<ClCompile Include="SDL\src\atomic\SDL_spinlock.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\directsound\SDL_directsound.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\disk\SDL_diskaudio.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\dummy\SDL_dummyaudio.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\SDL_audio.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\SDL_audiocvt.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\SDL_audiodev.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\SDL_audiotypecvt.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\SDL_mixer.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\SDL_wave.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\winmm\SDL_winmm.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\wasapi\SDL_wasapi.c" />
|
|
||||||
<ClCompile Include="SDL\src\audio\wasapi\SDL_wasapi_win32.c" />
|
|
||||||
<ClCompile Include="SDL\src\core\windows\SDL_hid.c" />
|
|
||||||
<ClCompile Include="SDL\src\core\windows\SDL_windows.c" />
|
|
||||||
<ClCompile Include="SDL\src\core\windows\SDL_xinput.c" />
|
|
||||||
<ClCompile Include="SDL\src\cpuinfo\SDL_cpuinfo.c" />
|
|
||||||
<ClCompile Include="SDL\src\dynapi\SDL_dynapi.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_clipboardevents.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_displayevents.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_dropevents.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_events.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_gesture.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_keyboard.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_mouse.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_quit.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_touch.c" />
|
|
||||||
<ClCompile Include="SDL\src\events\SDL_windowevents.c" />
|
|
||||||
<ClCompile Include="SDL\src\file\SDL_rwops.c" />
|
|
||||||
<ClCompile Include="SDL\src\filesystem\windows\SDL_sysfilesystem.c" />
|
|
||||||
<ClCompile Include="SDL\src\haptic\dummy\SDL_syshaptic.c" />
|
|
||||||
<ClCompile Include="SDL\src\haptic\SDL_haptic.c" />
|
|
||||||
<ClCompile Include="SDL\src\haptic\windows\SDL_dinputhaptic.c" />
|
|
||||||
<ClCompile Include="SDL\src\haptic\windows\SDL_windowshaptic.c" />
|
|
||||||
<ClCompile Include="SDL\src\haptic\windows\SDL_xinputhaptic.c" />
|
|
||||||
<ClCompile Include="SDL\src\hidapi\SDL_hidapi.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\controller_type.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\dummy\SDL_sysjoystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapijoystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_combined.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_gamecube.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_luna.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_ps3.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_ps4.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_ps5.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_rumble.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_shield.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_stadia.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_steam.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_switch.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_wii.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_xbox360.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_xbox360w.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\hidapi\SDL_hidapi_xboxone.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\SDL_gamecontroller.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\SDL_joystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\virtual\SDL_virtualjoystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\windows\SDL_dinputjoystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\windows\SDL_rawinputjoystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\windows\SDL_windowsjoystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\windows\SDL_windows_gaming_input.c" />
|
|
||||||
<ClCompile Include="SDL\src\joystick\windows\SDL_xinputjoystick.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_atan2.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_exp.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_fmod.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_log.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_log10.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_pow.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_rem_pio2.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\e_sqrt.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\k_cos.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\k_rem_pio2.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\k_sin.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\k_tan.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_atan.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_copysign.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_cos.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_fabs.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_floor.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_scalbn.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_sin.c" />
|
|
||||||
<ClCompile Include="SDL\src\libm\s_tan.c" />
|
|
||||||
<ClCompile Include="SDL\src\loadso\windows\SDL_sysloadso.c" />
|
|
||||||
<ClCompile Include="SDL\src\locale\SDL_locale.c" />
|
|
||||||
<ClCompile Include="SDL\src\locale\windows\SDL_syslocale.c" />
|
|
||||||
<ClCompile Include="SDL\src\misc\SDL_url.c" />
|
|
||||||
<ClCompile Include="SDL\src\misc\windows\SDL_sysurl.c" />
|
|
||||||
<ClCompile Include="SDL\src\power\SDL_power.c" />
|
|
||||||
<ClCompile Include="SDL\src\power\windows\SDL_syspower.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\direct3d11\SDL_render_d3d11.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\direct3d11\SDL_shaders_d3d11.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\direct3d12\SDL_render_d3d12.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\direct3d12\SDL_shaders_d3d12.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\direct3d\SDL_render_d3d.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\direct3d\SDL_shaders_d3d.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\opengl\SDL_render_gl.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\opengl\SDL_shaders_gl.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\opengles2\SDL_render_gles2.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\opengles2\SDL_shaders_gles2.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\SDL_d3dmath.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\SDL_render.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\SDL_yuv_sw.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_blendfillrect.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_blendline.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_blendpoint.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_drawline.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_drawpoint.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_render_sw.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_rotate.c" />
|
|
||||||
<ClCompile Include="SDL\src\render\software\SDL_triangle.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_assert.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_dataqueue.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_error.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_guid.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_hints.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_list.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_log.c" />
|
|
||||||
<ClCompile Include="SDL\src\SDL_utils.c" />
|
|
||||||
<ClCompile Include="SDL\src\sensor\dummy\SDL_dummysensor.c" />
|
|
||||||
<ClCompile Include="SDL\src\sensor\SDL_sensor.c" />
|
|
||||||
<ClCompile Include="SDL\src\sensor\windows\SDL_windowssensor.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_crc16.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_crc32.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_getenv.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_iconv.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_malloc.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_qsort.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_stdlib.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_string.c" />
|
|
||||||
<ClCompile Include="SDL\src\stdlib\SDL_strtokr.c" />
|
|
||||||
<ClCompile Include="SDL\src\thread\generic\SDL_syscond.c" />
|
|
||||||
<ClCompile Include="SDL\src\thread\SDL_thread.c" />
|
|
||||||
<ClCompile Include="SDL\src\thread\windows\SDL_syscond_cv.c" />
|
|
||||||
<ClCompile Include="SDL\src\thread\windows\SDL_sysmutex.c" />
|
|
||||||
<ClCompile Include="SDL\src\thread\windows\SDL_syssem.c" />
|
|
||||||
<ClCompile Include="SDL\src\thread\windows\SDL_systhread.c" />
|
|
||||||
<ClCompile Include="SDL\src\thread\windows\SDL_systls.c" />
|
|
||||||
<ClCompile Include="SDL\src\timer\SDL_timer.c" />
|
|
||||||
<ClCompile Include="SDL\src\timer\windows\SDL_systimer.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\dummy\SDL_nullevents.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\dummy\SDL_nullframebuffer.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\dummy\SDL_nullvideo.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit_0.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit_1.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit_A.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit_auto.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit_copy.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit_N.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_blit_slow.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_bmp.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_clipboard.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_egl.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_fillrect.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_pixels.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_rect.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_RLEaccel.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_shape.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_stretch.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_surface.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_video.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_vulkan_utils.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\SDL_yuv.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsclipboard.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsevents.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsframebuffer.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowskeyboard.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsmessagebox.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsmodes.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsmouse.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsopengl.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsopengles.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsshape.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsvideo.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowsvulkan.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\windows\SDL_windowswindow.c" />
|
|
||||||
<ClCompile Include="SDL\src\video\yuv2rgb\yuv_rgb.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
||||||
<ImportGroup Label="ExtensionTargets">
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,260 +0,0 @@
|
||||||
/*
|
|
||||||
Simple DirectMedia Layer
|
|
||||||
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
|
||||||
warranty. In no event will the authors be held liable for any damages
|
|
||||||
arising from the use of this software.
|
|
||||||
|
|
||||||
Permission is granted to anyone to use this software for any purpose,
|
|
||||||
including commercial applications, and to alter it and redistribute it
|
|
||||||
freely, subject to the following restrictions:
|
|
||||||
|
|
||||||
1. The origin of this software must not be misrepresented; you must not
|
|
||||||
claim that you wrote the original software. If you use this software
|
|
||||||
in a product, an acknowledgment in the product documentation would be
|
|
||||||
appreciated but is not required.
|
|
||||||
2. Altered source versions must be plainly marked as such, and must not be
|
|
||||||
misrepresented as being the original software.
|
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef SDL_config_windows_h_
|
|
||||||
#define SDL_config_windows_h_
|
|
||||||
#define SDL_config_h_
|
|
||||||
|
|
||||||
#include "SDL_platform.h"
|
|
||||||
|
|
||||||
/* winsdkver.h defines _WIN32_MAXVER for SDK version detection. It is present since at least the Windows 7 SDK,
|
|
||||||
* but out of caution we'll only use it if the compiler supports __has_include() to confirm its presence.
|
|
||||||
* If your compiler doesn't support __has_include() but you have winsdkver.h, define HAVE_WINSDKVER_H. */
|
|
||||||
#if !defined(HAVE_WINSDKVER_H) && defined(__has_include)
|
|
||||||
#if __has_include(<winsdkver.h>)
|
|
||||||
#define HAVE_WINSDKVER_H 1
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_WINSDKVER_H
|
|
||||||
#include <winsdkver.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This is a set of defines to configure the SDL features */
|
|
||||||
|
|
||||||
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
|
|
||||||
#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__) || defined(__clang__) || defined(__BORLANDC__) || defined(__CODEGEARC__)
|
|
||||||
#define HAVE_STDINT_H 1
|
|
||||||
#elif defined(_MSC_VER)
|
|
||||||
typedef signed __int8 int8_t;
|
|
||||||
typedef unsigned __int8 uint8_t;
|
|
||||||
typedef signed __int16 int16_t;
|
|
||||||
typedef unsigned __int16 uint16_t;
|
|
||||||
typedef signed __int32 int32_t;
|
|
||||||
typedef unsigned __int32 uint32_t;
|
|
||||||
typedef signed __int64 int64_t;
|
|
||||||
typedef unsigned __int64 uint64_t;
|
|
||||||
#ifndef _UINTPTR_T_DEFINED
|
|
||||||
#ifdef _WIN64
|
|
||||||
typedef unsigned __int64 uintptr_t;
|
|
||||||
#else
|
|
||||||
typedef unsigned int uintptr_t;
|
|
||||||
#endif
|
|
||||||
#define _UINTPTR_T_DEFINED
|
|
||||||
#endif
|
|
||||||
/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
|
|
||||||
#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
|
|
||||||
#define DWORD_PTR DWORD
|
|
||||||
#endif
|
|
||||||
#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
|
|
||||||
#define LONG_PTR LONG
|
|
||||||
#endif
|
|
||||||
#else /* !__GNUC__ && !_MSC_VER */
|
|
||||||
typedef signed char int8_t;
|
|
||||||
typedef unsigned char uint8_t;
|
|
||||||
typedef signed short int16_t;
|
|
||||||
typedef unsigned short uint16_t;
|
|
||||||
typedef signed int int32_t;
|
|
||||||
typedef unsigned int uint32_t;
|
|
||||||
typedef signed long long int64_t;
|
|
||||||
typedef unsigned long long uint64_t;
|
|
||||||
#ifndef _SIZE_T_DEFINED_
|
|
||||||
#define _SIZE_T_DEFINED_
|
|
||||||
typedef unsigned int size_t;
|
|
||||||
#endif
|
|
||||||
typedef unsigned int uintptr_t;
|
|
||||||
#endif /* __GNUC__ || _MSC_VER */
|
|
||||||
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
|
|
||||||
|
|
||||||
#ifdef _WIN64
|
|
||||||
# define SIZEOF_VOIDP 8
|
|
||||||
#else
|
|
||||||
# define SIZEOF_VOIDP 4
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define HAVE_DDRAW_H 1
|
|
||||||
#define HAVE_DINPUT_H 1
|
|
||||||
#define HAVE_DSOUND_H 1
|
|
||||||
#define HAVE_DXGI_H 1
|
|
||||||
#define HAVE_XINPUT_H 1
|
|
||||||
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */
|
|
||||||
#define HAVE_WINDOWS_GAMING_INPUT_H 1
|
|
||||||
#endif
|
|
||||||
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */
|
|
||||||
#define HAVE_D3D11_H 1
|
|
||||||
#endif
|
|
||||||
#define HAVE_MMDEVICEAPI_H 1
|
|
||||||
#define HAVE_AUDIOCLIENT_H 1
|
|
||||||
#define HAVE_TPCSHRD_H 1
|
|
||||||
#define HAVE_SENSORSAPI_H 1
|
|
||||||
#if (defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64)) && (defined(_MSC_VER) && _MSC_VER >= 1600)
|
|
||||||
#define HAVE_IMMINTRIN_H 1
|
|
||||||
#elif defined(__has_include) && (defined(__i386__) || defined(__x86_64))
|
|
||||||
# if __has_include(<immintrin.h>)
|
|
||||||
# define HAVE_IMMINTRIN_H 1
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Useful headers */
|
|
||||||
#define HAVE_LIBC 1
|
|
||||||
#define STDC_HEADERS 1
|
|
||||||
#define HAVE_CTYPE_H 1
|
|
||||||
#define HAVE_FLOAT_H 1
|
|
||||||
#define HAVE_LIMITS_H 1
|
|
||||||
#define HAVE_MATH_H 1
|
|
||||||
#define HAVE_SIGNAL_H 1
|
|
||||||
#define HAVE_STDIO_H 1
|
|
||||||
#define HAVE_STRING_H 1
|
|
||||||
|
|
||||||
/* C library functions */
|
|
||||||
#define HAVE_MALLOC 1
|
|
||||||
#define HAVE_CALLOC 1
|
|
||||||
#define HAVE_REALLOC 1
|
|
||||||
#define HAVE_FREE 1
|
|
||||||
#define HAVE_ALLOCA 1
|
|
||||||
#define HAVE_QSORT 1
|
|
||||||
#define HAVE_ABS 1
|
|
||||||
#define HAVE_MEMSET 1
|
|
||||||
#define HAVE_MEMCPY 1
|
|
||||||
#define HAVE_MEMMOVE 1
|
|
||||||
#define HAVE_MEMCMP 1
|
|
||||||
#define HAVE_STRLEN 1
|
|
||||||
#define HAVE__STRREV 1
|
|
||||||
#define HAVE__STRUPR 1
|
|
||||||
#define HAVE_STRCHR 1
|
|
||||||
#define HAVE_STRRCHR 1
|
|
||||||
#define HAVE_STRSTR 1
|
|
||||||
#define HAVE_STRTOL 1
|
|
||||||
#define HAVE_STRTOUL 1
|
|
||||||
#define HAVE_STRTOD 1
|
|
||||||
#define HAVE_ATOI 1
|
|
||||||
#define HAVE_ATOF 1
|
|
||||||
#define HAVE_STRCMP 1
|
|
||||||
#define HAVE_STRNCMP 1
|
|
||||||
#define HAVE__STRICMP 1
|
|
||||||
#define HAVE__STRNICMP 1
|
|
||||||
#define HAVE__WCSICMP 1
|
|
||||||
#define HAVE__WCSNICMP 1
|
|
||||||
#define HAVE__WCSDUP 1
|
|
||||||
#define HAVE_ACOS 1
|
|
||||||
#define HAVE_ACOSF 1
|
|
||||||
#define HAVE_ASIN 1
|
|
||||||
#define HAVE_ASINF 1
|
|
||||||
#define HAVE_ATAN 1
|
|
||||||
#define HAVE_ATANF 1
|
|
||||||
#define HAVE_ATAN2 1
|
|
||||||
#define HAVE_ATAN2F 1
|
|
||||||
#define HAVE_CEILF 1
|
|
||||||
#define HAVE__COPYSIGN 1
|
|
||||||
#define HAVE_COS 1
|
|
||||||
#define HAVE_COSF 1
|
|
||||||
#define HAVE_EXP 1
|
|
||||||
#define HAVE_EXPF 1
|
|
||||||
#define HAVE_FABS 1
|
|
||||||
#define HAVE_FABSF 1
|
|
||||||
#define HAVE_FLOOR 1
|
|
||||||
#define HAVE_FLOORF 1
|
|
||||||
#define HAVE_FMOD 1
|
|
||||||
#define HAVE_FMODF 1
|
|
||||||
#define HAVE_LOG 1
|
|
||||||
#define HAVE_LOGF 1
|
|
||||||
#define HAVE_LOG10 1
|
|
||||||
#define HAVE_LOG10F 1
|
|
||||||
#define HAVE_POW 1
|
|
||||||
#define HAVE_POWF 1
|
|
||||||
#define HAVE_SIN 1
|
|
||||||
#define HAVE_SINF 1
|
|
||||||
#define HAVE_SQRT 1
|
|
||||||
#define HAVE_SQRTF 1
|
|
||||||
#define HAVE_TAN 1
|
|
||||||
#define HAVE_TANF 1
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
/* These functions were added with the VC++ 2013 C runtime library */
|
|
||||||
#if _MSC_VER >= 1800
|
|
||||||
#define HAVE_STRTOLL 1
|
|
||||||
#define HAVE_STRTOULL 1
|
|
||||||
#define HAVE_VSSCANF 1
|
|
||||||
#define HAVE_LROUND 1
|
|
||||||
#define HAVE_LROUNDF 1
|
|
||||||
#define HAVE_ROUND 1
|
|
||||||
#define HAVE_ROUNDF 1
|
|
||||||
#define HAVE_SCALBN 1
|
|
||||||
#define HAVE_SCALBNF 1
|
|
||||||
#define HAVE_TRUNC 1
|
|
||||||
#define HAVE_TRUNCF 1
|
|
||||||
#endif
|
|
||||||
/* This function is available with at least the VC++ 2008 C runtime library */
|
|
||||||
#if _MSC_VER >= 1400
|
|
||||||
#define HAVE__FSEEKI64 1
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#if !defined(_MSC_VER) || defined(_USE_MATH_DEFINES)
|
|
||||||
#define HAVE_M_PI 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable various input drivers */
|
|
||||||
#define SDL_JOYSTICK_DINPUT 1
|
|
||||||
#define SDL_JOYSTICK_HIDAPI 1
|
|
||||||
#ifndef __WINRT__
|
|
||||||
#define SDL_JOYSTICK_RAWINPUT 1
|
|
||||||
#endif
|
|
||||||
#define SDL_JOYSTICK_VIRTUAL 1
|
|
||||||
#ifdef HAVE_WINDOWS_GAMING_INPUT_H
|
|
||||||
#define SDL_JOYSTICK_WGI 1
|
|
||||||
#endif
|
|
||||||
#define SDL_JOYSTICK_XINPUT 1
|
|
||||||
#define SDL_HAPTIC_DINPUT 1
|
|
||||||
#define SDL_HAPTIC_XINPUT 1
|
|
||||||
|
|
||||||
/* Enable various shared object loading systems */
|
|
||||||
#define SDL_LOADSO_WINDOWS 1
|
|
||||||
|
|
||||||
/* Enable various threading systems */
|
|
||||||
#define SDL_THREAD_GENERIC_COND_SUFFIX 1
|
|
||||||
#define SDL_THREAD_WINDOWS 1
|
|
||||||
|
|
||||||
/* Enable various timer systems */
|
|
||||||
#define SDL_TIMER_WINDOWS 1
|
|
||||||
|
|
||||||
/* Enable various video drivers */
|
|
||||||
#define SDL_VIDEO_DRIVER_DUMMY 1
|
|
||||||
#define SDL_VIDEO_DRIVER_WINDOWS 1
|
|
||||||
|
|
||||||
/* Enable filesystem support */
|
|
||||||
#define SDL_FILESYSTEM_WINDOWS 1
|
|
||||||
|
|
||||||
/* Enable assembly routines (Win64 doesn't have inline asm) */
|
|
||||||
#ifndef _WIN64
|
|
||||||
#define SDL_ASSEMBLY_ROUTINES 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SDL_AUDIO_DISABLED 1
|
|
||||||
#define SDL_CPUINFO_DISABLED 1
|
|
||||||
#define SDL_SENSOR_DISABLED 1
|
|
||||||
#define SDL_RENDER_DISABLED 1
|
|
||||||
#define SDL_POWER_DISABLED 1
|
|
||||||
#define SDL_VIDEO_DISABLED 1
|
|
||||||
#define SDL_LOCALE_DISABLED 1
|
|
||||||
#define SDL_MISC_DISABLED 1
|
|
||||||
|
|
||||||
#endif /* SDL_config_windows_h_ */
|
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
|
Loading…
Reference in New Issue