dolphin/Source/Core/Common/Src/SConscript
Soren Jorvang 39ae36398f Copy the version string obtained from svnversion at runtime instead of
using it as a constant in several places. Saves a few bytes and the time
it takes to recompile a bunch of files whenever svnversion twitches.

Using the SVN version string as an integer is not portable as the Unix
svnversion always includes e.g. the "M" suffix for a modified tree.

Windows people, please check my change to Plugin_VideoDX9/Src/main.cpp
as I don't really understand how _T() and the %hs format string work.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5852 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-08 15:25:01 +00:00

50 lines
852 B
Python

# -*- python -*-
Import('env')
import sys
files = [
"ABI.cpp",
"BreakPoints.cpp",
"CDUtils.cpp",
"ColorUtil.cpp",
"ConsoleListener.cpp",
"CPUDetect.cpp",
"DynamicLibrary.cpp",
"FileSearch.cpp",
"FileUtil.cpp",
"Hash.cpp",
"IniFile.cpp",
"LogManager.cpp",
"MathUtil.cpp",
"MemArena.cpp",
"MemoryUtil.cpp",
"Misc.cpp",
"MsgHandler.cpp",
"OpenCL.cpp",
"Plugin.cpp",
"PluginDSP.cpp",
"PluginWiimote.cpp",
"PluginVideo.cpp",
"SDCardUtil.cpp",
"StringUtil.cpp",
"SymbolDB.cpp",
"SysConf.cpp",
"Thread.cpp",
"Thunk.cpp",
"Timer.cpp",
"Thread.cpp",
"Version.cpp",
"x64Emitter.cpp",
"x64Analyzer.cpp",
"Crypto/bn.cpp",
"Crypto/ec.cpp",
"Crypto/md5.cpp",
"Crypto/sha1.cpp",
]
if sys.platform == 'win32':
files += [ "ExtendedTrace.cpp" ]
files += [ "stdafx.cpp" ]
env.StaticLibrary(env['local_libs'] + "common", files)