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