dolphin/Source/Plugins/Plugin_PadSimpleEvnt/Src/SConscript

30 lines
478 B
Python
Raw Normal View History

# -*- python -*-
Import('env')
import sys
name = "Plugin_PadSimple"
if not env['HAVE_X11']:
print name + " must have X11 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)