Virtual base classes should have a virtual destructor.

Build a libdolphinwx. Just fooling around with LTO..


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6981 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-01-30 01:58:54 +00:00
parent 25af2ae9b8
commit f57cfc7c6f
11 changed files with 19 additions and 25 deletions

View File

@ -5,9 +5,7 @@ import os
import sys
from SconsTests import utils
files = [
'BootManager.cpp',
]
files = ['BootManager.cpp']
libs = [
'core',
@ -19,8 +17,12 @@ wxlibs = [ ]
ldflags = [ ]
if env['HAVE_WX']:
files += [
if not env['HAVE_WX']:
files += ['MainNoGUI.cpp']
else:
files += ['Main.cpp']
libfiles = [
'AboutDolphin.cpp',
'ARCodeAddEdit.cpp',
'GeckoCodeDiag.cpp',
@ -38,7 +40,6 @@ if env['HAVE_WX']:
'ISOProperties.cpp',
'PatchAddEdit.cpp',
'CheatsWindow.cpp',
'Main.cpp',
'MemcardManager.cpp',
'MemoryCards/GCMemcard.cpp',
'MemoryCards/WiiSaveCrypted.cpp',
@ -52,11 +53,9 @@ if env['HAVE_WX']:
'WxUtils.cpp',
]
wxlibs += [ 'debwx', 'debugger_ui_util' ]
else:
files += [
'MainNoGUI.cpp',
]
env.StaticLibrary(env['local_libs'] + "dolphinwx", libfiles)
wxlibs += ['debwx', 'debugger_ui_util', 'dolphinwx']
if sys.platform == 'win32':
files += [ "stdafx.cpp" ]