mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
f99a36ccfa
Don't rely on trailing /'s in directory names. Destdir only works for global builds. Only tar up global builds if they are in a destdir to avoid SCons eating all available memory indexing /usr. Print current status of shared_foo in 'scons -h'. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5966 8ced0084-cf51-0410-be5f-012b33b47a6e
38 lines
648 B
Python
38 lines
648 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import os
|
|
|
|
name = os.sep + "Plugin_Wiimote"
|
|
|
|
files = [
|
|
"Config.cpp",
|
|
"DataReports.cpp",
|
|
"EmuDefinitions.cpp",
|
|
"EmuDynamics.cpp",
|
|
"EmuMain.cpp",
|
|
"EmuPad.cpp",
|
|
"EmuSubroutines.cpp",
|
|
"Encryption.cpp",
|
|
"main.cpp",
|
|
"Rumble.cpp",
|
|
"UDPWiimote.cpp"
|
|
]
|
|
|
|
libs = [ 'inputcommon', 'common', 'SDL' ]
|
|
|
|
if env['HAVE_WX']:
|
|
libs = [ 'inputuicommon' ] + libs
|
|
files += [
|
|
"ConfigBasicDlg.cpp",
|
|
"ConfigPadDlg.cpp",
|
|
"ConfigGamepad.cpp",
|
|
"FillReport.cpp",
|
|
]
|
|
|
|
if env['HAVE_WIIUSE']:
|
|
libs += [ 'wiiuse' ]
|
|
files += [ 'wiimote_real.cpp' ]
|
|
|
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|