move wiiuse to Source/Core and add to the main dolphin solution

make wiiuse link dynamically with hid.dll, removing the need for WDK
compile wiiuse as c++

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6394 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2010-11-13 19:15:43 +00:00
parent 8eb1fe8831
commit 7ad7acd248
21 changed files with 235 additions and 190 deletions

View File

@ -0,0 +1,21 @@
# -*- python -*-
Import('env')
import sys
files = [
"ir.cpp",
"wiiuse.cpp",
]
if sys.platform == 'darwin':
files += [ "io_osx.m" ]
elif sys.platform == 'linux2' and env['HAVE_BLUEZ']:
files += [ "io_nix.cpp" ]
elif sys.platform == 'win32':
files += [ "io_win.cpp" ]
else:
files += [ "io_dummy.cpp" ]
env.StaticLibrary(env['local_libs'] + "wiiuse", files)
env['CPPPATH'] += ['#Source/Core/wiiuse/Src']