premake/projects/SDL2.lua
author Alex Szpakowski <slime73@gmail.com>
Sun, 20 Sep 2015 23:08:36 -0300
changeset 9876 1496e502e51d
parent 9657 fbc01731d914
child 9998 f67cf37e9cd4
permissions -rwxr-xr-x
Added initial support for MFi game controllers on iOS.
slouken@9619
     1
-- Copyright (C) 1997-2015 Sam Lantinga <slouken@libsdl.org>
icculus@7925
     2
--
icculus@7925
     3
-- This software is provided 'as-is', without any express or implied
icculus@7925
     4
-- warranty.  In no event will the authors be held liable for any damages
icculus@7925
     5
-- arising from the use of this software.
icculus@7925
     6
--
icculus@7925
     7
-- Permission is granted to anyone to use this software for any purpose,
icculus@7925
     8
-- including commercial applications, and to alter it and redistribute it
icculus@7925
     9
-- freely.
icculus@7925
    10
--
icculus@7925
    11
-- Meta-build system using premake created and maintained by
icculus@7925
    12
-- Benjamin Henning <b.henning@digipen.edu>
icculus@7925
    13
icculus@7925
    14
--[[
icculus@7925
    15
SDL2.lua
icculus@7925
    16
icculus@7925
    17
	This file provides the project definition for the entire SDL2 library, on all
icculus@7925
    18
	platforms supported by the meta-build system. That includes Windows, MinGW,
icculus@7925
    19
	Cygwin, Mac OS X, iOS, and Linux. This project is responsible for setting up
icculus@7925
    20
	the source trees and the complicated dependencies required to build the
icculus@7925
    21
	final SDL2 library. In order to simplify this process, the library is split
icculus@7925
    22
	into several different segments. Each segment focuses on a different
icculus@7925
    23
	dependency and series of configurations which are thrown into the generated
icculus@7925
    24
	config header file, used to build this project.
icculus@7925
    25
]]
icculus@7925
    26
icculus@7925
    27
SDL_project "SDL2"
icculus@7925
    28
	 SDL_isos "windows|mingw" -- all other bindings should be a shared library
icculus@7925
    29
		SDL_kind "SharedLib"
icculus@7925
    30
	SDL_isos "macosx|ios" -- macosx employs a static linking
icculus@7925
    31
		SDL_kind "StaticLib"
icculus@7925
    32
	-- the way premake generates project dependencies and how that affects linkage
icculus@7925
    33
	-- makes it difficult to use shared libraries on Linux. Cygwin has issues
icculus@7925
    34
	-- binding to GetProcAddress, so a static library is an easy fix.
icculus@7925
    35
	SDL_isos "linux|cygwin"
icculus@7925
    36
		SDL_kind "StaticLib"
icculus@7925
    37
icculus@7925
    38
	SDL_language "C++"
icculus@7925
    39
	SDL_sourcedir "../src"
icculus@7925
    40
	-- primary platforms
icculus@7925
    41
	SDL_isos "ios"
icculus@7925
    42
		SDL_platforms { "iOS" }
icculus@7925
    43
	SDL_isnotos "ios"
icculus@7925
    44
		SDL_platforms { "native" }
icculus@7925
    45
	-- additional platforms
icculus@7925
    46
	SDL_isos "macosx"
icculus@7925
    47
		SDL_platforms { "universal" }
icculus@7925
    48
	SDL_isos "windows|mingw"
icculus@7925
    49
		SDL_defines { "_WINDOWS" }
icculus@7925
    50
icculus@7925
    51
	-- Following is the dependency tree for SDL2
icculus@7925
    52
	-- (no SDL_os call means platform-independent)
icculus@7925
    53
icculus@7925
    54
	-- The core and minimal of the SDL2 library. This will not quite build
icculus@7925
    55
	-- standalone, but it's doable with a bit of tweaking to build this using the
icculus@7925
    56
	-- minimal configuration header. This is a good start to adding SDL support to
icculus@7925
    57
	-- new platforms.
icculus@7925
    58
	SDL_config
icculus@7925
    59
	{
icculus@7925
    60
		["SDL_AUDIO_DRIVER_DISK"] = 1,
icculus@7925
    61
		["SDL_AUDIO_DRIVER_DUMMY"] = 1,
icculus@7925
    62
		["SDL_VIDEO_DRIVER_DUMMY"] = 1
icculus@7925
    63
	}
