mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-14 18:19:12 +01:00
a2b1f829cb
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
44 lines
845 B
Python
44 lines
845 B
Python
# -*- 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',
|
|
'RasterFont.cpp',
|
|
'Renderer.cpp',
|
|
'SetupUnit.cpp',
|
|
'Statistics.cpp',
|
|
'Tev.cpp',
|
|
'TextureEncoder.cpp',
|
|
'TextureSampler.cpp',
|
|
'TransformUnit.cpp',
|
|
'VertexFormatConverter.cpp',
|
|
'VertexLoader.cpp',
|
|
'VideoConfig.cpp',
|
|
'XFMemLoader.cpp',
|
|
]
|
|
|
|
libs = [ 'videocommon', 'GLEW', 'SOIL', 'common' ]
|
|
|
|
if sys.platform == 'darwin' and not env['HAVE_WX']:
|
|
files += [ 'cocoaGL.m' ]
|
|
elif sys.platform == 'win32':
|
|
files += [ 'Win32.cpp' ]
|
|
|
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|