mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-19 04:21:19 +01:00
d18085c3ad
frameworks on OS X. Try to be a little clearer about which configuration options apply to which platform(s). Should pave the way slightly for win32 scons. We have accidentally been using LUA_USE_LINUX on OS X all along. Turns out that LUA_USE_MACOSX is for an ancient version of OS X and LUA_USE_LINUX is a reasonable set of defaults for modern Unices, so just keep using that. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5804 8ced0084-cf51-0410-be5f-012b33b47a6e
31 lines
576 B
Python
31 lines
576 B
Python
# -*- python -*-
|
|
import sys
|
|
Import('env')
|
|
|
|
files = [
|
|
'Configuration.cpp',
|
|
'ControllerEmu.cpp',
|
|
'InputConfig.cpp',
|
|
'SDL_Util.cpp',
|
|
'ControllerInterface/ControllerInterface.cpp',
|
|
'ControllerInterface/SDL/SDL.cpp'
|
|
]
|
|
|
|
|
|
if sys.platform == 'win32':
|
|
files += [
|
|
]
|
|
elif sys.platform == 'darwin':
|
|
files += [
|
|
'ControllerInterface/OSX/OSX.mm',
|
|
'ControllerInterface/OSX/OSXKeyboard.mm',
|
|
'ControllerInterface/OSX/OSXMouse.mm'
|
|
]
|
|
else:
|
|
files += [
|
|
'ControllerInterface/Xlib/Xlib.cpp',
|
|
'X11InputBase.cpp'
|
|
]
|
|
|
|
env.StaticLibrary(env['local_libs'] + "inputcommon", files)
|