icculus@7925
    64
	SDL_paths
icculus@7925
    65
	{
icculus@7925
    66
		"/",
icculus@7925
    67
		"/atomic/",
icculus@7925
    68
		"/audio/",
icculus@7925
    69
		"/audio/disk/",
icculus@7925
    70
		"/audio/dummy/",
icculus@7925
    71
		"/cpuinfo/",
icculus@8094
    72
		"/dynapi/",
icculus@7925
    73
		"/events/",
icculus@7925
    74
		"/file/",
icculus@7925
    75
		"/haptic/",
icculus@7925
    76
		"/joystick/",
icculus@7925
    77
		"/power/",
icculus@7925
    78
		"/render/",
icculus@7925
    79
		"/render/software/",
icculus@7925
    80
		"/stdlib/",
icculus@7925
    81
		"/thread/",
icculus@7925
    82
		"/timer/",
icculus@7925
    83
		"/video/",
icculus@7925
    84
		"/video/dummy/"
icculus@7925
    85
	}
icculus@7925
    86
icculus@7925
    87
	-- SDL2 on Windows
icculus@7925
    88
	SDL_dependency "windows"
icculus@7925
    89
		SDL_os "windows|mingw"
icculus@7925
    90
		SDL_links { "imm32", "oleaut32", "winmm", "version" }
icculus@7925
    91
		-- these are the links that Visual Studio includes by default
icculus@7925
    92
		SDL_links { "kernel32", "user32", "gdi32", "winspool",
icculus@7925
    93
			"comdlg32", "advapi32", "shell32", "ole32",
icculus@7925
    94
			"oleaut32", "uuid", "odbc32", "odbccp32" }
icculus@7925
    95
		SDL_config
icculus@7925
    96
		{
icculus@7925
    97
			["SDL_LOADSO_WINDOWS"] = 1,
icculus@7925
    98
			["SDL_THREAD_WINDOWS"] = 1,
icculus@7925
    99
			["SDL_TIMER_WINDOWS"] = 1,
icculus@7925
   100
			["SDL_VIDEO_DRIVER_WINDOWS"] = 1,
icculus@7925
   101
			["SDL_POWER_WINDOWS"] = 1,
icculus@7925
   102
			["SDL_AUDIO_DRIVER_WINMM"] = 1,
icculus@7925
   103
			["SDL_FILESYSTEM_WINDOWS"] = 1
icculus@7925
   104
		}
icculus@7925
   105
		SDL_paths
icculus@7925
   106
		{
icculus@7925
   107
			"/audio/winmm/",
icculus@7925
   108
			"/core/windows/",
icculus@7925
   109
			"/libm/",
icculus@7925
   110
			"/loadso/windows/",
icculus@7925
   111
			"/power/windows/",
icculus@7925
   112
			"/thread/windows/",
icculus@7925
   113
			"/timer/windows/",
icculus@7925
   114
			"/video/windows/",
icculus@7925
   115
			"/filesystem/windows/"
icculus@7925
   116
		}
icculus@7925
   117
		SDL_files
icculus@7925
   118
		{
icculus@7925
   119
			-- these files have to be specified uniquely to avoid double
icculus@7925
   120
			-- and incorrect linking
icculus@7925
   121
			"/thread/generic/SDL_syscond.c",
icculus@7925
   122
			"/thread/generic/SDL_sysmutex_c.h"
icculus@7925
   123
		}
icculus@7925
   124
icculus@7925
   125
	-- DirectX dependency
icculus@7925
   126
	SDL_dependency "directx"
icculus@7925
   127
		SDL_os "windows|mingw"
icculus@7925
   128
		SDL_depfunc "DirectX"
icculus@7925
   129
		SDL_config
icculus@7925
   130
		{
icculus@7925
   131
			["SDL_AUDIO_DRIVER_DSOUND"] = 1,
icculus@7925
   132
			["SDL_AUDIO_DRIVER_XAUDIO2"] = 1,
icculus@7925
   133
			["SDL_JOYSTICK_DINPUT"] = 1,
icculus@7925
   134
			["SDL_HAPTIC_DINPUT"] = 1,
icculus@7925
   135
			["SDL_VIDEO_RENDER_D3D"] = 1
icculus@7925
   136
		}
icculus@7925
   137
		SDL_paths
