mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
0f4c4b6e1c
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@542 8ced0084-cf51-0410-be5f-012b33b47a6e
22 lines
391 B
Python
22 lines
391 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.Clone(
|
|
CCFLAGS = filterWarnings(env['CCFLAGS']),
|
|
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
|
|
)
|
|
env_bochs.StaticLibrary("bdisasm", files)
|