dolphin/Source/Plugins/Plugin_PadSimple/Src/SConscript

32 lines
496 B
Python

# -*- python -*-
Import('env')
import sys
name = "Plugin_PadSimple"
if not env['HAVE_X11']:
print name + " must have X11 to be build"
Return()
files = [
"PadSimple.cpp",
]
padenv = env.Clone()
if not padenv['osx64']:
files += [
"GUI/ConfigDlg.cpp",
"XInputBase.cpp",
]
padenv.Append(LIBS = [ 'common' ])
if padenv['osx64']:
padenv.Append(
CXXFLAGS = [ '-arch', 'x86_64' ],
LINKFLAGS = [ '-arch', 'x86_64' ],
)
padenv.SharedLibrary(env['plugin_dir']+name, files)