icculus@7925
   138
		{
icculus@7925
   139
			"/audio/directsound/",
icculus@7925
   140
			"/audio/xaudio2/",
icculus@7925
   141
			"/render/direct3d/",
icculus@7925
   142
			-- these two depend on Xinput
icculus@7925
   143
			"/haptic/windows/",
icculus@7925
   144
			"/joystick/windows/",
icculus@7925
   145
		}
icculus@7925
   146
	-- in case DirectX was not found
icculus@7925
   147
	SDL_dependency "notdirectx"
icculus@7925
   148
		SDL_os "windows|mingw"
icculus@7925
   149
		SDL_notdepfunc "DirectX"
icculus@7925
   150
		SDL_config
icculus@7925
   151
		{
icculus@7925
   152
			-- enable dummy systems (same as disabling them)
icculus@7925
   153
			["SDL_HAPTIC_DUMMY"] = 1,
icculus@7925
   154
			["SDL_JOYSTICK_DUMMY"] = 1
icculus@7925
   155
		}
icculus@7925
   156
		SDL_paths
icculus@7925
   157
		{
icculus@7925
   158
			-- since we don't have Xinput
icculus@7925
   159
			"/haptic/dummy/",
icculus@7925
   160
			"/joystick/dummy/",
icculus@7925
   161
		}
icculus@7925
   162
icculus@7925
   163
	-- OpenGL dependency
icculus@7925
   164
	SDL_dependency "opengl"
icculus@7925
   165
		SDL_depfunc "OpenGL"
icculus@7925
   166
		SDL_config
icculus@7925
   167
		{
icculus@7925
   168
			["SDL_VIDEO_OPENGL"] = 1,
icculus@7925
   169
			["SDL_VIDEO_RENDER_OGL"] = 1
icculus@7925
   170
		}
icculus@7925
   171
		SDL_paths { "/render/opengl/" }
icculus@7925
   172
	-- WGL dependency for OpenGL on Windows
icculus@7925
   173
	SDL_dependency "opengl-windows"
icculus@7925
   174
		SDL_os "windows|mingw"
icculus@7925
   175
		SDL_depfunc "OpenGL"
icculus@7925
   176
		SDL_config { ["SDL_VIDEO_OPENGL_WGL"] = 1 }
icculus@7925
   177
	-- GLX dependency for OpenGL on Linux
icculus@7925
   178
	SDL_dependency "opengl-linux"
icculus@7925
   179
		SDL_os "linux"
icculus@7925
   180
		SDL_depfunc "OpenGL"
icculus@7925
   181
		SDL_config { ["SDL_VIDEO_OPENGL_GLX"] = 1 }
icculus@7925
   182
icculus@7925
   183
	-- SDL2 on Mac OS X
icculus@7925
   184
	SDL_dependency "macosx"
icculus@7925
   185
		SDL_os "macosx"
icculus@7925
   186
		SDL_config
icculus@7925
   187
		{
icculus@7925
   188
			["SDL_AUDIO_DRIVER_COREAUDIO"] = 1,
icculus@7925
   189
			["SDL_JOYSTICK_IOKIT"] = 1,
icculus@7925
   190
			["SDL_HAPTIC_IOKIT"] = 1,
icculus@7925
   191
			["SDL_LOADSO_DLOPEN"] = 1,
icculus@7925
   192
			["SDL_THREAD_PTHREAD"] = 1,
icculus@7925
   193
			["SDL_THREAD_PTHREAD_RECURSIVE_MUTEX"] = 1,
icculus@7925
   194
			["SDL_TIMER_UNIX"] = 1,
icculus@7925
   195
			["SDL_VIDEO_DRIVER_COCOA"] = 1,
icculus@7925
   196
			["SDL_POWER_MACOSX"] = 1,
icculus@7925
   197
			["SDL_FILESYSTEM_COCOA"] = 1
icculus@7925
   198
		}
icculus@7925
   199
		SDL_paths
icculus@7925
   200
		{
icculus@7925
   201
			"/audio/coreaudio/",
icculus@7925
   202
			"/file/cocoa/",
icculus@7925
   203
			"/haptic/darwin/",
icculus@7925
   204
			"/joystick/darwin/",
icculus@7925
   205
			"/loadso/dlopen/",
icculus@7925
   206
			"/power/macosx/",
icculus@7925
   207
			"/render/opengl/",
icculus@7925
   208
			"/thread/pthread/",
icculus@7925
   209
			"/timer/unix/",
icculus@7925
   210
			"/video/cocoa/",
icculus@7925
   211
			"/video/x11/",
icculus@7925
   212
			"/filesystem/cocoa/"
icculus@7925
   213
		}
