dolphin/Source/Plugins/Plugin_PadSimple/Src/SConscript
LPFaint99 722ee4cd06 Move XInputBase from PadSimple to InputCommon,
Start work on X11 input for wiimote plugin mapping (copy XTra-KrazzY's fix for PadSimple)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3721 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 06:50:22 +00:00

37 lines
621 B
Python

# -*- python -*-
Import('env')
import sys
name = "Plugin_PadSimple"
if not env['HAVE_X11']:
if not env['HAVE_COCOA']:
print name + " must have X11 to be built"
Return()
files = [
"PadSimple.cpp",
]
padenv = env.Clone()
if padenv['HAVE_COCOA']:
compileFlags = [
'-x',
'objective-c++',
]
if padenv['HAVE_WX']:
files += [
"GUI/ConfigDlg.cpp",
]
if padenv['HAVE_COCOA']:
padenv.Append( CXXFLAGS = compileFlags,
LIBS = [ 'common' ])
else:
padenv.Append(LIBS = [ 'common', 'inputcommon' ])
padenv.SharedLibrary(env['plugin_dir']+name, files)