mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 23:41:19 +01:00
34d47aab78
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1810 8ced0084-cf51-0410-be5f-012b33b47a6e
30 lines
504 B
Python
30 lines
504 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
name = "Plugin_PadSimple"
|
|
|
|
if not (env['HAVE_X11'] or env['HAVE_WX']):
|
|
print name + " must have X11 or WX to be build"
|
|
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)
|