2009-01-14 23:48:15 -07:00
|
|
|
# -*- python -*-
|
2008-09-21 13:54:29 -06:00
|
|
|
|
2008-07-12 11:40:22 -06:00
|
|
|
Import('env')
|
2010-08-01 10:30:22 -06: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-08 18:36:59 -06:00
|
|
|
import sys
|
2010-08-01 10:30:22 -06:00
|
|
|
|
2011-01-23 14:28:04 -07:00
|
|
|
def createVersion(env, target, source):
|
|
|
|
from SconsTests import utils
|
|
|
|
utils.GenerateRevFile(env['flavor'], source[0].path, target[0].path)
|
|
|
|
|
2011-01-31 00:38:36 -07:00
|
|
|
Execute(Delete('svnrev.h'))
|
2011-01-23 14:28:04 -07:00
|
|
|
env.Command('svnrev.h', 'svnrev_template.h',
|
|
|
|
[Delete('${TARGET.srcpath}'), createVersion])
|
2008-07-12 11:40:22 -06:00
|
|
|
|
2008-08-26 16:28:42 -06:00
|
|
|
files = [
|
|
|
|
"ABI.cpp",
|
2009-06-28 06:15:31 -06:00
|
|
|
"BreakPoints.cpp",
|
2009-02-24 08:04:12 -07:00
|
|
|
"CDUtils.cpp",
|
2009-02-22 05:44:13 -07:00
|
|
|
"ColorUtil.cpp",
|
2009-03-18 11:17:58 -06:00
|
|
|
"ConsoleListener.cpp",
|
2008-08-26 16:28:42 -06:00
|
|
|
"CPUDetect.cpp",
|
2008-11-01 11:44:27 -06:00
|
|
|
"FileSearch.cpp",
|
2008-08-26 16:28:42 -06: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-08 18:36:59 -06:00
|
|
|
"Hash.cpp",
|
|
|
|
"IniFile.cpp",
|
2009-03-25 13:03:32 -06:00
|
|
|
"LogManager.cpp",
|
2008-08-26 16:28:42 -06: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-08 18:36:59 -06:00
|
|
|
"Misc.cpp",
|
|
|
|
"MsgHandler.cpp",
|
2010-09-05 22:36:58 -06:00
|
|
|
"NandPaths.cpp",
|
2009-04-22 11:03:46 -06:00
|
|
|
"SDCardUtil.cpp",
|
2008-08-26 16:28:42 -06:00
|
|
|
"StringUtil.cpp",
|
2009-06-21 03:35:31 -06:00
|
|
|
"SymbolDB.cpp",
|
2009-09-14 00:44:11 -06: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-08 18:36:59 -06:00
|
|
|
"Thread.cpp",
|
2008-08-26 16:28:42 -06:00
|
|
|
"Thunk.cpp",
|
|
|
|
"Timer.cpp",
|
2010-07-08 09:25:01 -06:00
|
|
|
"Version.cpp",
|
2011-02-08 04:02:34 -07:00
|
|
|
#"VideoBackendBase.cpp",
|
2008-08-26 16:28:42 -06:00
|
|
|
"x64Emitter.cpp",
|
|
|
|
"x64Analyzer.cpp",
|
2011-01-09 09:36:19 -07:00
|
|
|
"Crypto/aes_cbc.cpp",
|
|
|
|
"Crypto/aes_core.cpp",
|
2010-01-16 12:31:11 -07:00
|
|
|
"Crypto/bn.cpp",
|
|
|
|
"Crypto/ec.cpp",
|
|
|
|
"Crypto/md5.cpp",
|
|
|
|
"Crypto/sha1.cpp",
|
2008-08-26 16:28:42 -06: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-08 18:36:59 -06:00
|
|
|
if sys.platform == 'win32':
|
2010-06-03 12:49:35 -06: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-08 18:36:59 -06:00
|
|
|
files += [ "stdafx.cpp" ]
|
|
|
|
|
2011-02-03 18:02:06 -07:00
|
|
|
env['common'] = env.StaticObject(files)
|
2010-08-01 10:30:22 -06:00
|
|
|
env['CPPPATH'] += ['.']
|
2011-02-03 18:02:06 -07:00
|
|
|
env['LIBS'] += env['common']
|
2011-02-08 04:02:34 -07:00
|
|
|
env['LIBS'] += env.StaticObject('VideoBackendBase.cpp')
|