Build with -msse3 on OS X. The first Intel Macs were Core Duo/Solo, which
had SSE3. Keep -msse2 on other platforms. Not sure if there are actually any Dolphin-capable machines out there without SSE3, but.. Use -search_paths_first to give our statically linked libraries precedence over /usr/local/lib. Some work-in-progress changes to facilitate a more easily redistributable application bundle on OS X. Group compiler/preprocessor/linker flags together to make the full set more intuitively apparent. The various libraries in Externals have rather inconsistent conventions for include paths. Best to encapsulate that knowledge in foo/SConscript. Re-use utils.GenerateRevFile for all three places in the build system where we need the SVN revision number. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6030 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
fad075351c
commit
52d3137598
14 files changed
+209
-209
No files matched your search
Vendored
+5
-5
@@ -3,11 +3,10 @@
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
if (sys.platform == 'linux2' and not env['HAVE_BLUEZ']) or \
|
||||
(not sys.platform == 'darwin' and
|
||||
not sys.platform == 'linux2' and
|
||||
not sys.platform == 'win32'):
|
||||
env['HAVE_WIIUSE'] = 0
|
||||
env['HAVE_WIIUSE'] = 0
|
||||
|
||||
if not sys.platform == 'darwin' and not sys.platform == 'win32' and \
|
||||
not (sys.platform == 'linux2' and env['HAVE_BLUEZ']):
|
||||
Return()
|
||||
|
||||
env['HAVE_WIIUSE'] = 1
|
||||
@@ -25,3 +24,4 @@ elif sys.platform == 'win32':
|
||||
files += [ "io_win.c" ]
|
||||
|
||||
env.StaticLibrary(env['local_libs'] + "wiiuse", files)
|
||||
env['CPPPATH'] += ['#Externals/WiiUse/Src']
|
||||
Reference in new issue
Block a user