2009-10-12 16:29:32 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
2010-07-24 17:39:17 +00:00
|
|
|
import os
|
2009-10-12 16:29:32 +00:00
|
|
|
import sys
|
|
|
|
|
2010-07-24 17:39:17 +00:00
|
|
|
name = os.sep + "Plugin_VideoSoftware"
|
2009-10-12 16:29:32 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2011-01-09 14:09:27 +00:00
|
|
|
if env['HAVE_WX']:
|
|
|
|
files += [ 'VideoConfigDialog.cpp' ]
|
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
|
|
|
|
2011-01-09 14:09:27 +00:00
|
|
|
libs = [ 'videocommon', 'GLEW', 'SOIL', 'common' ]
|
|
|
|
|
2010-07-20 04:19:25 +00:00
|
|
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|