mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 16:49:12 +01:00
8eeb1d0202
Notice: It's currently not very user friendly and can crash or fail under some circumstances. I'll make it better momentarily. You currently have to first open the Wiimote config window and the start a game to be able to use switch back and forth after that. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2011 8ced0084-cf51-0410-be5f-012b33b47a6e
41 lines
719 B
Python
41 lines
719 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
wmenv = env.Clone()
|
|
name = "Plugin_Wiimote"
|
|
|
|
files = [
|
|
"Config.cpp",
|
|
"DataReports.cpp",
|
|
"EmuDefinitions.cpp",
|
|
"EmuMain.cpp",
|
|
"EmuSubroutines.cpp",
|
|
"Encryption.cpp",
|
|
"main.cpp",
|
|
]
|
|
if wmenv['HAVE_WX']:
|
|
files += [
|
|
"ConfigDlg.cpp",
|
|
"Logging.cpp",
|
|
"FillReport.cpp",
|
|
]
|
|
|
|
libs = [ 'common' ]
|
|
|
|
cxxflags = [ '-fPIC' ]
|
|
|
|
if wmenv['HAVE_WIIUSE']:
|
|
libs += [ 'wiiuse' ]
|
|
files += [ "wiimote_real.cpp" ]
|
|
files += [ "ReadWiimote.cpp" ]
|
|
cxxflags += ['-DHAVE_WIIUSE']
|
|
|
|
wmenv.Append(
|
|
CXXFLAGS = cxxflags,
|
|
LIBS = libs,
|
|
)
|
|
|
|
wmenv.SharedLibrary(env['plugin_dir']+name, files)
|