Files
dolphin/Source/Core/InputCommon/Src/SConscript
T

44 lines
784 B
Python
Raw Normal View History

# -*- python -*-
2010-04-13 06:09:45 +00:00
import sys
2009-01-04 19:54:56 +00:00
Import('env')
2010-04-13 06:09:45 +00:00
icenv = env.Clone()
2009-01-04 19:54:56 +00:00
files = [
2009-02-08 14:55:51 +00:00
'Configuration.cpp',
2009-01-04 19:54:56 +00:00
'EventHandler.cpp',
'InputCommon.cpp',
2010-01-29 04:42:19 +00:00
'SDL_Util.cpp',
2010-04-13 06:09:45 +00:00
'ControllerInterface/ControllerInterface.cpp',
2009-01-04 19:54:56 +00:00
]
if env['HAVE_X11']:
files += [
"X11InputBase.cpp",
]
if env['HAVE_WX']:
files += [
"WXInputBase.cpp",
]
2010-04-13 06:09:45 +00:00
if icenv['HAVE_SDL']:
files += [
'ControllerInterface/SDL/SDL.cpp'
]
2010-04-13 06:09:45 +00:00
if sys.platform == 'darwin':
files += [
2010-04-27 00:25:09 +00:00
'ControllerInterface/OSX/OSX.mm',
'ControllerInterface/OSX/OSXKeyboard.mm',
'ControllerInterface/OSX/OSXMouse.mm'
]
2010-04-23 19:15:44 +00:00
icenv['FRAMEWORKS'] = ['IOKit']
2010-04-13 06:09:45 +00:00
if sys.platform == 'linux2':
files += [
'ControllerInterface/Xlib/Xlib.cpp'
]
2010-04-13 06:09:45 +00:00
icenv.Append(CXXFLAGS = [ '-fPIC' ])
icenv.StaticLibrary(env['local_libs'] + "inputcommon", files)