summaryrefslogtreecommitdiff
path: root/Source/Core/Common/SConscript
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-03-03 19:44:56 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-03-03 19:44:56 +0000
commit05719ac81ab1e784c7aeb85af1e9b227b9cdbe83 (patch)
tree027c8f2c6749972d41787e1180ff01fab3c0fd5c /Source/Core/Common/SConscript
parent1e2d9223429e8bc52dab71fb2033f60dd72dea40 (diff)
Move SConscript files out from the Src subdirectories to be
consistent with the other build systems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/SConscript')
-rw-r--r--Source/Core/Common/SConscript57
1 files changed, 57 insertions, 0 deletions
diff --git a/Source/Core/Common/SConscript b/Source/Core/Common/SConscript
new file mode 100644
index 0000000000..0515186ff8
--- /dev/null
+++ b/Source/Core/Common/SConscript
@@ -0,0 +1,57 @@
+# -*- python -*-
+
+Import('env')
+import os
+import sys
+
+def createVersion(env, target, source):
+ from SconsTests import utils
+ utils.GenerateRevFile(env['flavor'], source[0].path, target[0].path)
+
+Execute(Delete('Src/svnrev.h'))
+env.Command('Src/svnrev.h', 'Src/svnrev_template.h',
+ [Delete('${TARGET.srcpath}'), createVersion])
+
+files = [
+ 'Src/ABI.cpp',
+ 'Src/BreakPoints.cpp',
+ 'Src/CDUtils.cpp',
+ 'Src/CPUDetect.cpp',
+ 'Src/ColorUtil.cpp',
+ 'Src/ConsoleListener.cpp',
+ 'Src/Crypto/aes_cbc.cpp',
+ 'Src/Crypto/aes_core.cpp',
+ 'Src/Crypto/bn.cpp',
+ 'Src/Crypto/ec.cpp',
+ 'Src/Crypto/md5.cpp',
+ 'Src/Crypto/sha1.cpp',
+ 'Src/FileSearch.cpp',
+ 'Src/FileUtil.cpp',
+ 'Src/Hash.cpp',
+ 'Src/IniFile.cpp',
+ 'Src/LogManager.cpp',
+ 'Src/MathUtil.cpp',
+ 'Src/MemArena.cpp',
+ 'Src/MemoryUtil.cpp',
+ 'Src/Misc.cpp',
+ 'Src/MsgHandler.cpp',
+ 'Src/NandPaths.cpp',
+ 'Src/SDCardUtil.cpp',
+ 'Src/StringUtil.cpp',
+ 'Src/SymbolDB.cpp',
+ 'Src/SysConf.cpp',
+ 'Src/Thread.cpp',
+ 'Src/Thunk.cpp',
+ 'Src/Timer.cpp',
+ 'Src/Version.cpp',
+ 'Src/VideoBackendBase.cpp',
+ 'Src/x64Analyzer.cpp',
+ 'Src/x64Emitter.cpp',
+ ]
+
+if sys.platform == 'win32':
+ files += ['Src/ExtendedTrace.cpp']
+ files += ['Src/stdafx.cpp']
+
+env['CPPPATH'] += ['Src']
+env['LIBS'] += env.StaticLibrary('common', files)