2009-01-15 08:48:15 +02:00
|
|
|
# -*- python -*-
|
2008-09-21 22:54:29 +03:00
|
|
|
|
2008-07-12 20:40:22 +03:00
|
|
|
Import('env')
|
2010-08-01 19:30:22 +03:00
|
|
|
import os
|
Some scons updates,
windows scons will build if dirs =
'Externals/Bochs_disasm',
'Externals/LZO',
'Externals/WiiUseSrc/Src',
#'Source/Core/Common/Src',
#'Source/Core/Core/Src',
# 'Source/Core/DiscIO/Src',
# 'Source/Core/VideoCommon/Src',
#'Source/Core/InputCommon/Src',
'Source/Plugins/Plugin_VideoOGL/Src',
#'Source/Plugins/Plugin_DSP_HLE/Src',
'Source/Plugins/Plugin_DSP_LLE/Src',
'Source/Plugins/Plugin_PadSimple/Src',
'Source/Plugins/Plugin_PadSimpleEvnt/Src',
# 'Source/Plugins/Plugin_nJoy_SDL/Src',
#'Source/Plugins/Plugin_nJoy_Testing/Src',
#'Source/Plugins/Plugin_Wiimote/Src',
# 'Source/Core/DolphinWX/Src',
'Source/Core/DebuggerWX/Src',
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 02:36:59 +02:00
|
|
|
import sys
|
2010-08-01 19:30:22 +03:00
|
|
|
from SconsTests import utils
|
|
|
|
|
|
|
|
utils.GenerateRevFile(env['flavor'], Dir('#Source/Core/Common/Src').abspath +
|
|
|
|
os.sep + 'svnrev_template.h', 'svnrev.h')
|
2008-07-12 20:40:22 +03:00
|
|
|
|
2008-08-27 01:28:42 +03:00
|
|
|
files = [
|
|
|
|
"ABI.cpp",
|
2009-06-28 15:15:31 +03:00
|
|
|
"BreakPoints.cpp",
|
2009-02-24 17:04:12 +02:00
|
|
|
"CDUtils.cpp",
|
2009-02-22 14:44:13 +02:00
|
|
|
"ColorUtil.cpp",
|
2009-03-18 19:17:58 +02:00
|
|
|
"ConsoleListener.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
"CPUDetect.cpp",
|
|
|
|
"DynamicLibrary.cpp",
|
2008-11-01 19:44:27 +02:00
|
|
|
"FileSearch.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
"FileUtil.cpp",
|
Some scons updates,
windows scons will build if dirs =
'Externals/Bochs_disasm',
'Externals/LZO',
'Externals/WiiUseSrc/Src',
#'Source/Core/Common/Src',
#'Source/Core/Core/Src',
# 'Source/Core/DiscIO/Src',
# 'Source/Core/VideoCommon/Src',
#'Source/Core/InputCommon/Src',
'Source/Plugins/Plugin_VideoOGL/Src',
#'Source/Plugins/Plugin_DSP_HLE/Src',
'Source/Plugins/Plugin_DSP_LLE/Src',
'Source/Plugins/Plugin_PadSimple/Src',
'Source/Plugins/Plugin_PadSimpleEvnt/Src',
# 'Source/Plugins/Plugin_nJoy_SDL/Src',
#'Source/Plugins/Plugin_nJoy_Testing/Src',
#'Source/Plugins/Plugin_Wiimote/Src',
# 'Source/Core/DolphinWX/Src',
'Source/Core/DebuggerWX/Src',
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 02:36:59 +02:00
|
|
|
"Hash.cpp",
|
|
|
|
"IniFile.cpp",
|
2009-03-25 21:03:32 +02:00
|
|
|
"LogManager.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
"MathUtil.cpp",
|
|
|
|
"MemArena.cpp",
|
|
|
|
"MemoryUtil.cpp",
|
Some scons updates,
windows scons will build if dirs =
'Externals/Bochs_disasm',
'Externals/LZO',
'Externals/WiiUseSrc/Src',
#'Source/Core/Common/Src',
#'Source/Core/Core/Src',
# 'Source/Core/DiscIO/Src',
# 'Source/Core/VideoCommon/Src',
#'Source/Core/InputCommon/Src',
'Source/Plugins/Plugin_VideoOGL/Src',
#'Source/Plugins/Plugin_DSP_HLE/Src',
'Source/Plugins/Plugin_DSP_LLE/Src',
'Source/Plugins/Plugin_PadSimple/Src',
'Source/Plugins/Plugin_PadSimpleEvnt/Src',
# 'Source/Plugins/Plugin_nJoy_SDL/Src',
#'Source/Plugins/Plugin_nJoy_Testing/Src',
#'Source/Plugins/Plugin_Wiimote/Src',
# 'Source/Core/DolphinWX/Src',
'Source/Core/DebuggerWX/Src',
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 02:36:59 +02:00
|
|
|
"Misc.cpp",
|
|
|
|
"MsgHandler.cpp",
|
2010-09-06 07:36:58 +03:00
|
|
|
"NandPaths.cpp",
|
2009-10-07 05:48:21 +03:00
|
|
|
"OpenCL.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
"Plugin.cpp",
|
2009-02-01 16:21:08 +02:00
|
|
|
"PluginDSP.cpp",
|
|
|
|
"PluginVideo.cpp",
|
2009-04-22 20:03:46 +03:00
|
|
|
"SDCardUtil.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
"StringUtil.cpp",
|
2009-06-21 12:35:31 +03:00
|
|
|
"SymbolDB.cpp",
|
2009-09-14 09:44:11 +03:00
|
|
|
"SysConf.cpp",
|
Some scons updates,
windows scons will build if dirs =
'Externals/Bochs_disasm',
'Externals/LZO',
'Externals/WiiUseSrc/Src',
#'Source/Core/Common/Src',
#'Source/Core/Core/Src',
# 'Source/Core/DiscIO/Src',
# 'Source/Core/VideoCommon/Src',
#'Source/Core/InputCommon/Src',
'Source/Plugins/Plugin_VideoOGL/Src',
#'Source/Plugins/Plugin_DSP_HLE/Src',
'Source/Plugins/Plugin_DSP_LLE/Src',
'Source/Plugins/Plugin_PadSimple/Src',
'Source/Plugins/Plugin_PadSimpleEvnt/Src',
# 'Source/Plugins/Plugin_nJoy_SDL/Src',
#'Source/Plugins/Plugin_nJoy_Testing/Src',
#'Source/Plugins/Plugin_Wiimote/Src',
# 'Source/Core/DolphinWX/Src',
'Source/Core/DebuggerWX/Src',
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 02:36:59 +02:00
|
|
|
"Thread.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
"Thunk.cpp",
|
|
|
|
"Timer.cpp",
|
|
|
|
"Thread.cpp",
|
2010-07-08 18:25:01 +03:00
|
|
|
"Version.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
"x64Emitter.cpp",
|
|
|
|
"x64Analyzer.cpp",
|
2010-01-16 21:31:11 +02:00
|
|
|
"Crypto/bn.cpp",
|
|
|
|
"Crypto/ec.cpp",
|
|
|
|
"Crypto/md5.cpp",
|
|
|
|
"Crypto/sha1.cpp",
|
2008-08-27 01:28:42 +03:00
|
|
|
]
|
|
|
|
|
Some scons updates,
windows scons will build if dirs =
'Externals/Bochs_disasm',
'Externals/LZO',
'Externals/WiiUseSrc/Src',
#'Source/Core/Common/Src',
#'Source/Core/Core/Src',
# 'Source/Core/DiscIO/Src',
# 'Source/Core/VideoCommon/Src',
#'Source/Core/InputCommon/Src',
'Source/Plugins/Plugin_VideoOGL/Src',
#'Source/Plugins/Plugin_DSP_HLE/Src',
'Source/Plugins/Plugin_DSP_LLE/Src',
'Source/Plugins/Plugin_PadSimple/Src',
'Source/Plugins/Plugin_PadSimpleEvnt/Src',
# 'Source/Plugins/Plugin_nJoy_SDL/Src',
#'Source/Plugins/Plugin_nJoy_Testing/Src',
#'Source/Plugins/Plugin_Wiimote/Src',
# 'Source/Core/DolphinWX/Src',
'Source/Core/DebuggerWX/Src',
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 02:36:59 +02:00
|
|
|
if sys.platform == 'win32':
|
2010-06-03 21:49:35 +03:00
|
|
|
files += [ "ExtendedTrace.cpp" ]
|
Some scons updates,
windows scons will build if dirs =
'Externals/Bochs_disasm',
'Externals/LZO',
'Externals/WiiUseSrc/Src',
#'Source/Core/Common/Src',
#'Source/Core/Core/Src',
# 'Source/Core/DiscIO/Src',
# 'Source/Core/VideoCommon/Src',
#'Source/Core/InputCommon/Src',
'Source/Plugins/Plugin_VideoOGL/Src',
#'Source/Plugins/Plugin_DSP_HLE/Src',
'Source/Plugins/Plugin_DSP_LLE/Src',
'Source/Plugins/Plugin_PadSimple/Src',
'Source/Plugins/Plugin_PadSimpleEvnt/Src',
# 'Source/Plugins/Plugin_nJoy_SDL/Src',
#'Source/Plugins/Plugin_nJoy_Testing/Src',
#'Source/Plugins/Plugin_Wiimote/Src',
# 'Source/Core/DolphinWX/Src',
'Source/Core/DebuggerWX/Src',
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 02:36:59 +02:00
|
|
|
files += [ "stdafx.cpp" ]
|
|
|
|
|
2010-06-10 17:18:21 +03:00
|
|
|
env.StaticLibrary(env['local_libs'] + "common", files)
|
2010-08-01 19:30:22 +03:00
|
|
|
env['CPPPATH'] += ['.']
|