first step to get cocoa events

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1857 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-01-12 20:52:45 +00:00
parent d9511addf3
commit a255ea66cf
7 changed files with 114 additions and 56 deletions

View File

@ -6,18 +6,27 @@ import sys
name = "Plugin_PadSimple"
if not env['HAVE_X11']:
print name + " must have X11 to be built"
Return()
if not env['HAVE_COCOA']:
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_COCOA']:
compileFlags = [
'-x',
'objective-c++',
]
if padenv['HAVE_WX']:
files += [
"GUI/ConfigDlg.cpp",