mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 09:30:20 +00:00
3e2419776f
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@591 8ced0084-cf51-0410-be5f-012b33b47a6e
22 lines
383 B
Python
22 lines
383 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
|
|
if not flag.startswith('-W')
|
|
)
|
|
env_bochs = env.Clone(
|
|
CCFLAGS = filterWarnings(env['CCFLAGS']),
|
|
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
|
|
)
|
|
env_bochs.StaticLibrary("bdisasm", files)
|