dolphin/Source/Core/InputCommon/Src/SConscript

32 lines
595 B
Python
Raw Normal View History

# -*- python -*-
import sys
Import('env')
files = [
'Configuration.cpp',
'ControllerEmu.cpp',
'InputConfig.cpp',
'SDL_Util.cpp',
'ControllerInterface/ControllerInterface.cpp',
'ControllerInterface/SDL/SDL.cpp'
]
if env['HAVE_X11']:
files += [
"X11InputBase.cpp",
]
if sys.platform == 'darwin':
files += [
'ControllerInterface/OSX/OSX.mm',
'ControllerInterface/OSX/OSXKeyboard.mm',
'ControllerInterface/OSX/OSXMouse.mm'
]
if sys.platform == 'linux2':
files += [
'ControllerInterface/Xlib/Xlib.cpp'
]
env.StaticLibrary(env['local_libs'] + "inputcommon", files)