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
|
|
|
|
2009-10-12 16:29:32 +00:00
|
|
|
libs = [
|
2010-07-16 19:17:35 +00:00
|
|
|
'videocommon', 'GLEW', 'SOIL', 'common'
|
2009-10-12 16:29:32 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
gfxenv = env.Clone()
|
|
|
|
|
2010-07-17 23:36:03 +00:00
|
|
|
if sys.platform == 'darwin' and not gfxenv['HAVE_WX']:
|
|
|
|
files += [ 'cocoaGL.m' ]
|
2010-06-04 04:59:07 +00:00
|
|
|
|
2009-10-12 16:29:32 +00:00
|
|
|
if sys.platform == 'win32':
|
2010-07-16 21:56:40 +00:00
|
|
|
files += [ 'Win32.cpp' ]
|
|
|
|
libs += [ env['base_dir'] + '/Externals/Cg/' ]
|
2009-10-12 16:29:32 +00:00
|
|
|
gfxenv['CPPPATH'] += libs
|
|
|
|
|
|
|
|
gfxenv.SharedLibrary(
|
|
|
|
env['plugin_dir']+name,
|
|
|
|
files,
|
|
|
|
LIBS = libs + gfxenv['LIBS']
|
|
|
|
)
|