mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
add cocoa in ogl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@976 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
62b49ea2d6
commit
a7be7689c1
5 changed files with 43 additions and 16 deletions
|
@ -13,9 +13,17 @@ files = [
|
|||
]
|
||||
|
||||
padenv = env.Clone()
|
||||
padenv.Append(
|
||||
CXXFLAGS = [ '-fPIC' ],
|
||||
LIBS = [ 'common' ],
|
||||
)
|
||||
if not env['osx64']:
|
||||
padenv.SharedLibrary(output, files)
|
||||
|
||||
if padenv['osx64']:
|
||||
padenv.Append(
|
||||
CXXFLAGS = [ '-arch', 'x86_64' ],
|
||||
LINKFLAGS = [ '-arch', 'x86_64' ],
|
||||
LIBS = [ 'common' ],
|
||||
)
|
||||
else:
|
||||
padenv.Append(
|
||||
CXXFLAGS = [ '-fPIC' ],
|
||||
LIBS = [ 'common' ],
|
||||
)
|
||||
|
||||
padenv.SharedLibrary(output, files)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#if !defined(OSX64)
|
||||
#include <wx/aboutdlg.h>
|
||||
#endif
|
||||
|
||||
#include "Common.h"
|
||||
#include "StringUtil.h"
|
||||
|
@ -145,11 +147,13 @@ extern "C" void GetDllInfo (PLUGIN_INFO* _PluginInfo)
|
|||
|
||||
extern "C" void DllAbout(HWND _hParent)
|
||||
{
|
||||
#if !defined(OSX64)
|
||||
wxAboutDialogInfo info;
|
||||
info.SetName(_T("Wiimote test plugin"));
|
||||
info.AddDeveloper(_T("masken (masken3@gmail.com)"));
|
||||
info.SetDescription(_T("Wiimote test plugin"));
|
||||
wxAboutBox(info);
|
||||
#endif
|
||||
}
|
||||
|
||||
extern "C" void DllConfig(HWND _hParent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue