mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Some pathnames are used both by SCons and cpp which can be a bit tricky.
Should revisit and make the distinction more explicit. Put the Data and Sys directories under Resources in the OS X app bundle. Construct config.h (now lower-case to avoid confusion with other Config.h instances in the tree) in the root. One tiny step towards a read-only and cross-buildable source tree. Some minor bits of non-Linux Unix portability. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5921 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -58,15 +58,15 @@ elif sys.platform == 'darwin' and not env['HAVE_WX']:
|
||||
elif sys.platform == 'darwin' and env['HAVE_WX']:
|
||||
exeGUI = env['binary_dir'] + 'Dolphin.app/Contents/MacOS/Dolphin'
|
||||
|
||||
env.Install(env['binary_dir'] + 'Dolphin.app/Contents/' +
|
||||
env.Install('#' + env['binary_dir'] + 'Dolphin.app/Contents/' +
|
||||
'Library/Frameworks/Cg.framework',
|
||||
'#Externals/Cg/Cg.framework/Cg')
|
||||
|
||||
env.Install(env['binary_dir'] + 'Dolphin.app/Contents/Resources/',
|
||||
env.Install('#' + env['binary_dir'] + 'Dolphin.app/Contents/Resources/',
|
||||
'#Source/Core/DolphinWX/resources/Dolphin.icns')
|
||||
|
||||
env.Plist(
|
||||
env['binary_dir'] + 'Dolphin.app/Contents/Info.plist',
|
||||
'#' + env['binary_dir'] + 'Dolphin.app/Contents/Info.plist',
|
||||
Value(dict(
|
||||
CFBundleExecutable = 'Dolphin',
|
||||
CFBundleIconFile = 'Dolphin.icns',
|
||||
@ -86,6 +86,6 @@ else:
|
||||
|
||||
if env['HAVE_WX']:
|
||||
env.StaticLibrary(env['local_libs'] + 'memcard', memcardfiles)
|
||||
env.Program(exeGUI, files, LIBS = env['LIBS'] + wxlibs + libs)
|
||||
env.Program('#' + exeGUI, files, LIBS = env['LIBS'] + wxlibs + libs)
|
||||
else:
|
||||
env.Program(exeNoGUI, files, LIBS = env['LIBS'] + libs)
|
||||
env.Program('#' + exeNoGUI, files, LIBS = env['LIBS'] + libs)
|
||||
|
Reference in New Issue
Block a user