mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
0284a7a1df
identifying which options and parameters go with which platforms etc. OS X, like Windows, now no longer uses Config.h. Configure() is still used for the wx-config parameters, but that is a temporary measure. Globals.cpp has never been used. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5860 8ced0084-cf51-0410-be5f-012b33b47a6e
36 lines
805 B
Python
36 lines
805 B
Python
# -*- python -*-
|
|
import sys
|
|
Import('env')
|
|
|
|
files = [
|
|
'Configuration.cpp',
|
|
'ControllerEmu.cpp',
|
|
'InputConfig.cpp',
|
|
'SDL_Util.cpp',
|
|
'ControllerInterface/ControllerInterface.cpp',
|
|
'ControllerInterface/SDL/SDL.cpp',
|
|
'UDPWiimote.cpp',
|
|
'UDPWrapper.cpp'
|
|
]
|
|
|
|
if sys.platform == 'win32':
|
|
files += [
|
|
'ControllerInterface/DInput/DInput.cpp',
|
|
'ControllerInterface/DInput/DInputJoystick.cpp',
|
|
'ControllerInterface/DInput/DInputKeyboardMouse.cpp'
|
|
'ControllerInterface/XInput/XInput.cpp',
|
|
]
|
|
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)
|