mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Move SConscript files out from the Src subdirectories to be
consistent with the other build systems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
34
Source/Core/InputCommon/SConscript
Normal file
34
Source/Core/InputCommon/SConscript
Normal file
@ -0,0 +1,34 @@
|
||||
# -*- python -*-
|
||||
|
||||
import sys
|
||||
Import('env')
|
||||
|
||||
files = [
|
||||
'Src/ControllerEmu.cpp',
|
||||
'Src/ControllerInterface/ControllerInterface.cpp',
|
||||
'Src/InputConfig.cpp',
|
||||
'Src/UDPWiimote.cpp',
|
||||
'Src/UDPWrapper.cpp',
|
||||
]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
files += [
|
||||
'Src/ControllerInterface/DInput/DInput.cpp',
|
||||
'Src/ControllerInterface/DInput/DInputJoystick.cpp',
|
||||
'Src/ControllerInterface/DInput/DInputKeyboardMouse.cpp'
|
||||
'Src/ControllerInterface/SDL/SDL.cpp',
|
||||
'Src/ControllerInterface/XInput/XInput.cpp',
|
||||
]
|
||||
elif sys.platform == 'darwin':
|
||||
files += [
|
||||
'Src/ControllerInterface/OSX/OSX.mm',
|
||||
'Src/ControllerInterface/OSX/OSXKeyboard.mm',
|
||||
'Src/ControllerInterface/OSX/OSXJoystick.mm',
|
||||
]
|
||||
elif env['HAVE_X11']:
|
||||
files += [
|
||||
'Src/ControllerInterface/SDL/SDL.cpp',
|
||||
'Src/ControllerInterface/Xlib/Xlib.cpp',
|
||||
]
|
||||
|
||||
env['LIBS'] += env.StaticLibrary('inputcommon', files)
|
Reference in New Issue
Block a user