2008-07-12 17:40:22 +00:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = ["Common.cpp",
|
|
|
|
"CPUDetect.cpp",
|
|
|
|
"DynamicLibrary.cpp",
|
|
|
|
"Hash.cpp",
|
|
|
|
"HTTP.cpp",
|
|
|
|
"IniFile.cpp",
|
|
|
|
"Logging.cpp",
|
2008-07-20 11:02:41 +00:00
|
|
|
"FileUtil.cpp",
|
2008-07-12 17:40:22 +00:00
|
|
|
"MappedFile.cpp",
|
|
|
|
"MathUtil.cpp",
|
|
|
|
"MemArena.cpp",
|
|
|
|
"MemoryUtil.cpp",
|
|
|
|
"Plugin.cpp",
|
|
|
|
"PortableSockets.cpp",
|
|
|
|
"StringUtil.cpp",
|
|
|
|
"TestFramework.cpp",
|
|
|
|
"Timer.cpp",
|
|
|
|
"Thread.cpp",
|
|
|
|
"x64Emitter.cpp",
|
|
|
|
"x64Analyzer.cpp",
|
|
|
|
]
|
2008-07-23 08:49:58 +00:00
|
|
|
|
|
|
|
env_common = env.Copy()
|
|
|
|
env_common.Append(CXXFLAGS = " -fPIC ")
|
2008-07-12 17:40:22 +00:00
|
|
|
env_common.StaticLibrary("common", files)
|