mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Scons build scripts to compile standalone memcard manager on linux
can probably be cleaned up more, and may compile on osx with a few modifications git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3998 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
55
Externals/Memcard Manager/SConscript
vendored
Normal file
55
Externals/Memcard Manager/SConscript
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import sys
|
||||
wxenv = env.Clone()
|
||||
|
||||
files = [
|
||||
]
|
||||
|
||||
libs = [
|
||||
'common',
|
||||
]
|
||||
|
||||
if wxenv['HAVE_WX']:
|
||||
files += [
|
||||
'Externals/Memcard Manager/src/mcmMain.cpp',
|
||||
'Externals/Memcard Manager/src/MCMdebug.cpp',
|
||||
'Source/Core/DolphinWX/Src/MemcardManager.cpp',
|
||||
'Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp',
|
||||
'Source/Core/DolphinWX/Src/WxUtils.cpp',
|
||||
]
|
||||
|
||||
|
||||
if wxenv['HAVE_COCOA']:
|
||||
files += [ 'cocoaApp.m', ]
|
||||
compileFlags = [
|
||||
'-x',
|
||||
'objective-c++',
|
||||
]
|
||||
wxenv.Append(
|
||||
CXXFLAGS = compileFlags,
|
||||
LINKFLAGS = [
|
||||
'-pthread',
|
||||
],
|
||||
LIBS = libs
|
||||
)
|
||||
if not wxenv['HAVE_WX']:
|
||||
wxenv.Append(
|
||||
LINKFLAGS = ['-framework', 'IOKit'])
|
||||
else:
|
||||
wxenv.Append(
|
||||
LINKFLAGS = [
|
||||
'-pthread',
|
||||
],
|
||||
LIBS = libs
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
exeGUI = env['binary_dir'] + 'Memcard Manager'
|
||||
|
||||
#objects = [ wxenv.Object(srcFile) for srcFile in files ]
|
||||
|
||||
wxenv.Program(exeGUI, files)
|
Reference in New Issue
Block a user