icculus@7925
   214
		SDL_links
icculus@7925
   215
		{
slouken@9112
   216
			"CoreVideo.framework",
icculus@7925
   217
			"AudioToolbox.framework",
icculus@7925
   218
			"AudioUnit.framework",
icculus@7925
   219
			"Cocoa.framework",
icculus@7925
   220
			"CoreAudio.framework",
icculus@7925
   221
			"IOKit.framework",
icculus@7925
   222
			"Carbon.framework",
icculus@7925
   223
			"ForceFeedback.framework",
icculus@7925
   224
			"CoreFoundation.framework"
icculus@7925
   225
		}
icculus@7925
   226
icculus@7925
   227
	-- Linux dependency: DLOpen
icculus@7925
   228
	SDL_dependency "linux-dlopen"
icculus@7925
   229
		SDL_os "linux"
icculus@7925
   230
		SDL_depfunc "DLOpen"
icculus@7925
   231
		SDL_paths { "/loadso/dlopen/" }
icculus@7925
   232
		SDL_config { ["SDL_LOADSO_DLOPEN"] = 1 }
icculus@7925
   233
	-- Linux dependency: ALSA
icculus@7925
   234
	SDL_dependency "linux-alsa"
icculus@7925
   235
		SDL_os "linux"
icculus@7925
   236
		SDL_depfunc "ALSA"
icculus@7925
   237
		SDL_paths { "/audio/alsa/" }
icculus@7925
   238
		SDL_config
icculus@7925
   239
		{
icculus@7925
   240
			["SDL_AUDIO_DRIVER_ALSA"] = 1,
icculus@7925
   241
			["SDL_AUDIO_DRIVER_ALSA_DYNAMIC"] = '"libasound.so"'
icculus@7925
   242
		}
icculus@7925
   243
	-- Linux dependency: PulseAudio
icculus@7925
   244
	SDL_dependency "linux-pulseaudio"
icculus@7925
   245
		SDL_os "linux"
icculus@7925
   246
		SDL_depfunc "PulseAudio"
icculus@7925
   247
		SDL_paths { "/audio/pulseaudio/" }
icculus@7925
   248
		SDL_config
icculus@7925
   249
		{
icculus@7925
   250
			["SDL_AUDIO_DRIVER_PULSEAUDIO"] = 1,
icculus@7925
   251
			["SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC"] = '"libpulse-simple.so"'
icculus@7925
   252
		}
icculus@7925
   253
	-- Linux dependency: ESD
icculus@7925
   254
	SDL_dependency "linux-esd"
icculus@7925
   255
		SDL_os "linux"
icculus@7925
   256
		SDL_depfunc "ESD"
icculus@7925
   257
		SDL_paths { "/audio/esd/" }
icculus@7925
   258
		SDL_config
icculus@7925
   259
		{
icculus@7925
   260
			["SDL_AUDIO_DRIVER_ESD"] = 1,
icculus@7925
   261
			["SDL_AUDIO_DRIVER_ESD_DYNAMIC"] = '"libesd.so"'
icculus@7925
   262
		}
icculus@7925
   263
	-- Linux dependency: NAS
icculus@7925
   264
	SDL_dependency "linux-nas"
icculus@7925
   265
		SDL_os "linux"
icculus@7925
   266
		SDL_depfunc "NAS"
icculus@7925
   267
		SDL_paths { "/audio/nas/" }
icculus@7925
   268
		SDL_config
icculus@7925
   269
		{
icculus@7925
   270
			["SDL_AUDIO_DRIVER_NAS"] = 1,
icculus@7925
   271
			["SDL_AUDIO_DRIVER_NAS_DYNAMIC"] = '"libaudio.so"'
icculus@7925
   272
		}
icculus@7925
   273
	-- Linux dependency: OSS
icculus@7925
   274
	SDL_dependency "linux-oss"
icculus@7925
   275
		SDL_os "linux"
icculus@7925
   276
		SDL_depfunc "OSS"
icculus@7925
   277
		SDL_paths { "/audio/dsp/" }
icculus@7925
   278
		SDL_config { ["SDL_AUDIO_DRIVER_OSS"] = 1 }
icculus@7925
   279
	-- Linux dependency: X11
icculus@7925
   280
	SDL_dependency "linux-x11"
icculus@7925
   281
		SDL_os "linux"
icculus@7925
   282
		SDL_depfunc "X11"
icculus@7925
   283
		SDL_paths { "/video/x11/" }
icculus@7925
   284
		SDL_config
icculus@7925
   285
		{
icculus@7925
   286
			["SDL_VIDEO_DRIVER_X11"] = 1,
icculus@7925
   287
			["SDL_VIDEO_DRIVER_X11_DYNAMIC"] = '"libX11.so"',
icculus@7925
   288
			["SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT"] = '"libXext.so"',
icculus@7925
   289
			["SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR"] = '"libXcursor.so"',
icculus@7925
   290
			["SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA"] = '"libXinerama.so"',
icculus@7925
   291
			["SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2"] = '"libXi.so"',
icculus@7925
   292
			["SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR"] = '"libXrandr.so"',
icculus@7925
   293
			["SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS"] = '"libXss.so"',
icculus@7925
   294
			["SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE"] = '"libXxf86vm.so"',
icculus@7925
   295
			["SDL_VIDEO_DRIVER_X11_XCURSOR"] = 1,
icculus@9657
   296
			["SDL_VIDEO_DRIVER_X11_XDBE"] = 1,
icculus@7925
   297
			["SDL_VIDEO_DRIVER_X11_XINERAMA"] = 1,
icculus@7925
   298
			["SDL_VIDEO_DRIVER_X11_XINPUT2"] = 1,
icculus@7925
   299
			["SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH"] = 1,
icculus@7925
   300
			["SDL_VIDEO_DRIVER_X11_XRANDR"] = 1,
icculus@7925
   301
			["SDL_VIDEO_DRIVER_X11_XSCRNSAVER"] = 1,
icculus@7925
   302
			["SDL_VIDEO_DRIVER_X11_XSHAPE"] = 1,
icculus@7925
   303
			["SDL_VIDEO_DRIVER_X11_XVIDMODE"] = 1,
icculus@7925
   304
			["SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS"] = 1,
icculus@7925
   305
			["SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY"] = 1,
icculus@7925
   306
			["SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM"] = 1
icculus@7925
   307
		}
icculus@7925
   308
	-- SDL2 on Linux
icculus@7925
   309
	SDL_dependency "linux"
icculus@7925
   310
		SDL_os "linux"
icculus@7925
   311
		SDL_depfunc "DBus"
icculus@7925
   312
		SDL_config
icculus@7925
   313
		{
icculus@7925
   314
			["SDL_INPUT_LINUXEV"] = 1,
icculus@7925
   315
			["SDL_JOYSTICK_LINUX"] = 1,
icculus@7925
   316
			["SDL_HAPTIC_LINUX"] = 1,
icculus@7925
   317
			["SDL_THREAD_PTHREAD"] = 1,
icculus@7925
   318
			["SDL_THREAD_PTHREAD_RECURSIVE_MUTEX"] = 1,
icculus@7925
   319
			["SDL_TIMER_UNIX"] = 1,
icculus@7925
   320
			["SDL_POWER_LINUX"] = 1,
icculus@7925
   321
			["SDL_FILESYSTEM_UNIX"] = 1,
icculus@7925
   322
		}
icculus@7925
   323
		SDL_paths
icculus@7925
   324
		{
icculus@7925
   325
			"/haptic/linux/",
icculus@7925
   326
			"/joystick/linux/",
icculus@7925
   327
			"/power/linux/",
icculus@7925
   328
			"/thread/pthread/",
icculus@7925
   329
			"/timer/unix/",
icculus@7925
   330
			"/filesystem/unix/"
icculus@7925
   331
		}
icculus@7925
   332
		SDL_links
icculus@7925
   333
		{
icculus@7925
   334
			"m",
icculus@7925
   335
			"pthread",
icculus@7925
   336
			"rt"
icculus@7925
   337
		}
icculus@7925
   338
icculus@7925
   339
	-- SDL2 on Cygwin (not quite working yet)
icculus@7925
   340
	SDL_dependency "cygwin"
icculus@7925
   341
		SDL_os "cygwin"
icculus@7925
   342
		SDL_config
