46 lines
903 B
Python
46 lines
903 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
|
|
files = [
|
|
'VideoConfig.cpp',
|
|
'BPMemory.cpp',
|
|
'CPMemory.cpp',
|
|
'XFMemory.cpp',
|
|
'XFStructs.cpp',
|
|
'BPStructs.cpp',
|
|
'CommandProcessor.cpp',
|
|
'PixelEngine.cpp',
|
|
'memcpy_amd.cpp',
|
|
'OpcodeDecoding.cpp',
|
|
'TextureDecoder.cpp',
|
|
'XFMemory.cpp',
|
|
'XFBConvert.cpp',
|
|
'IndexGenerator.cpp',
|
|
'PixelShaderGen.cpp',
|
|
'PixelShaderManager.cpp',
|
|
'VertexShaderGen.cpp',
|
|
'VertexShaderManager.cpp',
|
|
'VertexLoader.cpp',
|
|
'VertexLoader_Color.cpp',
|
|
'VertexLoader_Normal.cpp',
|
|
'VertexLoader_Position.cpp',
|
|
'VertexLoader_TextCoord.cpp',
|
|
'TextureConversionShader.cpp',
|
|
'ImageWrite.cpp',
|
|
'NativeVertexWriter.cpp',
|
|
'Statistics.cpp',
|
|
'Fifo.cpp',
|
|
'VideoState.cpp',
|
|
'Profiler.cpp',
|
|
'OnScreenDisplay.cpp',
|
|
'HiresTextures.cpp',
|
|
]
|
|
|
|
if env['HAVE_OPENCL']:
|
|
files += [
|
|
'OpenCL/OCLTextureDecoder.cpp',
|
|
]
|
|
|
|
env.StaticLibrary(env['local_libs'] + "videocommon", files)
|