mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-29 01:05:50 +01:00
a2b1f829cb
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
35 lines
788 B
Python
35 lines
788 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
name = "Plugin_WiimoteNew"
|
|
|
|
files = [
|
|
'WiimoteEmu/WiimoteEmu.cpp',
|
|
'WiimoteEmu/Attachment/Classic.cpp',
|
|
'WiimoteEmu/Attachment/Attachment.cpp',
|
|
'WiimoteEmu/Attachment/Nunchuk.cpp',
|
|
'WiimoteEmu/Attachment/Drums.cpp',
|
|
'WiimoteEmu/Attachment/Guitar.cpp',
|
|
'WiimoteEmu/EmuSubroutines.cpp',
|
|
'WiimoteEmu/Encryption.cpp',
|
|
'WiimoteEmu/Speaker.cpp',
|
|
'WiimoteNew.cpp'
|
|
]
|
|
|
|
libs = [ 'inputcommon', 'common' ]
|
|
|
|
if sys.platform == 'win32' or sys.platform == 'linux2':
|
|
libs += [ 'SDL' ]
|
|
|
|
if env['HAVE_WX']:
|
|
libs = [ 'inputuicommon' ] + libs
|
|
files += [ 'WiimoteConfigDiag.cpp' ]
|
|
|
|
if env['HAVE_WIIUSE']:
|
|
files += [ 'WiimoteReal/WiimoteReal.cpp' ]
|
|
libs += [ 'wiiuse' ]
|
|
|
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|