icculus@7925
   343
		{
icculus@7925
   344
			['SDL_JOYSTICK_DISABLED'] = 1,
icculus@7925
   345
			['SDL_HAPTIC_DISABLED'] = 1,
icculus@7925
   346
			['SDL_LOADSO_DLOPEN'] = 1,
icculus@7925
   347
			['SDL_THREAD_PTHREAD'] = 1,
icculus@7925
   348
			['SDL_THREAD_PTHREAD_RECURSIVE_MUTEX'] = 1,
icculus@7925
   349
			['SDL_TIMER_UNIX'] = 1,
icculus@7925
   350
			['SDL_FILESYSTEM_UNIX'] = 1,
icculus@7925
   351
			['SDL_POWER_LINUX'] = 1
icculus@7925
   352
		}
icculus@7925
   353
		SDL_paths
icculus@7925
   354
		{
icculus@7925
   355
			"/loadso/dlopen/",
icculus@7925
   356
			"/power/linux/",
icculus@7925
   357
			"/render/opengl/",
icculus@7925
   358
			"/thread/pthread/",
icculus@7925
   359
			"/timer/unix/",
icculus@7925
   360
			"/filesystem/unix/",
icculus@7925
   361
			"/libm/"
icculus@7925
   362
		}
icculus@7925
   363
icculus@7925
   364
	-- SDL2 on iOS
icculus@7925
   365
	SDL_dependency "iphoneos"
icculus@7925
   366
		SDL_os "ios"
icculus@7925
   367
		SDL_config
icculus@7925
   368
		{
icculus@7925
   369
			["SDL_AUDIO_DRIVER_COREAUDIO"] = 1,
slime73@9876
   370
			["SDL_JOYSTICK_MFI"] = 1,
icculus@7925
   371
			["SDL_HAPTIC_DISABLED"] = 1,
icculus@7925
   372
			["SDL_LOADSO_DISABLED"] = 1,
icculus@7925
   373
			["SDL_THREAD_PTHREAD"] = 1,
icculus@7925
   374
			["SDL_THREAD_PTHREAD_RECURSIVE_MUTEX"] = 1,
icculus@7925
   375
			["SDL_TIMER_UNIX"] = 1,
icculus@7925
   376
			["SDL_VIDEO_DRIVER_UIKIT"] = 1,
icculus@7925
   377
			["SDL_VIDEO_OPENGL_ES"] = 1,
icculus@7925
   378
			["SDL_VIDEO_RENDER_OGL_ES"] = 1,
icculus@7925
   379
			["SDL_VIDEO_RENDER_OGL_ES2"] = 1,
icculus@7925
   380
			["SDL_POWER_UIKIT"] = 1,
icculus@7925
   381
			["SDL_IPHONE_KEYBOARD"] = 1,
icculus@7925
   382
			["SDL_FILESYSTEM_COCOA"] = 1
icculus@7925
   383
		}
icculus@7925
   384
		SDL_paths
icculus@7925
   385
		{
icculus@7925
   386
			"/audio/coreaudio/",
icculus@7925
   387
			"/file/cocoa/",
icculus@7925
   388
			"/joystick/iphoneos/",
icculus@7925
   389
			"/loadso/dlopen/",
icculus@7925
   390
			"/power/uikit/",
icculus@7925
   391
			"/render/opengles/",
icculus@7925
   392
			"/render/opengles2/",
icculus@7925
   393
			"/thread/pthread/",
icculus@7925
   394
			"/timer/unix/",
icculus@7925
   395
			"/video/uikit/",
icculus@7925
   396
			"/filesystem/cocoa/"
icculus@7925
   397
		}
icculus@7925
   398
		SDL_links
icculus@7925
   399
		{
icculus@7925
   400
			"$(SDKROOT)/AudioToolbox.framework",
icculus@7925
   401
			"$(SDKROOT)/QuartzCore.framework",
icculus@7925
   402
			"$(SDKROOT)/OpenGLES.framework",
icculus@7925
   403
			"$(SDKROOT)/CoreGraphics.framework",
icculus@7925
   404
			"$(SDKROOT)/UIKit.framework",
icculus@7925
   405
			"$(SDKROOT)/Foundation.framework",
slouken@8982
   406
			"$(SDKROOT)/CoreAudio.framework",
slime73@9876
   407
			"$(SDKROOT)/CoreMotion.framework",
slime73@9876
   408
			"$(SDKROOT)/GameController.framework"
slouken@8149
   409
		}