mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
just trying some stuff, please don't try to auto build it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3375 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
53
Source/Plugins/Plugin_Wiimote-testing/Src/SConscript
Normal file
53
Source/Plugins/Plugin_Wiimote-testing/Src/SConscript
Normal file
@ -0,0 +1,53 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
wmenv = env.Clone()
|
||||
name = "Plugin_Wiimote"
|
||||
|
||||
files = [
|
||||
"Config.cpp",
|
||||
"DataReports.cpp",
|
||||
"EmuDefinitions.cpp",
|
||||
"EmuDynamics.cpp",
|
||||
"EmuMain.cpp",
|
||||
"EmuPad.cpp",
|
||||
"EmuSubroutines.cpp",
|
||||
"Encryption.cpp",
|
||||
"main.cpp",
|
||||
]
|
||||
if wmenv['HAVE_WX']:
|
||||
files += [
|
||||
"ConfigDlg.cpp",
|
||||
"ConfigGamepad.cpp",
|
||||
"ConfigRecording.cpp",
|
||||
"Logging.cpp",
|
||||
"FillReport.cpp",
|
||||
]
|
||||
|
||||
libs = [ 'common', 'inputcommon' ]
|
||||
|
||||
|
||||
cxxflags = [ '-fPIC' ]
|
||||
|
||||
if wmenv['HAVE_WIIUSE']:
|
||||
libs += [ 'wiiuse' ]
|
||||
files += [ "wiimote_real.cpp" ]
|
||||
files += [ "ReadWiimote.cpp" ]
|
||||
cxxflags += ['-DHAVE_WIIUSE']
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
wmenv.Append(
|
||||
CXXFLAGS = cxxflags,
|
||||
LINKFLAGS = ['-framework' ,'IOBluetooth'],
|
||||
LIBS = libs,
|
||||
)
|
||||
else:
|
||||
wmenv.Append(
|
||||
CXXFLAGS = cxxflags,
|
||||
LIBS = libs,
|
||||
)
|
||||
|
||||
|
||||
wmenv.SharedLibrary(env['plugin_dir']+name, files)
|
Reference in New Issue
Block a user