dolphin/Source/Plugins/Plugin_PadSimple/Src/SConscript
XTra.KrazzY fa3c6c1247 scons fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1811 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:18:06 +00:00

30 lines
478 B
Python

# -*- python -*-
Import('env')
import sys
name = "Plugin_PadSimple"
if not env['HAVE_X11']:
print name + " must have X11 to be built"
Return()
if env['GLTEST']:
print name + " Doesn't work with testgl"
Return()
files = [
"PadSimple.cpp",
]
padenv = env.Clone()
if padenv['HAVE_WX']:
files += [
"GUI/ConfigDlg.cpp",
"XInputBase.cpp",
]
padenv.Append(LIBS = [ 'common' ])
padenv.SharedLibrary(env['plugin_dir']+name, files)