mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
e4f9b6a5f8
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6150 8ced0084-cf51-0410-be5f-012b33b47a6e
42 lines
825 B
Python
42 lines
825 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import os
|
|
import sys
|
|
|
|
name = os.sep + "Plugin_VideoOGL"
|
|
|
|
files = [
|
|
'BPFunctions.cpp',
|
|
'RasterFont.cpp',
|
|
'Render.cpp',
|
|
'TextureMngr.cpp',
|
|
'NativeVertexFormat.cpp',
|
|
'PixelShaderCache.cpp',
|
|
'VertexShaderCache.cpp',
|
|
'TextureConverter.cpp',
|
|
'VertexManager.cpp',
|
|
'XFB.cpp',
|
|
'PostProcessing.cpp',
|
|
'FramebufferManager.cpp',
|
|
'main.cpp',
|
|
'GLUtil.cpp'
|
|
]
|
|
|
|
libs = [ 'videocommon', 'GLEW', 'SOIL', 'common' ]
|
|
|
|
if env['HAVE_WX']:
|
|
files += [
|
|
'GUI/ConfigDlg.cpp',
|
|
'Debugger/Debugger.cpp',
|
|
]
|
|
|
|
if sys.platform == 'darwin' and not env['HAVE_WX']:
|
|
files += [ 'cocoaGL.m' ]
|
|
elif sys.platform == 'win32':
|
|
files += [ 'OS/Win32.cpp' ]
|
|
elif not sys.platform == 'darwin' and env['HAVE_OPENCL']:
|
|
libs += [ 'OpenCL' ]
|
|
|
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|