SDL/include
David Ludwig b13c951cca CMake: iOS support added
When using a recent version of CMake (3.14+), this should make it possible to:
- build SDL for iOS, both static and dynamic
- build SDL test apps (as iOS .app bundles)
- generate a working SDL_config.h for iOS (using SDL_config.h.cmake as a basis)

To use, set the following CMake variables when running CMake's configuration stage:
- CMAKE_SYSTEM_NAME=iOS
- CMAKE_OSX_SYSROOT=<SDK>  (examples: iphoneos, iphonesimulator, iphoneos12.4, /full/path/to/iPhoneOS.sdk, etc.)
- CMAKE_OSX_ARCHITECTURES=<semicolon-separated list of CPU architectures> (example: "arm64;armv7s")

Examples:
- for Simulator, using the latest, installed SDK:
    cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64

- for Device, using the latest, installed SDK, 64-bit only
    cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES=arm64

- for Device, using the latest, installed SDK, mixed 32/64 bit
    cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES="arm64;armv7s"

- for Device, using a specific SDK revision (iOS 12.4, in this example):
    cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos12.4 -DCMAKE_OSX_ARCHITECTURES=arm64

- for Simulator, using the latest, installed SDK, and building SDL test apps (as .app bundles):
    cmake path/to/SDL -DSDL_TEST=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64
2019-08-27 11:07:43 -04:00
..
SDL.h Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h. 2019-08-05 12:35:32 -03:00
SDL_assert.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_atomic.h Fixed memory barrier macro check so it isn't quite so fragile 2019-06-30 23:58:31 -07:00
SDL_audio.h Fixed bug 3894 - Fuzzing crashes for SDL_LoadWAV 2019-06-08 19:02:42 -07:00
SDL_bits.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blendmode.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_clipboard.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config.h.cmake CMake: iOS support added 2019-08-27 11:07:43 -04:00
SDL_config.h.in Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h. 2019-08-05 12:35:32 -03:00
SDL_config_android.h Initial Android OpenSL ES implementation, contributed by ANTA 2019-01-12 12:18:44 -08:00
SDL_config_iphoneos.h Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h. 2019-08-05 12:35:32 -03:00
SDL_config_macosx.h Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h. 2019-08-05 12:35:32 -03:00
SDL_config_minimal.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config_os2.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config_pandora.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config_psp.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config_windows.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config_winrt.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_config_wiz.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_copying.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cpuinfo.h [ SDL ] Fix compile error building for Windows/ARM64 on Visual Studio 2017 Win10 SDK 10.0.18362.0 which requires ar,74intr.h/arm64_neon.h header instead of armintr.h/arm_neon.h for intrinsics. 2019-08-08 13:26:05 -07:00
SDL_egl.h Don't have Windows headers define min/max, in case they're defined by application code 2019-09-11 15:08:37 -07:00
SDL_endian.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_error.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_events.h Add a windowID field to SDL_TouchFingerEvent (bug #4331). 2019-08-01 18:22:12 -03:00
SDL_filesystem.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_gamecontroller.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_gesture.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_haptic.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_hints.h x11: add a hint to force the VisualID used when creating a window. 2019-09-04 09:27:58 -07:00
SDL_joystick.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_keyboard.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_keycode.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_loadso.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_log.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_main.h Fixed building with C++ 2019-03-19 10:59:41 -07:00
SDL_messagebox.h SDL_messagebox.h: remove comma at end of enumerator list 2019-09-22 21:41:20 +03:00
SDL_metal.h Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h. 2019-08-05 12:35:32 -03:00
SDL_mouse.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_mutex.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_name.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_opengl.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_opengl_glext.h Don't have Windows headers define min/max, in case they're defined by application code 2019-09-11 15:08:37 -07:00
SDL_opengles.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_opengles2.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_opengles2_gl2.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2ext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2platform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_khrplatform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_pixels.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_platform.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_power.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_quit.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rect.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_render.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_revision.h revert files I didnt mean to commit! 2017-09-29 10:15:44 -07:00
SDL_rwops.h Fixed bug 4526 - replace SDL_RW* macros with functions for using in bindings 2019-06-08 17:43:23 -07:00
SDL_scancode.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_sensor.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_shape.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_stdinc.h stdinc: On macOS and iOS, use memset_pattern4() for SDL_memset4(). 2019-09-04 00:39:47 -04:00
SDL_surface.h Rename surface aligned memory flag to SDL_SIMD_ALIGNED 2019-02-04 08:34:24 +01:00
SDL_system.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_syswm.h Don't have Windows headers define min/max, in case they're defined by application code 2019-09-11 15:08:37 -07:00
SDL_test.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_assert.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_common.h test: unify all the command line usage logging. 2019-05-28 17:39:13 -04:00
SDL_test_compare.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_crc32.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_font.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_fuzzer.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_harness.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_images.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_log.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_md5.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_memory.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_test_random.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_thread.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_timer.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_touch.h Add hint SDL_HINT_MOUSE_TOUCH_EVENTS for mouse events to generate touch events 2019-04-04 16:51:50 +02:00
SDL_types.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_version.h Updated SDL development builds to version 2.0.11 2019-09-22 10:37:16 -07:00
SDL_video.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_vulkan.h Fixed bug 4570 - Support Vulkan Portability rather than MoltenVK specifically 2019-06-11 18:13:46 -07:00
begin_code.h Fixed bug 4641 - clang and clang-cl builds on windows create -Wpragma-pack warnings 2019-06-10 08:46:20 -07:00
close_code.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00