mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
f0bba97070
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4644 8ced0084-cf51-0410-be5f-012b33b47a6e
50 lines
990 B
Python
50 lines
990 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',
|
|
]
|
|
|
|
|
|
env_vcommon = env.Clone()
|
|
|
|
if env_vcommon['HAVE_OPENCL']:
|
|
files += [
|
|
'OpenCL/OCLTextureDecoder.cpp',
|
|
]
|
|
|
|
env_vcommon.Append(CXXFLAGS = [ '-fPIC' ])
|
|
env_vcommon.StaticLibrary(env['local_libs'] + "videocommon", files)
|