mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 09:30:20 +00:00
411b81088b
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@343 8ced0084-cf51-0410-be5f-012b33b47a6e
22 lines
390 B
Python
22 lines
390 B
Python
Import('env')
|
|
|
|
files = [
|
|
"dis_decode.cpp",
|
|
"dis_groups.cpp",
|
|
"resolve.cpp",
|
|
"syntax.cpp",
|
|
"PowerPCDisasm.cpp",
|
|
]
|
|
|
|
def filterWarnings(flags):
|
|
return ' '.join(
|
|
flag
|
|
for flag in flags.split()
|
|
if not flag.startswith('-W')
|
|
)
|
|
env_bochs = env.Copy(
|
|
CCFLAGS = filterWarnings(env['CCFLAGS']),
|
|
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
|
|
)
|
|
env_bochs.StaticLibrary("bdisasm", files)
|