2009-10-12 16:29:32 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
|
|
|
name = "Plugin_VideoSoftware"
|
|
|
|
|
|
|
|
files = [
|
|
|
|
'BPMemLoader.cpp',
|
|
|
|
'Clipper.cpp',
|
|
|
|
'CommandProcessor.cpp',
|
|
|
|
'CPMemLoader.cpp',
|
|
|
|
'DebugUtil.cpp',
|
|
|
|
'EfbCopy.cpp',
|
|
|
|
'EfbInterface.cpp',
|
|
|
|
'GLUtil.cpp',
|
|
|
|
'HwRasterizer.cpp',
|
|
|
|
'main.cpp',
|
|
|
|
'OpcodeDecoder.cpp',
|
|
|
|
'PixelEngine.cpp',
|
|
|
|
'Rasterizer.cpp',
|
2009-10-13 06:12:58 +00:00
|
|
|
'RasterFont.cpp',
|
2009-10-12 16:29:32 +00:00
|
|
|
'Renderer.cpp',
|
2010-07-16 21:56:40 +00:00
|
|
|
'SetupUnit.cpp',
|
|
|
|
'Statistics.cpp',
|
|
|
|
'Tev.cpp',
|
|
|
|
'TextureEncoder.cpp',
|
|
|
|
'TextureSampler.cpp',
|
|
|
|
'TransformUnit.cpp',
|
|
|
|
'VertexFormatConverter.cpp',
|
|
|
|
'VertexLoader.cpp',
|
|
|
|
'VideoConfig.cpp',
|
|
|
|
'XFMemLoader.cpp',
|
2009-10-12 16:29:32 +00:00
|
|
|
]
|
2010-07-16 21:56:40 +00:00
|
|
|
|
2010-07-19 03:42:37 +00:00
|
|
|
libs = [ 'videocommon', 'GLEW', 'SOIL', 'common' ]
|
2009-10-12 16:29:32 +00:00
|
|
|
|
2010-07-19 03:42:37 +00:00
|
|
|
if sys.platform == 'darwin' and not env['HAVE_WX']:
|
2010-07-17 23:36:03 +00:00
|
|
|
files += [ 'cocoaGL.m' ]
|
2010-07-19 03:42:37 +00:00
|
|
|
elif sys.platform == 'win32':
|
2010-07-16 21:56:40 +00:00
|
|
|
files += [ 'Win32.cpp' ]
|
2009-10-12 16:29:32 +00:00
|
|
|
|
2010-07-19 03:42:37 +00:00
|
|
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|